public abstract class BaseTemplateIntensity<T extends ImageBase> extends 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.
|
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, waitisBorderProcessedpublic void process(T image, T template)
TemplateMatchingIntensityprocess in interface TemplateMatchingIntensity<T extends 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 ImageFloat32 getIntensity()
TemplateMatchingIntensityNonMaxSuppression.
See comment about processing the image border.getIntensity in interface TemplateMatchingIntensity<T extends ImageBase>public int getOffsetX()
TemplateMatchingIntensitygetOffsetX in interface TemplateMatchingIntensity<T extends ImageBase>public int getOffsetY()
TemplateMatchingIntensitygetOffsetY in interface TemplateMatchingIntensity<T extends ImageBase>Copyright © 2013. All Rights Reserved.