java.lang.Object
imagingbook.common.corners.GradientCornerDetector
imagingbook.common.corners.ShiTomasiCornerDetector
This is an implementation of the Shi-Tomasi corner detector, as described in [1]. This class extends
GradientCornerDetector
(where most of the work is done) by defining a specific corner score function and
associated threshold. See Sec. 6.3.1 of [2] for additional details.
[1] J. Shi and C. Tomasi. Good features to track. In Proceedings of IEEE Conference on Computer Vision and Pattern
Recognition, CVPR’94, pp. 593–600, Seattle, WA, USA (1994).
[2] W. Burger, M.J. Burge, Digital Image Processing – An Algorithmic Introduction, 3rd ed, Springer
(2022).
- Version:
- 2022/03/30
-
Nested Class Summary
Nested classes/interfaces inherited from class imagingbook.common.corners.GradientCornerDetector
GradientCornerDetector.Parameters
-
Field Summary
Fields inherited from class imagingbook.common.corners.GradientCornerDetector
M, N, params, Q, RETAIN_TEMPORARY_DATA, UndefinedScoreValue
-
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionprotected float
getCornerScore
(float A, float B, float C) Calculates the corner response score for a single image position (u,v) from the elements A, B, C of the local structure matrix.Methods inherited from class imagingbook.common.corners.GradientCornerDetector
getA, getB, getC, getCorners, getQ
-
Constructor Details
-
ShiTomasiCornerDetector
-
-
Method Details
-
getCornerScore
Description copied from class:GradientCornerDetector
Calculates the corner response score for a single image position (u,v) from the elements A, B, C of the local structure matrix. The method should normalize the score value, such that 100 is returned for the default threshold value. To be implemented by concrete sub-classes.- Specified by:
getCornerScore
in classGradientCornerDetector
- Parameters:
A
- = Ixx(u,v)B
- = Iyy(u,v)C
- = Ixy(u,v)- Returns:
- the corner score
- See Also:
-