Quantcast
Channel: OpenCV Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 41027

What is the algorithm of basic opencv image stitching (sift or surf )??

$
0
0
Hi, I am OpenCV beginner, and i want to stitch 2-images using opencv. So i am finding typical algorithm(sift, surf). But, I knew that opencv support image stitching(below). In this below(stitcher.stitch), what algorithm is used for image stitching? I looked stitcher class, But i couldn't found in detail. Please tell me the concept of image stitching which opencv supported and also performances. ------------------------------------------------- void main() { vector< Mat > vImg; Mat rImg; vImg.push_back( imread("./stitching_img/S1.jpg") ); vImg.push_back( imread("./stitching_img/S2.jpg") ); vImg.push_back( imread("./stitching_img/S3.jpg") ); vImg.push_back( imread("./stitching_img/S4.jpg") ); vImg.push_back( imread("./stitching_img/S5.jpg") ); vImg.push_back( imread("./stitching_img/S6.jpg") ); Stitcher stitcher = Stitcher::createDefault(); unsigned long AAtime=0, BBtime=0; //check processing time AAtime = getTickCount(); //check processing time Stitcher::Status status = stitcher.stitch(vImg, rImg); BBtime = getTickCount(); //check processing time printf("%.2lf sec \n", (BBtime - AAtime)/getTickFrequency() ); //check processing time if (Stitcher::OK == status) imshow("Stitching Result",rImg); else printf("Stitching fail."); waitKey(0); }

Viewing all articles
Browse latest Browse all 41027

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>