boofcv.examples.features
Class ExampleTemplateMatching
- java.lang.Object
-
- boofcv.examples.features.ExampleTemplateMatching
-
public class ExampleTemplateMatching extends java.lang.ObjectExample of how to find objects inside an image using template matching. Template matching works well when there is little noise in the image and the object's appearance is known and static. It can also be very slow to compute, depending on the image and template size.
-
-
Constructor Summary
Constructors Constructor and Description ExampleTemplateMatching()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static voidmain(java.lang.String[] args)static voidshowMatchIntensity(GrayF32 image, GrayF32 template, GrayF32 mask)Computes the template match intensity image and displays the results.
-
-
-
Method Detail
-
showMatchIntensity
public static void showMatchIntensity(GrayF32 image, GrayF32 template, GrayF32 mask)
Computes the template match intensity image and displays the results. Brighter intensity indicates a better match to the template.
-
main
public static void main(java.lang.String[] args)
-
-
DataMelt 3.0 © DataMelt by jWork.ORG