boofcv.alg.feature.detect.template
Class TemplateNCC<T extends ImageBase>
- java.lang.Object
-
- boofcv.alg.feature.detect.template.BaseTemplateIntensity<T>
-
- boofcv.alg.feature.detect.template.TemplateNCC<T>
-
- All Implemented Interfaces:
- TemplateMatchingIntensity<T>
- Direct Known Subclasses:
- TemplateNCC.F32, TemplateNCC.U8
public abstract class TemplateNCC<T extends ImageBase> extends BaseTemplateIntensity<T>
Template matching which uses normalized cross correlation (NCC).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class and Description static classTemplateNCC.F32static classTemplateNCC.U8
-
Constructor Summary
Constructors Constructor and Description TemplateNCC()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method and Description booleanisBorderProcessed()Does this algorithm process the image's border.voidprocess(T image, T template)Matches the template to the image and computes an intensity image.abstract voidsetupTemplate(T template)Precompute statistical information on the template-
Methods inherited from class boofcv.alg.feature.detect.template.BaseTemplateIntensity
getBorderX0, getBorderX1, getBorderY0, getBorderY1, getIntensity, process
-
-
-
-
Method Detail
-
process
public void process(T image, T template)
Description copied from interface:TemplateMatchingIntensityMatches the template to the image and computes an intensity image.- Specified by:
processin interfaceTemplateMatchingIntensity<T extends ImageBase>- Overrides:
processin classBaseTemplateIntensity<T extends ImageBase>- Parameters:
image- Input image. Not modified.template- Template image. Must be equal to or smaller than the input image. Not modified.
-
setupTemplate
public abstract void setupTemplate(T template)
Precompute statistical information on the template
-
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