public abstract class OrientationIntegralBase<II extends boofcv.struct.image.ImageGray,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 int |
kernelWidth |
protected double |
objectRadiusToScale |
protected double |
period |
protected int |
sampleRadius |
protected int |
sampleWidth |
protected double |
scale |
protected boofcv.struct.convolve.Kernel2D_F64 |
weights |
| Constructor and Description |
|---|
OrientationIntegralBase(double objectRadiusToScale,
int sampleRadius,
double period,
int kernelWidth,
double weightSigma,
boolean assignDefaultRadius,
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 |
setObjectRadius(double radius)
Specifies the circle's radius that the orientation should be
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomputeprotected II extends boofcv.struct.image.ImageGray ii
protected double scale
protected int sampleRadius
protected int sampleWidth
protected boofcv.struct.convolve.Kernel2D_F64 weights
protected int kernelWidth
protected double period
protected double objectRadiusToScale
public OrientationIntegralBase(double objectRadiusToScale,
int sampleRadius,
double period,
int kernelWidth,
double weightSigma,
boolean assignDefaultRadius,
java.lang.Class<II> integralType)
sampleRadius - The radius of samples that it will do. Typically 6.period - How often the image is sampled in pixels at canonical size. Internally, this value
is scaled by scaledPeriod = period*objectRadius/sampleRadius. Typically 1.kernelWidth - How wide of a kernel should be used to sample. Try 4weightSigma - Sigma for weighting. Set to zero for unweighted, negative to use sampleRadius.assignDefaultRadius - If true it will set the object's radius to a scale of 1public void setObjectRadius(double radius)
RegionOrientationsetObjectRadius in interface RegionOrientationradius - Object's radius.public void setImage(II integralImage)
OrientationIntegralsetImage in interface OrientationIntegral<II extends boofcv.struct.image.ImageGray>integralImage - Input image transformed into an integral image.public java.lang.Class<II> getImageType()
OrientationIntegralgetImageType in interface OrientationIntegral<II extends boofcv.struct.image.ImageGray>