Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lernen Corner and Blob Detection | Image Processing with OpenCV
Computer Vision Essentials

Swipe um das Menü anzuzeigen

book
Corner and Blob Detection

Corner Detection

Corner detection is used to identify sharp changes in intensity where two edges meet. It helps in feature matching, object tracking, and structure recognition.

Popular Methods:

  • Harris corner detector (cv2.cornerHarris): detects corners based on gradient changes;

  • Shi-Tomasi corner detector (cv2.goodFeaturesToTrack): selects the strongest corners in an image;

Blob Detection

Blob detection finds regions of similar intensity in an image, useful for object detection and tracking.

One of the popular methods for blob detection is SimpleBlobDetector

  • cv2.SimpleBlobDetector: detects keypoints representing blobs based on size, shape, and intensity.

Aufgabe

Swipe to start coding

You are given the images of factory (factory) and sunflowers (sunflowers):

  • Convert factory image to grayscale and store in gray_factory variable;
  • Convert sunflowers image to grayscale and store in gray_sunflowers variable;
  • It is necessary for Harris Detector to convert image matrix to float32, do it and store in gray_float;
  • Apply Harris corner detection and store in harris_corners (recommended parameters blockSize=2, ksize=3, k=0.04);
  • Use dilate() to improve visibility of harris_corners;
  • Apply Shi-Tomasi corner detection to image and store in shi_tomasi_corners (recommended parameters gray_factory, maxCorners=100, qualityLevel=0.01, minDistance=10)
  • Create SimpleBlobDetector_Params object to initialize the parameters and store in params;
  • Create a blob detector with specified parameters and store in detector;
  • Detect blob keypoints and store in keypoints.

Lösung

Switch to desktopWechseln Sie zum Desktop, um in der realen Welt zu übenFahren Sie dort fort, wo Sie sind, indem Sie eine der folgenden Optionen verwenden
War alles klar?

Wie können wir es verbessern?

Danke für Ihr Feedback!

Abschnitt 2. Kapitel 8
Wir sind enttäuscht, dass etwas schief gelaufen ist. Was ist passiert?

Fragen Sie AI

expand
ChatGPT

Fragen Sie alles oder probieren Sie eine der vorgeschlagenen Fragen, um unser Gespräch zu beginnen

book
Corner and Blob Detection

Corner Detection

Corner detection is used to identify sharp changes in intensity where two edges meet. It helps in feature matching, object tracking, and structure recognition.

Popular Methods:

  • Harris corner detector (cv2.cornerHarris): detects corners based on gradient changes;

  • Shi-Tomasi corner detector (cv2.goodFeaturesToTrack): selects the strongest corners in an image;

Blob Detection

Blob detection finds regions of similar intensity in an image, useful for object detection and tracking.

One of the popular methods for blob detection is SimpleBlobDetector

  • cv2.SimpleBlobDetector: detects keypoints representing blobs based on size, shape, and intensity.

Aufgabe

Swipe to start coding

You are given the images of factory (factory) and sunflowers (sunflowers):

  • Convert factory image to grayscale and store in gray_factory variable;
  • Convert sunflowers image to grayscale and store in gray_sunflowers variable;
  • It is necessary for Harris Detector to convert image matrix to float32, do it and store in gray_float;
  • Apply Harris corner detection and store in harris_corners (recommended parameters blockSize=2, ksize=3, k=0.04);
  • Use dilate() to improve visibility of harris_corners;
  • Apply Shi-Tomasi corner detection to image and store in shi_tomasi_corners (recommended parameters gray_factory, maxCorners=100, qualityLevel=0.01, minDistance=10)
  • Create SimpleBlobDetector_Params object to initialize the parameters and store in params;
  • Create a blob detector with specified parameters and store in detector;
  • Detect blob keypoints and store in keypoints.

Lösung

Switch to desktopWechseln Sie zum Desktop, um in der realen Welt zu übenFahren Sie dort fort, wo Sie sind, indem Sie eine der folgenden Optionen verwenden
War alles klar?

Wie können wir es verbessern?

Danke für Ihr Feedback!

Abschnitt 2. Kapitel 8
Switch to desktopWechseln Sie zum Desktop, um in der realen Welt zu übenFahren Sie dort fort, wo Sie sind, indem Sie eine der folgenden Optionen verwenden
Wir sind enttäuscht, dass etwas schief gelaufen ist. Was ist passiert?
some-alt