Ask Your Question

Dhaval Kriplani's profile - activity

2017-03-05 08:31:30 -0600 received badge  Necromancer (source)
2017-03-04 01:25:37 -0600 answered a question OpenCV Machtching Feature

vector<matchesinfo> pairwise_matches;
BestOf2NearestMatcher matcher(false, 0.3f);

Mat matchMask(features.size(),features.size(),CV_8U,Scalar(0));
for (int i = 0; i < num_images -1; ++i)
matchMask.at<char>(i,i+1) =1;

matcher(features, pairwise_matches, matchMask);
matcher.collectGarbage();

Replace this code in your stitching_detailed.cpp and you'll be able to perform linear pairwise matching, as you already know the sequence of images.

2017-01-28 04:21:27 -0600 received badge  Enthusiast
2017-01-23 07:54:02 -0600 asked a question How to use GraphCutSeamFinder?

I'm new to opencv and I haven't found anything on the internet on how to use GraphCutSeamFinder. I am performing image stitching as a project and I have reached on finding a seam in the images after which I can stitch the images. So far whatever I've studied on image stitching, I've found that Graph Cut seam finding is a very good option for finding a seam.

Here's from where I came to know about GraphCutSeamFinder - docs.opencv.org/2.4/modules/stitching/doc/seam_estimation.html

I am using python for the image stitching project and it seems that GraphCutSeamFinder is only available in opencv C++. If there is a method to find a seam in python do enlighten me.

If there's a better way to find a seam, please let me know.

Thank you in advance.