code: public static <T extends ImageGray<T>>
  	TemplateMatching<T> createMatcher(TemplateScoreType type, Class<T> imageType) {
  		TemplateMatchingIntensity<T> intensity = createIntensity(type, imageType);
  
  		return new TemplateMatching<>(intensity);
  	}
docs: Creates an instance of {@link TemplateMatching} for the specified score type.
  
  @param type      Type of error function
  @param imageType Image type being processed
  @return {@link TemplateMatching} of the specified type.