java.lang.Object
imagingbook.common.corners.GradientCornerDetector
- Direct Known Subclasses:
HarrisCornerDetector,MopsCornerDetector,ShiTomasiCornerDetector
Abstract super class for all corner detectors based on the local structure matrix (tensor). See Ch. 6 of [1] for details.
[1] W. Burger, M.J. Burge, Digital Image Processing – An Algorithmic Introduction, 3rd ed, Springer (2022).
- Version:
- 2022/03/30
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final intprotected final intprotected final GradientCornerDetector.Parametersprotected final FloatProcessorstatic booleanFor testing/example calculations only!protected static final float -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected -
Method Summary
Modifier and TypeMethodDescriptiongetA()getB()getC()protected abstract floatgetCornerScore(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.getQ()Returns the corner score function as aFloatProcessorobject.
-
Field Details
-
RETAIN_TEMPORARY_DATA
For testing/example calculations only! -
UndefinedScoreValue
- See Also:
-
M
-
N
-
params
-
Q
-
-
Constructor Details
-
GradientCornerDetector
-
-
Method Details
-
getCornerScore
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.- Parameters:
A- = Ixx(u,v)B- = Iyy(u,v)C- = Ixy(u,v)- Returns:
- the corner score
- See Also:
-
getQ
Returns the corner score function as aFloatProcessorobject.- Returns:
- the score function
-
getA
-
getB
-
getC
-
getCorners
-