java.lang.Object
boofcv.alg.feature.detect.intensity.impl.ImplSsdCornerBase<D,D2>
- All Implemented Interfaces:
FeatureIntensity<D>,GradientCornerIntensity<D>
- Direct Known Subclasses:
ImplSsdCornerBox,ImplSsdCornerWeighted_F32,ImplSsdCornerWeighted_F32_MT,ImplSsdCornerWeighted_S16,ImplSsdCornerWeighted_S16_MT
public abstract class ImplSsdCornerBase<D extends ImageGray<D>,D2 extends ImageGray<D2>>
extends Object
implements GradientCornerIntensity<D>
Several corner detector algorithms work by computing a symmetric matrix whose elements are composed of the convolution of the image's gradient squared. This is done for X*X, X*Y, and X*X. Once the matrix has been constructed it is used to estimate how corner like the pixel under consideration is. This class provides a generalized interface for performing these calculations in an optimized manor.
NOTE: Image borders are not processed. The zeros in the image border need to be taken in account when extract features using algorithms such as non-max suppression.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic interface -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedImplSsdCornerBase(int windowRadius, Class<D> derivType, Class<D2> secondDerivType) -
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.protected voidsetImageShape(int imageWidth, int imageHeight) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface boofcv.alg.feature.detect.intensity.GradientCornerIntensity
process
-
Field Details
-
derivX
-
derivY
-
radius
protected int radius -
horizXX
-
horizXY
-
horizYY
-
-
Constructor Details
-
ImplSsdCornerBase
-
-
Method Details
-
setImageShape
protected void setImageShape(int imageWidth, int imageHeight) -
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<D extends ImageGray<D>>- 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<D extends ImageGray<D>>- Returns:
- The ignore border around the image.
-
getInputType
Description copied from interface:GradientCornerIntensityType of input image.- Specified by:
getInputTypein interfaceGradientCornerIntensity<D extends ImageGray<D>>
-