Package boofcv.abst.feature.orientation
Interface RegionOrientation
- All Known Subinterfaces:
OrientationGradient<D>,OrientationImage<T>,OrientationIntegral<II>
- All Known Implementing Classes:
ImplOrientationAverage_F32,ImplOrientationAverage_S16,ImplOrientationAverage_S32,ImplOrientationAverageGradientIntegral,ImplOrientationHistogram_F32,ImplOrientationHistogram_S16,ImplOrientationHistogram_S32,ImplOrientationImageAverage_F32,ImplOrientationImageAverage_U8,ImplOrientationImageAverageIntegral,ImplOrientationSlidingWindow_F32,ImplOrientationSlidingWindow_S16,ImplOrientationSlidingWindow_S32,ImplOrientationSlidingWindowIntegral,OrientationAverage,OrientationGradientToImage,OrientationHistogram,OrientationImageAverage,OrientationIntegralBase,OrientationIntegralToImage,OrientationSiftToImage,OrientationSlidingWindow
public interface RegionOrientation
Estimates the orientation of a region which is approximately circular. This is typically
used to rotationally invariant scale/size dependent features.
-
Method Summary
Modifier and TypeMethodDescriptiondoublecompute(double c_x, double c_y) Computes the orientation of a region about its center.copy()Creates a copy which is functionally identicalvoidsetObjectRadius(double radius) Specifies the circle's radius that the orientation should be
-
Method Details
-
setObjectRadius
void setObjectRadius(double radius) Specifies the circle's radius that the orientation should be- Parameters:
radius- Object's radius.
-
compute
double compute(double c_x, double c_y) Computes the orientation of a region about its center.- 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.
-
copy
RegionOrientation copy()Creates a copy which is functionally identical
-