public abstract class BaseTemplateIntensity<T extends boofcv.struct.image.ImageBase> extends java.lang.Object implements TemplateMatchingIntensity<T>
| Constructor and Description |
|---|
BaseTemplateIntensity() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract float |
evaluate(int tl_x,
int tl_y)
Evaluate the template at the specified location.
|
boofcv.struct.image.ImageFloat32 |
getIntensity()
Contains results of template matching.
|
int |
getOffsetX()
Offset from template's top left corner x-coordinate
|
int |
getOffsetY()
Offset from template's top left corner y-coordinate
|
void |
process(T image,
T template)
Matches the template to the image and computes an intensity image.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisBorderProcessedprotected T extends boofcv.struct.image.ImageBase image
protected T extends boofcv.struct.image.ImageBase template
public void process(T image, T template)
TemplateMatchingIntensityprocess in interface TemplateMatchingIntensity<T extends boofcv.struct.image.ImageBase>image - Input image. Not modified.template - Template image. Must be equal to or smaller than the input image. Not modified.protected abstract float evaluate(int tl_x,
int tl_y)
tl_x - Template's top left corner x-coordinatetl_y - Template's top left corner y-coordinatepublic boofcv.struct.image.ImageFloat32 getIntensity()
TemplateMatchingIntensityNonMaxSuppression.
See comment about processing the image border.getIntensity in interface TemplateMatchingIntensity<T extends boofcv.struct.image.ImageBase>public int getOffsetX()
TemplateMatchingIntensitygetOffsetX in interface TemplateMatchingIntensity<T extends boofcv.struct.image.ImageBase>public int getOffsetY()
TemplateMatchingIntensitygetOffsetY in interface TemplateMatchingIntensity<T extends boofcv.struct.image.ImageBase>