Documentation of 'boofcv.alg.feature.orientation.OrientationHistogram' Java class
OrientationHistogram
boofcv.alg.feature.orientation

Class OrientationHistogram<D extends ImageGray>

    • Constructor Summary

      Constructors 
      Constructor and Description
      OrientationHistogram(double objectToSample, int numAngles, boolean isWeighted)
      Constructor.
    • Constructor Detail

      • OrientationHistogram

        public OrientationHistogram(double objectToSample,
                                    int numAngles,
                                    boolean isWeighted)
        Constructor. Specify region size and if it is weighted or not.
        Parameters:
        objectToSample - Converts the size of the object to the sample region size
        numAngles - Number of discrete angles that the orientation is estimated inside of
    • Method Detail

      • getObjectToSample

        public double getObjectToSample()
      • setObjectToSample

        public void setObjectToSample(int objectToSample)
        Specify the size of the region that is considered.
        Parameters:
        objectToSample -
      • setObjectRadius

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

        public void setImage(D derivX,
                             D derivY)
        Description copied from interface: OrientationGradient
        Specifies input image data for estimating orientation.
        Specified by:
        setImage in interface OrientationGradient<D extends ImageGray>
        Parameters:
        derivX - Image derivative along x-axis.
        derivY - Image derivative along y-axis.
      • compute

        public double compute(double X,
                              double Y)
        Description copied from interface: RegionOrientation
        Computes the orientation of a region about its center.
        Specified by:
        compute in interface RegionOrientation
        Parameters:
        X - Center of the region in image pixels.
        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.