Commit 66fc6126 authored by 侯骥's avatar 侯骥 Committed by Dikay900

Update MatchTemplate_Demo.cpp

parent 8b58b59d
...@@ -60,7 +60,7 @@ void MatchingMethod( int, void* ) ...@@ -60,7 +60,7 @@ void MatchingMethod( int, void* )
int result_cols = img.cols - templ.cols + 1; int result_cols = img.cols - templ.cols + 1;
int result_rows = img.rows - templ.rows + 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 /// Do the Matching and Normalize
matchTemplate( img, templ, result, match_method ); matchTemplate( img, templ, result, match_method );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment