Documentation of 'boofcv.abst.feature.orientation.OrientationGradientToImage' Java class
OrientationGradientToImage
boofcv.abst.feature.orientation

Class OrientationGradientToImage<T extends ImageGray,D extends ImageGray>

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      double compute(double c_x, double c_y)
      Computes the orientation of a region about its center.
      java.lang.Class<T> getImageType()
      Returns the type of image it can process.
      void setImage(T image)
      Specifies input image data for estimating orientation.
      void setObjectRadius(double radius)
      Specifies the circle's radius that the orientation should be
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • OrientationGradientToImage

        public OrientationGradientToImage(OrientationGradient<D> alg,
                                          ImageGradient<T,D> gradient,
                                          java.lang.Class<T> inputType,
                                          java.lang.Class<D> gradientType)
    • Method Detail

      • setImage

        public void setImage(T image)
        Description copied from interface: OrientationImage
        Specifies input image data for estimating orientation.
        Specified by:
        setImage in interface OrientationImage<T extends ImageGray>
        Parameters:
        image - Input image..
      • getImageType

        public java.lang.Class<T> getImageType()
        Description copied from interface: OrientationImage
        Returns the type of image it can process.
        Specified by:
        getImageType in interface OrientationImage<T extends ImageGray>
        Returns:
        Type of image which can be processed
      • setObjectRadius

        public void setObjectRadius(double radius)
        Description copied from interface: RegionOrientation
        Specifies the circle's radius that the orientation should be
        Specified by:
        setObjectRadius in interface RegionOrientation
        Parameters:
        radius - Object's radius.
      • compute

        public double compute(double c_x,
                              double c_y)
        Description copied from interface: RegionOrientation
        Computes the orientation of a region about its center.
        Specified by:
        compute in interface RegionOrientation
        Parameters:
        c_x - Center of the region in image pixels.
        c_y - Center of the region in image pixels.
        Returns:
        Orientation in radians. Angle zero points along x-axis and pi/2 along y-axis.

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.