- java.lang.Object
-
- boofcv.alg.feature.detect.interest.FeaturePyramid<T,D>
-
- All Implemented Interfaces:
- InterestPointScaleSpacePyramid<T>
public class FeaturePyramid<T extends ImageGray,D extends ImageGray> extends java.lang.Object implements InterestPointScaleSpacePyramid<T>
Detects scale invariant interest/corner points by computing the feature intensities across a pyramid of different scales. Features which are maximums with in a local 2D neighborhood and within the local scale neighbourhood are declared to be features. Maximums are checked for in scale space by comparing the feature intensity against features in the upper and lower layers.
NOTE: Features are not computed for the bottom and top most layers in the pyramid.
NOTE: See discussion of scalePower inside ofFeatureLaplacePyramid.[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 FeaturePyramid(GeneralFeatureDetector<T,D> detector, 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
-
FeaturePyramid
public FeaturePyramid(GeneralFeatureDetector<T,D> detector, AnyImageDerivative<T,D> computeDerivative, double scalePower)
Create a feature detector.- Parameters:
detector- Point feature detector which is used to find candidates in each scale levelscalePower- Used to normalize feature intensity at different scales. For many features this 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