boofcv.alg.feature.detect.template
Class TemplateDiffSquared<T extends ImageBase>
- java.lang.Object
-
- boofcv.alg.feature.detect.template.BaseTemplateIntensity<T>
-
- boofcv.alg.feature.detect.template.TemplateDiffSquared<T>
-
- All Implemented Interfaces:
- TemplateMatchingIntensity<T>
- Direct Known Subclasses:
- TemplateDiffSquared.F32, TemplateDiffSquared.U8
public abstract class TemplateDiffSquared<T extends ImageBase> extends BaseTemplateIntensity<T>
Scores the difference between the template and the image using difference squared error. The error is multiplied by -1 to ensure that the best fits are peaks and not minimums.
error = -1*Sum(o,u) [I(x,y) - T(x-o,y-u)]^2
-
-
Nested Class Summary
Nested Classes Modifier and Type Class and Description static classTemplateDiffSquared.F32static classTemplateDiffSquared.U8
-
Constructor Summary
Constructors Constructor and Description TemplateDiffSquared()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description booleanisBorderProcessed()Does this algorithm process the image's border.-
Methods inherited from class boofcv.alg.feature.detect.template.BaseTemplateIntensity
getBorderX0, getBorderX1, getBorderY0, getBorderY1, getIntensity, process, process
-
-
-
-
Method Detail
-
isBorderProcessed
public boolean isBorderProcessed()
Description copied from interface:TemplateMatchingIntensityDoes this algorithm process the image's border. If it does not process the border- Returns:
- true if the border is processed and false otherwise.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG