From be1728fba16120fd89fc10f823278bb8f630bab3 Mon Sep 17 00:00:00 2001 From: StevenPuttemans Date: Wed, 28 Jan 2015 13:56:29 +0100 Subject: [PATCH] fixing tutorial errors master branch --- .../imgproc/histograms/template_matching/template_matching.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/tutorials/imgproc/histograms/template_matching/template_matching.markdown b/doc/tutorials/imgproc/histograms/template_matching/template_matching.markdown index 58774c6..9cf4e21 100644 --- a/doc/tutorials/imgproc/histograms/template_matching/template_matching.markdown +++ b/doc/tutorials/imgproc/histograms/template_matching/template_matching.markdown @@ -146,7 +146,7 @@ Explanation int result_cols = img.cols - templ.cols + 1; int result_rows = img.rows - templ.rows + 1; - result.create( result_cols, result_rows, CV_32FC1 ); + result.create( result_rows, result_cols, CV_32FC1 ); @endcode -# Perform the template matching operation: @code{.cpp} -- 2.7.4