Update MatchTemplate_Demo.cpp

This commit is contained in:
侯骥
2014-06-11 10:29:30 +02:00
committed by Dikay900
parent 8b58b59df4
commit 66fc6126d2

View File

@@ -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 );