O'Reilly logo

Learn OpenCV 4 by Building Projects - Second Edition by Prateek Joshi, Vinicius G. Mendonca, David Millan Escriva

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Extremal regions

Extremal regions are connected areas that are characterized by almost uniform intensity, which is surrounded by a contrasted background. The stability of a region can be measured by calculating how resistant to thresholding variance the region is. This variance can be measured with a simple algorithm:

  1. Apply the threshold, generating an image, A. Detect its connected pixels regions (extremal regions).
  2. Increase the threshold by a delta amount, generating an image, B. Detect its connected pixels regions (extremal regions).
  3. Compare image B with A. If a region in image A is similar to the same region in image B, add it to the same branch in the tree. The criteria of similarity may vary from implementation to implementation, but ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required