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

Class OrientationSlidingWindow<D extends ImageGray>

    • Constructor Summary

      Constructors 
      Constructor and Description
      OrientationSlidingWindow(double objectRadiusToScale, int numAngles, double windowSize, boolean isWeighted)
      Configures orientation estimating algorithm.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      double compute(double X, double Y)
      Computes the orientation of a region about its center.
      Kernel2D_F32 getWeights() 
      void setImage(D derivX, D derivY)
      Specifies input image data for estimating orientation.
      void setObjectRadius(double objRadius)
      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

      • OrientationSlidingWindow

        public OrientationSlidingWindow(double objectRadiusToScale,
                                        int numAngles,
                                        double windowSize,
                                        boolean isWeighted)
        Configures orientation estimating algorithm.
        Parameters:
        objectRadiusToScale - Convert object radius into scale factor
        numAngles - Number of discrete points in which the sliding window will be centered around.
        windowSize - Number of radians in the window being considered.
        isWeighted - Should points be weighted using a Gaussian kernel.
    • Method Detail

      • setObjectRadius

        public void setObjectRadius(double objRadius)
        Description copied from interface: RegionOrientation
        Specifies the circle's radius that the orientation should be
        Specified by:
        setObjectRadius in interface RegionOrientation
        Parameters:
        objRadius - 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.