mirror of
https://github.com/opencv/opencv_contrib.git
synced 2025-10-21 06:11:09 +08:00
Updated internal calls to linear resize to use bit-exact version
This commit is contained in:
@@ -197,8 +197,8 @@ int main( int argc, char** argv )
|
||||
|
||||
/* plot matches */
|
||||
cv::Mat lsd_outImg;
|
||||
resize( imageMat1, imageMat1, Size( imageMat1.cols / 2, imageMat1.rows / 2 ) );
|
||||
resize( imageMat2, imageMat2, Size( imageMat2.cols / 2, imageMat2.rows / 2 ) );
|
||||
resize( imageMat1, imageMat1, Size( imageMat1.cols / 2, imageMat1.rows / 2 ), 0, 0, INTER_LINEAR_EXACT );
|
||||
resize( imageMat2, imageMat2, Size( imageMat2.cols / 2, imageMat2.rows / 2 ), 0, 0, INTER_LINEAR_EXACT );
|
||||
std::vector<char> lsd_mask( matches.size(), 1 );
|
||||
drawLineMatches( imageMat1, octave0_1, imageMat2, octave0_2, good_matches, lsd_outImg, Scalar::all( -1 ), Scalar::all( -1 ), lsd_mask,
|
||||
DrawLinesMatchesFlags::DEFAULT );
|
||||
|
Reference in New Issue
Block a user