public class OrientationIntegralToImage<T extends boofcv.struct.image.ImageSingleBand,II extends boofcv.struct.image.ImageSingleBand> extends java.lang.Object implements OrientationImage<T>
OrientationIntegral into OrientationImage.| Constructor and Description |
|---|
OrientationIntegralToImage(OrientationIntegral<II> alg,
java.lang.Class<T> inputType,
java.lang.Class<II> integralType) |
| 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 |
setScale(double scale)
Specifies scale at which the orientation is estimated.
|
public OrientationIntegralToImage(OrientationIntegral<II> alg, java.lang.Class<T> inputType, java.lang.Class<II> integralType)
public void setImage(T image)
OrientationImagesetImage in interface OrientationImage<T extends boofcv.struct.image.ImageSingleBand>image - Input image..public java.lang.Class<T> getImageType()
OrientationImagegetImageType in interface OrientationImage<T extends boofcv.struct.image.ImageSingleBand>public void setScale(double scale)
RegionOrientationsetScale in interface RegionOrientationscale - Scale of the orientation region.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.