- All Implemented Interfaces:
InterestPointScaleSpacePyramid<T>
Feature detector across image pyramids that uses the Laplacian to determine strength in scale-space.
COMMENT ON SCALEPOWER: To normalize feature intensity across scales each feature intensity is multiplied by the scale to the power of 'scalePower'. See [1,2] for how to compute 'scalePower'. Inside of the image pyramid sub-sampling of the image causes the image gradient to be a factor of 'scale' larger than it would be without sub-sampling. In some situations this can negate the need to adjust feature intensity further.
[1] Krystian Mikolajczyk and Cordelia Schmid, "Indexing based on scale invariant interest points" ICCV 2001. Proceedings.
[2] Lindeberg, T., "Feature detection with automatic scale selection." IJCV 30(2) (1998) 79 – 116
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprotected AnyImageDerivative<T,
D> protected List<ScalePoint>
protected List<Point2D_I16>
protected double
protected int
-
Constructor Summary
ConstructorDescriptionFeatureLaplacePyramid
(GeneralFeatureDetector<T, D> detector, ImageFunctionSparse<T> sparseLaplace, AnyImageDerivative<T, D> computeDerivative, double scalePower) Create a feature detector. -
Method Summary
Modifier and TypeMethodDescriptionvoid
detect
(PyramidFloat<T> ss) Searches for features inside the provided scale spaceprotected void
findLocalScaleSpaceMax
(PyramidFloat<T> ss, int layerID) See if each feature is a maximum in its local scale-space.Returns all the found interest points
-
Field Details
-
spaceIndex
protected int spaceIndex -
maximums
-
foundPoints
-
computeDerivative
-
scalePower
protected double scalePower
-
-
Constructor Details
-
FeatureLaplacePyramid
public FeatureLaplacePyramid(GeneralFeatureDetector<T, D> detector, ImageFunctionSparse<T> sparseLaplace, AnyImageDerivative<T, D> computeDerivative, double scalePower) Create a feature detector.- Parameters:
detector
- Point feature detector which is used to find candidates in each scale levelsparseLaplace
- Used to compute the Laplacian at each candidatescomputeDerivative
- Used to compute image derivativesscalePower
- Used to normalize features intensity across scale space. For many features this value should be one.
-
-
Method Details
-
detect
Searches for features inside the provided scale space- Specified by:
detect
in interfaceInterestPointScaleSpacePyramid<T extends ImageGray<T>>
- Parameters:
ss
- Scale space of an image
-
findLocalScaleSpaceMax
See if each feature is a maximum in its local scale-space. -
getInterestPoints
Description copied from interface:InterestPointScaleSpacePyramid
Returns all the found interest points- Specified by:
getInterestPoints
in interfaceInterestPointScaleSpacePyramid<T extends ImageGray<T>>
- Returns:
- List of found interest points.
-