public abstract class OrientationIntegralBase<II extends ImageSingleBand,G extends GradientValue> extends Object implements OrientationIntegral<II>
Common base class for integral image region orientation algorithms.
| Modifier and Type | Field and Description |
|---|---|
protected SparseScaleGradient<II,G> |
g |
protected II |
ii |
protected double |
period |
protected int |
radius |
protected int |
sampleWidth |
protected double |
scale |
protected Kernel2D_F64 |
weights |
protected int |
width |
| Constructor and Description |
|---|
OrientationIntegralBase(int radius,
double period,
int sampleWidth,
double weightSigma,
Class<II> integralType)
Configure orientation estimation.
|
| Modifier and Type | Method and Description |
|---|---|
Class<II> |
getImageType()
Returns the type of image it can process.
|
void |
setImage(II integralImage)
Specifies input image data for estimating orientation.
|
void |
setScale(double scale)
Specifies scale at which the orientation is estimated.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomputeprotected II extends ImageSingleBand ii
protected double scale
protected int radius
protected int width
protected Kernel2D_F64 weights
protected int sampleWidth
protected double period
protected SparseScaleGradient<II extends ImageSingleBand,G extends GradientValue> g
public OrientationIntegralBase(int radius,
double period,
int sampleWidth,
double weightSigma,
Class<II> integralType)
radius - Radius of the region being considered in terms of samples. Typically 6.period - How often the image is sampled. This number is scaled. Typically 1.sampleWidth - How wide of a kernel should be used to sample. Try 4weightSigma - Sigma for weighting. zero for unweighted.public void setScale(double scale)
RegionOrientationsetScale in interface RegionOrientationscale - Scale of the orientation region.public void setImage(II integralImage)
OrientationIntegralsetImage in interface OrientationIntegral<II extends ImageSingleBand>integralImage - Input image transformed into an integral image.public Class<II> getImageType()
OrientationIntegralgetImageType in interface OrientationIntegral<II extends ImageSingleBand>Copyright © 2013. All Rights Reserved.