Lably
Skip to content

Maximally stable extremal regions

Blob detection technique

  • 9 min read
  • 7 chapters

Related on Lably

Through Computer vision, If and only if and Data structure

Terms and definitions

Image I is a mapping I:D⊂Z2→S. Extremal regions are well defined on images if:

  1. S is totally ordered (total, antisymmetric and transitive binary relations ≤ exist).
  2. An adjacency relation A⊂D×D is defined. We will denote that two points are adjacent as pAq.

Region Q is a contiguous (aka connected) subset of D. (For each p,q∈Q there is a sequence p,a1,a2,..,an,q such as pAa1,a1Aa2,…,an−1Aan,anAq.) Note that under this definition the region can contain "holes" (for example, a ring-shaped region is connected, but its internal circle is not the part of Q).

(Outer) region boundary ∂Q={q∈D∖Q:∃p∈Q:qAp}, which means the boundary ∂Q of Q is the set of pixels adjacent to at least one pixel of Q but not belonging to Q. Again, in case of regions with "holes", the region boundary is not obliged to be connected subset of D (a ring has inner bound and outer bound which do not intersect).

Extremal region Q⊂D is a region such that either for all p∈Q,q∈∂Q:I(p)>I(q) (maximum intensity region) or for all p∈Q,q∈∂Q:I(p)<I(q) (minimum intensity region). As far as S is totally ordered, we can reformulate these conditions as min(I(p))>max(I(q)) for maximum intensity region and max(I(p))<min(I(q)) for minimum intensity region, respectively. In this form we can use a notion of a threshold intensity value which separates the region and its boundary.

Maximally stable extremal region Let Qi be an extremal region such that all points on it have an intensity smaller than i∈S. Note Qi⊂Qi+Δ for all positive Δ∈S. Extremal region Qi∗ is maximally stable if and only if |Qi+Δ∖Qi−Δ||Qi| has a local minimum at i∗. (Here |⋅| denotes cardinality). Δ∈S is here a parameter of the method.

The equation checks for regions that remain stable over a certain number of thresholds. If a region Qi+Δ is not significantly larger than a region Qi−Δ, region Qi is taken as a maximally stable region.

The concept more simply can be explained by thresholding. All the pixels below a given threshold are 'black' and all those above or equal are 'white'. Given a source image, if a sequence of thresholded result images It is generated where each image t corresponds to an increasing threshold t, first a white image would be seen, then 'black' spots corresponding to local intensity minima will appear then grow larger. A maximally stable extremal region is found when size of one of these black areas is the same (or near the same) than in previous image.

These 'black' spots will eventually merge, until the whole image is black. The set of all connected components in the sequence is the set of all extremal regions. In that sense, the concept of MSER is linked to the one of component tree of the image. The component tree indeed provide an easy way for implementing MSER.


Extremal regions

Extremal regions in this context have two important properties, that the set is closed under...

  1. continuous transformation of image coordinates. This means it is affine invariant and it doesn't matter if the image is warped or skewed.
  2. monotonic transformation of image intensities. The approach is of course sensitive to natural lighting effects as change of day light or moving shadows.

Sign in to keep reading

6 more chapters are free with a Lably account.

More in Robotics