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