Class ImplSsdCornerNaive<T extends ImageGray<T>>
java.lang.Object
boofcv.alg.feature.detect.intensity.impl.ImplSsdCornerNaive<T>
- All Implemented Interfaces:
FeatureIntensity<T>,GradientCornerIntensity<T>
public class ImplSsdCornerNaive<T extends ImageGray<T>>
extends Object
implements GradientCornerIntensity<T>
Naive implementation of
ShiTomasiCornerIntensity which performs computations in a straight
forward but inefficient manor. This class is used to validate the correctness of more complex but efficient
implementations.-
Constructor Summary
ConstructorsConstructorDescriptionImplSsdCornerNaive(int imageWidth, int imageHeight, int windowRadius, boolean weighted) -
Method Summary
Modifier and TypeMethodDescriptionintSize of the region surrounding the image's border in which pixels are not processed.Type of input image.intReturns the radius of the feature being computed.voidComputes feature intensity image.
-
Constructor Details
-
ImplSsdCornerNaive
public ImplSsdCornerNaive(int imageWidth, int imageHeight, int windowRadius, boolean weighted)
-
-
Method Details
-
getRadius
public int getRadius()Description copied from interface:FeatureIntensityReturns the radius of the feature being computed. Features are square in shape with a width = 2*radius+1.- Specified by:
getRadiusin interfaceFeatureIntensity<T extends ImageGray<T>>- Returns:
- Radius of detected features.
-
getIgnoreBorder
public int getIgnoreBorder()Description copied from interface:FeatureIntensitySize of the region surrounding the image's border in which pixels are not processed.- Specified by:
getIgnoreBorderin interfaceFeatureIntensity<T extends ImageGray<T>>- Returns:
- The ignore border around the image.
-
process
Description copied from interface:GradientCornerIntensityComputes feature intensity image.- Specified by:
processin interfaceGradientCornerIntensity<T extends ImageGray<T>>- Parameters:
derivX- Image derivative along the x-axis.derivY- Image derivative along the y-axis.intensity- Output intensity image
-
getInputType
Description copied from interface:GradientCornerIntensityType of input image.- Specified by:
getInputTypein interfaceGradientCornerIntensity<T extends ImageGray<T>>
-