public class ImplOrientationAverage_S32 extends OrientationAverage<boofcv.struct.image.GrayS32>
Implementation of OrientationAverage for a specific image type.
WARNING: Do not modify. Automatically generated by GenerateImplOrientationAverage.
derivX, derivY, isWeighted, objectToSample, radiusScale, rect, sampleRadius, weights| Constructor and Description |
|---|
ImplOrientationAverage_S32(double objectToSample,
boolean weighted) |
| Modifier and Type | Method and Description |
|---|---|
protected double |
computeUnweightedScore()
Compute the score without using the optional weights
|
protected double |
computeWeightedScore(int c_x,
int c_y)
Compute the score using the weighting kernel.
|
java.lang.Class<boofcv.struct.image.GrayS32> |
getImageType()
Returns the type of image it can process.
|
compute, getSampleRadius, getWeights, setImage, setObjectRadius, setSampleRadiuspublic ImplOrientationAverage_S32(double objectToSample,
boolean weighted)
public java.lang.Class<boofcv.struct.image.GrayS32> getImageType()
OrientationGradientprotected double computeUnweightedScore()
OrientationAveragecomputeUnweightedScore in class OrientationAverage<boofcv.struct.image.GrayS32>protected double computeWeightedScore(int c_x,
int c_y)
OrientationAveragecomputeWeightedScore in class OrientationAverage<boofcv.struct.image.GrayS32>