public class OrientationIntegralToImage<T extends ImageSingleBand,II extends ImageSingleBand> extends Object implements OrientationImage<T>
OrientationIntegral into OrientationImage.| Constructor and Description |
|---|
OrientationIntegralToImage(OrientationIntegral<II> alg,
Class<T> inputType,
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.
|
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 void setImage(T image)
OrientationImagesetImage in interface OrientationImage<T extends ImageSingleBand>image - Input image..public Class<T> getImageType()
OrientationImagegetImageType in interface OrientationImage<T extends 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.Copyright © 2013. All Rights Reserved.