public class OrientationSiftToImage<T extends boofcv.struct.image.ImageGray> extends java.lang.Object implements OrientationImage<T>
OrientationHistogramSift for OrientationImage. Selects
the best solution from the multiple solutions.| Constructor and Description |
|---|
OrientationSiftToImage(OrientationHistogramSift<boofcv.struct.image.GrayF32> alg,
SiftScaleSpace ss,
java.lang.Class<T> imageType) |
| 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
|
public OrientationSiftToImage(OrientationHistogramSift<boofcv.struct.image.GrayF32> alg, SiftScaleSpace ss, java.lang.Class<T> imageType)
public void setImage(T image)
OrientationImagesetImage in interface OrientationImage<T extends boofcv.struct.image.ImageGray>image - Input image..public java.lang.Class<T> getImageType()
OrientationImagegetImageType in interface OrientationImage<T extends boofcv.struct.image.ImageGray>public void setObjectRadius(double radius)
RegionOrientationsetObjectRadius in interface RegionOrientationradius - Object's radius.public double compute(double c_x,
double c_y)
RegionOrientationcompute in interface RegionOrientationc_x - Center of the region in image pixels.c_y - Center of the region in image pixels.