Update MatchTemplate_Demo.cpp

pull/2850/head
侯骥 11 years ago
parent 88ceee05c6
commit 055adc2302
  1. 2
      samples/cpp/tutorial_code/Histograms_Matching/MatchTemplate_Demo.cpp

@ -60,7 +60,7 @@ void MatchingMethod( int, void* )
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 );
/// Do the Matching and Normalize
matchTemplate( img, templ, result, match_method );

Loading…
Cancel
Save