java.lang.Object
imagingbook.common.mser.MserDetector
Performs "Maximally Stable Extremal Region" (MSER) detection [1] on gray-scale images. See Chapter 26 of [2] for more
details. The constructor sets up the complete component tree for the specified image but does not perform feature
detection itself, which is done by calling getMserFeatures()
.
[1] J. Matas, O. Chum, M. Urban, and T. Pajdla. Robust widebaseline stereo from maximally stable extremal regions.
Image and Vision Computing 22(10), 761–767 (2004).
[2] W. Burger, M.J. Burge, Digital Image Processing
– An Algorithmic Introduction, 3rd ed, Springer (2022).
- Version:
- 2022/11/23
-
Constructor Summary
ConstructorsConstructorDescriptionConstructor using default parameters.MserDetector
(ByteProcessor ip, MserParameters params) Constructor using explicit parameters. -
Method Summary
Modifier and TypeMethodDescriptionReturns the component tree for this MSER detector.double
Returns the time required for the MSER detector to process the associated image (in milliseconds).Extracts and returns a list of MSER components.
-
Constructor Details
-
MserDetector
Constructor using default parameters.- Parameters:
ip
- the input image- See Also:
-
MserDetector
Constructor using explicit parameters. A set of parameters can be specified (seeMserParameters
). The constructor sets up the complete component tree but does not perform feature detection itself, which is done by callinggetMserFeatures()
.- Parameters:
ip
- the input imageparams
- aMserParameters
instance- See Also:
-
-
Method Details
-
getMserFeatures
Extracts and returns a list of MSER components. Features are extracted only once and cached for subsequent calls.- Returns:
- a list of extracted MSER components
-
getComponentTree
Returns the component tree for this MSER detector.- Returns:
- the component tree
-
getElapsedTime
Returns the time required for the MSER detector to process the associated image (in milliseconds).- Returns:
- time required for MSER detection (ms)
-