public abstract class TemplateDiffSquared<T extends boofcv.struct.image.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
| Modifier and Type | Class and Description |
|---|---|
static class |
TemplateDiffSquared.F32 |
static class |
TemplateDiffSquared.U8 |
image, mask, template| Constructor and Description |
|---|
TemplateDiffSquared() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isBorderProcessed()
Does this algorithm process the image's border.
|
evaluate, evaluateMask, getBorderX0, getBorderX1, getBorderY0, getBorderY1, getIntensity, process, processpublic boolean isBorderProcessed()
TemplateMatchingIntensity