public abstract class ImplSsdCornerBase<D extends boofcv.struct.image.ImageGray<D>,D2 extends boofcv.struct.image.ImageGray<D2>> extends java.lang.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.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ImplSsdCornerBase.CornerIntensity_F32 |
static interface |
ImplSsdCornerBase.CornerIntensity_S32 |
| Modifier and Type | Field and Description |
|---|---|
protected D |
derivX |
protected D |
derivY |
protected D2 |
horizXX |
protected D2 |
horizXY |
protected D2 |
horizYY |
protected int |
radius |
| Modifier | Constructor and Description |
|---|---|
protected |
ImplSsdCornerBase(int windowRadius,
java.lang.Class<D2> secondDerivType) |
| Modifier and Type | Method and Description |
|---|---|
int |
getIgnoreBorder()
Size of the region surrounding the image's border in which pixels are not processed.
|
int |
getRadius()
Returns the radius of the feature being computed.
|
protected void |
setImageShape(int imageWidth,
int imageHeight) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitprocessprotected ImplSsdCornerBase(int windowRadius,
java.lang.Class<D2> secondDerivType)
protected void setImageShape(int imageWidth,
int imageHeight)
public int getRadius()
FeatureIntensitygetRadius in interface FeatureIntensity<D extends boofcv.struct.image.ImageGray<D>>public int getIgnoreBorder()
FeatureIntensitygetIgnoreBorder in interface FeatureIntensity<D extends boofcv.struct.image.ImageGray<D>>