public class ImplOrientationSlidingWindow_F32 extends OrientationSlidingWindow<ImageFloat32>
Implementation of OrientationSlidingWindow
for a specific image type.
WARNING: Do not modify. Automatically generated by GenerateImplOrientationSlidingWindow
.
angles, derivX, derivY, isWeighted, numAngles, radius, radiusScale, rect, weights, windowSize
Constructor and Description |
---|
ImplOrientationSlidingWindow_F32(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<ImageFloat32> |
getImageType()
Returns the type of image it can process.
|
compute, getRadius, getWeights, setImage, setRadius, setScale
public ImplOrientationSlidingWindow_F32(int numAngles, double windowSize, boolean isWeighted)
public java.lang.Class<ImageFloat32> getImageType()
OrientationGradient
protected double computeOrientation()
OrientationSlidingWindow
computeOrientation
in class OrientationSlidingWindow<ImageFloat32>
protected double computeWeightedOrientation(int c_x, int c_y)
OrientationSlidingWindow
computeWeightedOrientation
in class OrientationSlidingWindow<ImageFloat32>
Copyright © 2011-2012 Peter Abeles