public class ImplOrientationSlidingWindowIntegral<T extends boofcv.struct.image.ImageGray,G extends boofcv.struct.sparse.GradientValue> extends OrientationIntegralBase<T,G>
Implementation of OrientationSlidingWindow for integral images.
TODO comment how this implementation works
| Modifier and Type | Field and Description |
|---|---|
protected double[] |
angles |
protected int[] |
order |
protected double |
windowSize |
g, ii, kernelWidth, objectRadiusToScale, period, sampleRadius, sampleWidth, scale, weights| Constructor and Description |
|---|
ImplOrientationSlidingWindowIntegral(double radiusToScale,
double samplePeriod,
double windowSize,
int sampleRadius,
double weightSigma,
int sampleKernelWidth,
java.lang.Class<T> integralType)
Specifies configuration parameters and initializes data structures
|
| Modifier and Type | Method and Description |
|---|---|
double |
compute(double c_x,
double c_y)
Computes the orientation of a region about its center.
|
getImageType, setImage, setObjectRadiusprotected double windowSize
protected double[] angles
protected int[] order
public ImplOrientationSlidingWindowIntegral(double radiusToScale,
double samplePeriod,
double windowSize,
int sampleRadius,
double weightSigma,
int sampleKernelWidth,
java.lang.Class<T> integralType)
samplePeriod - How often the image is sampled. This number is scaled. Typically 1.windowSize - Angular window that is slide acrosssampleRadius - Radius of the region being considered in terms of samples. Typically 6.weightSigma - Sigma for weighting distribution. Zero for unweighted.sampleKernelWidth - Size of kernel doing the sampling. Typically 4.integralType - Type of integral image being processed.public double compute(double c_x,
double c_y)
RegionOrientationc_x - Center of the region in image pixels.c_y - Center of the region in image pixels.