Class FactoryOrientation
java.lang.Object
boofcv.factory.feature.orientation.FactoryOrientation
Factory for creating implementations of
RegionOrientation that are used to estimate
the orientation of a local pixel region..-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T extends ImageGray<T>>
OrientationImage<T>convertImage(RegionOrientation algorithm, Class<T> imageType) Adds wrappers around implementations ofRegionOrientationsuch that they can be used as aOrientationImage.static <II extends ImageGray<II>>
OrientationIntegral<II>genericIntegral(ConfigOrientation2 config, Class<II> imageType) Creates integral image based orientation estimatorstatic <T extends ImageGray<T>>
OrientationImage<T>sift(ConfigSiftScaleSpace configSS, ConfigSiftOrientation configOri, Class<T> imageType) Creates an implementation of the SIFT orientation estimation algorithm
-
Constructor Details
-
FactoryOrientation
public FactoryOrientation()
-
-
Method Details
-
convertImage
public static <T extends ImageGray<T>> OrientationImage<T> convertImage(RegionOrientation algorithm, Class<T> imageType) Adds wrappers around implementations ofRegionOrientationsuch that they can be used as aOrientationImage.- Parameters:
algorithm- Algorithm which takes in a different type of input.imageType- Type of input image it will process- Returns:
- Wrapped version which can process images as its raw input.
-
genericIntegral
public static <II extends ImageGray<II>> OrientationIntegral<II> genericIntegral(ConfigOrientation2 config, Class<II> imageType) Creates integral image based orientation estimator -
sift
public static <T extends ImageGray<T>> OrientationImage<T> sift(ConfigSiftScaleSpace configSS, ConfigSiftOrientation configOri, Class<T> imageType) Creates an implementation of the SIFT orientation estimation algorithm- Parameters:
configSS- Configuration of the scale-space. null for defaultconfigOri- Orientation configuration. null for defaultimageType- Type of input image- Returns:
- SIFT orientation image
-