Class FactoryOrientation

java.lang.Object
boofcv.factory.feature.orientation.FactoryOrientation

public class FactoryOrientation extends Object
Factory for creating implementations of RegionOrientation that are used to estimate the orientation of a local pixel region..
  • 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 of RegionOrientation such that they can be used as a OrientationImage.
      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 default
      configOri - Orientation configuration. null for default
      imageType - Type of input image
      Returns:
      SIFT orientation image