public class TemplateCorrelationFFT extends java.lang.Object implements TemplateMatchingIntensity<boofcv.struct.image.GrayF32>
| Constructor and Description |
|---|
TemplateCorrelationFFT() |
| Modifier and Type | Method and Description |
|---|---|
int |
getBorderX0()
Thickness of border along the image left side (lower extent)
|
int |
getBorderX1()
Thickness of border along the image right side (upper extent)
|
int |
getBorderY0()
Thickness of border along the image top (lower extent)
|
int |
getBorderY1()
Thickness of border along the image bottom (upper extent)
|
boofcv.struct.image.GrayF32 |
getIntensity()
Contains results of template matching.
|
boolean |
isBorderProcessed()
Does this algorithm process the image's border.
|
void |
process(boofcv.struct.image.GrayF32 template)
Matches the template to the image and computes an intensity image.
|
void |
process(boofcv.struct.image.GrayF32 template,
boofcv.struct.image.GrayF32 mask)
Matches the template with a mask to the image and computes an intensity image.
|
void |
setInputImage(boofcv.struct.image.GrayF32 image)
Specifies the input image which the template is going ot be matched against
|
public void setInputImage(boofcv.struct.image.GrayF32 image)
TemplateMatchingIntensitysetInputImage in interface TemplateMatchingIntensity<boofcv.struct.image.GrayF32>image - Input image. Not modified.public void process(boofcv.struct.image.GrayF32 template)
TemplateMatchingIntensityTemplateMatchingIntensity.setInputImage(ImageBase) firstprocess in interface TemplateMatchingIntensity<boofcv.struct.image.GrayF32>template - Template image. Must be equal to or smaller than the input image. Not modified.public void process(boofcv.struct.image.GrayF32 template,
boofcv.struct.image.GrayF32 mask)
TemplateMatchingIntensityTemplateMatchingIntensity.setInputImage(ImageBase) firstprocess in interface TemplateMatchingIntensity<boofcv.struct.image.GrayF32>template - Template image. Must be equal to or smaller than the input image. Not modified.mask - Mask that identifies how translucent pixels. 0 = 100% transparent and all values above
increase its importance. Typical values are 0 to 255 for integer images and 0.0 to 1.0 for
floating point.public boofcv.struct.image.GrayF32 getIntensity()
TemplateMatchingIntensityNonMaxSuppression.
See comment about processing the image border.getIntensity in interface TemplateMatchingIntensity<boofcv.struct.image.GrayF32>public boolean isBorderProcessed()
TemplateMatchingIntensityisBorderProcessed in interface TemplateMatchingIntensity<boofcv.struct.image.GrayF32>public int getBorderX0()
TemplateMatchingIntensitygetBorderX0 in interface TemplateMatchingIntensity<boofcv.struct.image.GrayF32>public int getBorderX1()
TemplateMatchingIntensitygetBorderX1 in interface TemplateMatchingIntensity<boofcv.struct.image.GrayF32>public int getBorderY0()
TemplateMatchingIntensitygetBorderY0 in interface TemplateMatchingIntensity<boofcv.struct.image.GrayF32>public int getBorderY1()
TemplateMatchingIntensitygetBorderY1 in interface TemplateMatchingIntensity<boofcv.struct.image.GrayF32>