public abstract class OrientationIntegralBase<II extends boofcv.struct.image.ImageSingleBand,G extends boofcv.struct.sparse.GradientValue> extends java.lang.Object implements OrientationIntegral<II>
Common base class for integral image region orientation algorithms.
| Modifier and Type | Field and Description |
|---|---|
protected boofcv.struct.sparse.SparseScaleGradient<II,G> |
g |
protected II |
ii |
protected double |
period |
protected int |
radius |
protected int |
sampleWidth |
protected double |
scale |
protected boofcv.struct.convolve.Kernel2D_F64 |
weights |
protected int |
width |
| Constructor and Description |
|---|
OrientationIntegralBase(int radius,
double period,
int sampleWidth,
double weightSigma,
java.lang.Class<II> integralType)
Configure orientation estimation.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.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 boofcv.struct.image.ImageSingleBand ii
protected double scale
protected int radius
protected int width
protected boofcv.struct.convolve.Kernel2D_F64 weights
protected int sampleWidth
protected double period
public OrientationIntegralBase(int radius,
double period,
int sampleWidth,
double weightSigma,
java.lang.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 boofcv.struct.image.ImageSingleBand>integralImage - Input image transformed into an integral image.public java.lang.Class<II> getImageType()
OrientationIntegralgetImageType in interface OrientationIntegral<II extends boofcv.struct.image.ImageSingleBand>