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
Constructors Constructor Description ImplSsdCornerNaive(int imageWidth, int imageHeight, int windowRadius, boolean weighted)
-
Method Summary
Modifier and Type Method Description int
getIgnoreBorder()
Size of the region surrounding the image's border in which pixels are not processed.Class<T>
getInputType()
Type of input image.int
getRadius()
Returns the radius of the feature being computed.void
process(T derivX, T derivY, GrayF32 intensity)
Computes 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:FeatureIntensity
Returns the radius of the feature being computed. Features are square in shape with a width = 2*radius+1.- Specified by:
getRadius
in interfaceFeatureIntensity<T extends ImageGray<T>>
- Returns:
- Radius of detected features.
-
getIgnoreBorder
public int getIgnoreBorder()Description copied from interface:FeatureIntensity
Size of the region surrounding the image's border in which pixels are not processed.- Specified by:
getIgnoreBorder
in interfaceFeatureIntensity<T extends ImageGray<T>>
- Returns:
- The ignore border around the image.
-
process
Description copied from interface:GradientCornerIntensity
Computes feature intensity image.- Specified by:
process
in 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:GradientCornerIntensity
Type of input image.- Specified by:
getInputType
in interfaceGradientCornerIntensity<T extends ImageGray<T>>
-