Class FeatureLaplacePyramid<T extends ImageGray,D extends ImageGray>
- java.lang.Object
-
- boofcv.alg.feature.detect.interest.FeatureLaplacePyramid<T,D>
-
- All Implemented Interfaces:
- InterestPointScaleSpacePyramid<T>
public class FeatureLaplacePyramid<T extends ImageGray,D extends ImageGray> extends java.lang.Object implements 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:
FactoryInterestPoint
-
-
Constructor Summary
Constructors Constructor and Description FeatureLaplacePyramid(GeneralFeatureDetector<T,D> detector, ImageFunctionSparse<T> sparseLaplace, AnyImageDerivative<T,D> computeDerivative, double scalePower)Create a feature detector.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voiddetect(PyramidFloat<T> ss)Searches for features inside the provided scale spacejava.util.List<ScalePoint>getInterestPoints()Returns all the found interest points
-
-
-
Constructor Detail
-
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 Detail
-
detect
public void detect(PyramidFloat<T> ss)
Searches for features inside the provided scale space- Specified by:
detectin interfaceInterestPointScaleSpacePyramid<T extends ImageGray>- Parameters:
ss- Scale space of an image
-
getInterestPoints
public java.util.List<ScalePoint> getInterestPoints()
Description copied from interface:InterestPointScaleSpacePyramidReturns all the found interest points- Specified by:
getInterestPointsin interfaceInterestPointScaleSpacePyramid<T extends ImageGray>- Returns:
- List of found interest points.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG