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
Modifier and TypeClassDescriptionstatic interface
static interface
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprotected
ImplSsdCornerBase
(int windowRadius, Class<D> derivType, Class<D2> secondDerivType) -
Method Summary
Modifier and TypeMethodDescriptionint
Size of the region surrounding the image's border in which pixels are not processed.Type of input image.int
Returns the radius of the feature being computed.protected void
setImageShape
(int imageWidth, int imageHeight) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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: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<D extends ImageGray<D>>
- 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<D extends ImageGray<D>>
- Returns:
- The ignore border around the image.
-
getInputType
Description copied from interface:GradientCornerIntensity
Type of input image.- Specified by:
getInputType
in interfaceGradientCornerIntensity<D extends ImageGray<D>>
-