Package boofcv.factory.template
Class FactoryTemplateMatching
java.lang.Object
boofcv.factory.template.FactoryTemplateMatching
Factory for creating template matching algorithms.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T extends ImageGray<T>>
TemplateMatchingIntensity<T>createIntensity(TemplateScoreType type, Class<T> imageType) CreatesTemplateMatchingIntensityof the specified type.static <T extends ImageGray<T>>
TemplateMatching<T>createMatcher(TemplateScoreType type, Class<T> imageType) Creates an instance ofTemplateMatchingfor the specified score type.
-
Constructor Details
-
FactoryTemplateMatching
public FactoryTemplateMatching()
-
-
Method Details
-
createIntensity
public static <T extends ImageGray<T>> TemplateMatchingIntensity<T> createIntensity(TemplateScoreType type, Class<T> imageType) CreatesTemplateMatchingIntensityof the specified type. Likely matches can be extracted usingNonMaxSuppression.- Parameters:
type- Type of error functionimageType- Image type being processed- Returns:
TemplateMatchingIntensityof the specified type.
-
createMatcher
public static <T extends ImageGray<T>> TemplateMatching<T> createMatcher(TemplateScoreType type, Class<T> imageType) Creates an instance ofTemplateMatchingfor the specified score type.- Parameters:
type- Type of error functionimageType- Image type being processed- Returns:
TemplateMatchingof the specified type.
-