Class FactoryOrientationAlgs
java.lang.Object
boofcv.factory.feature.orientation.FactoryOrientationAlgs
Creates specific implementations of local region orientation estimators.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T extends ImageGray<T>>
OrientationAverage<T>static <II extends ImageGray<II>>
OrientationIntegral<II>average_ii
(@Nullable ConfigAverageIntegral config, Class<II> integralType) Orientation using "average" approach on integral images.static <T extends ImageGray<T>>
OrientationHistogram<T>static <II extends ImageGray<II>>
OrientationIntegral<II>image_ii
(double objectRadiusToScale, int sampleRadius, double samplePeriod, int sampleWidth, double weightSigma, Class<II> integralImage) Estimates the orientation without calculating the image derivative.static <T extends ImageGray<T>>
OrientationImageAverage<T>nogradient
(double objectToSample, int radius, Class<T> imageType) static <D extends ImageGray<D>>
OrientationHistogramSift<D>sift
(@Nullable ConfigSiftOrientation config, Class<D> derivType) Estimates multiple orientations as specified in SIFT paper.static <T extends ImageGray<T>>
OrientationSlidingWindow<T>sliding
(double objectRadiusToScale, int numAngles, double windowSize, int radius, boolean weighted, Class<T> derivType) static <II extends ImageGray<II>>
OrientationIntegral<II>sliding_ii
(@Nullable ConfigSlidingIntegral config, Class<II> integralType) Estimates the orientation of a region by using a sliding window across the different potential angles.
-
Constructor Details
-
FactoryOrientationAlgs
public FactoryOrientationAlgs()
-
-
Method Details
-
histogram
public static <T extends ImageGray<T>> OrientationHistogram<T> histogram(double objectToSample, int numAngles, int radius, boolean weighted, Class<T> derivType) -
nogradient
public static <T extends ImageGray<T>> OrientationImageAverage<T> nogradient(double objectToSample, int radius, Class<T> imageType) -
average
public static <T extends ImageGray<T>> OrientationAverage<T> average(double objectToSample, int radius, boolean weighted, Class<T> derivType) -
sliding
public static <T extends ImageGray<T>> OrientationSlidingWindow<T> sliding(double objectRadiusToScale, int numAngles, double windowSize, int radius, boolean weighted, Class<T> derivType) -
average_ii
public static <II extends ImageGray<II>> OrientationIntegral<II> average_ii(@Nullable @Nullable ConfigAverageIntegral config, Class<II> integralType) Orientation using "average" approach on integral images.- Parameters:
config
- Configuration for algorithm.integralType
- Type of image being processed.- Returns:
- OrientationIntegral
- See Also:
-
image_ii
public static <II extends ImageGray<II>> OrientationIntegral<II> image_ii(double objectRadiusToScale, int sampleRadius, double samplePeriod, int sampleWidth, double weightSigma, Class<II> integralImage) Estimates the orientation without calculating the image derivative.- Parameters:
sampleRadius
- Radius of the region being considered in terms of samples. Typically 6.samplePeriod
- How often the image is sampled. This number is scaled. Typically 1.sampleWidth
- How wide of a kernel should be used to sample. Try 4weightSigma
- Sigma for weighting. zero for unweighted.integralImage
- Type of image being processed.- Returns:
- OrientationIntegral
- See Also:
-
sliding_ii
public static <II extends ImageGray<II>> OrientationIntegral<II> sliding_ii(@Nullable @Nullable ConfigSlidingIntegral config, Class<II> integralType) Estimates the orientation of a region by using a sliding window across the different potential angles.- Parameters:
config
- Configuration for algorithm. If null defaults will be used.integralType
- Type of integral image being processed.- Returns:
- OrientationIntegral
- See Also:
-
sift
public static <D extends ImageGray<D>> OrientationHistogramSift<D> sift(@Nullable @Nullable ConfigSiftOrientation config, Class<D> derivType) Estimates multiple orientations as specified in SIFT paper.- Parameters:
config
- Configuration for algorithm. If null defaults will be used.derivType
- Type of derivative image it takes as input- Returns:
- OrientationHistogramSift
-