public class ImplOrientationSlidingWindow_S16 extends OrientationSlidingWindow<boofcv.struct.image.GrayS16>
Implementation of OrientationSlidingWindow for a specific image type.
WARNING: Do not modify. Automatically generated by GenerateImplOrientationSlidingWindow.
angles, derivX, derivY, isWeighted, numAngles, objectRadiusToScale, pixelRadius, rect, weights, windowSize| Constructor and Description |
|---|
ImplOrientationSlidingWindow_S16(double objectRadiusToScale,
int numAngles,
double windowSize,
boolean isWeighted) |
| Modifier and Type | Method and Description |
|---|---|
protected double |
computeOrientation()
Compute the angle without using the optional weights
|
protected double |
computeWeightedOrientation(int c_x,
int c_y)
Compute the angle using the weighting kernel.
|
java.lang.Class<boofcv.struct.image.GrayS16> |
getImageType()
Returns the type of image it can process.
|
compute, getWeights, setImage, setObjectRadiuspublic ImplOrientationSlidingWindow_S16(double objectRadiusToScale,
int numAngles,
double windowSize,
boolean isWeighted)
public java.lang.Class<boofcv.struct.image.GrayS16> getImageType()
OrientationGradientprotected double computeOrientation()
OrientationSlidingWindowcomputeOrientation in class OrientationSlidingWindow<boofcv.struct.image.GrayS16>protected double computeWeightedOrientation(int c_x,
int c_y)
OrientationSlidingWindowcomputeWeightedOrientation in class OrientationSlidingWindow<boofcv.struct.image.GrayS16>