Ask Your Question

AbdulWahab's profile - activity

2020-01-13 00:05:40 -0600 received badge  Notable Question (source)
2019-01-21 21:19:59 -0600 received badge  Popular Question (source)
2017-10-26 02:01:03 -0600 commented question Faced difficulty in stitching images to make panoramic image

I just want to know about from warp perspective section. I think that above warp perspective all are correct. Kindly tel

2017-10-25 06:52:35 -0600 received badge  Editor (source)
2017-10-25 06:52:35 -0600 edited question Faced difficulty in stitching images to make panoramic image

Faced difficulty in stitching images to make panoramic image I would like to make panoramic imaging without using Stitch

2017-10-25 06:50:42 -0600 asked a question Faced difficulty in stitching images to make panoramic image

Faced difficulty in stitching images to make panoramic image I would like to make panoramic imaging without using Stitch

2017-10-24 02:39:23 -0600 received badge  Enthusiast
2017-10-18 08:36:57 -0600 received badge  Supporter (source)
2017-10-18 03:42:42 -0600 asked a question find fundamental matrix between four cameras

find fundamental matrix between four cameras I would like to know how I find fundamental matrix between four cameras wit

2017-10-12 07:26:49 -0600 marked best answer feature extraction and matching multiple images within a for loop

I am extracting features of multiple images using surf features. The problem is this that I want to save keypoints which I do not understant how to do it. The reason to save this keypoints to use it in matching process. Below I provide the code

#include < stdio.h >  
#include < opencv2\opencv.hpp >  
#include < opencv2\stitching\stitcher.hpp >

#include <opencv2/core/core.hpp>
#include <opencv2/highgui/highgui.hpp>
#include <opencv2/calib3d/calib3d.hpp>
#include <opencv2/features2d/features2d.hpp>
#include <opencv2/nonfree/nonfree.hpp>
#include <opencv2/imgproc/imgproc.hpp>
#include <opencv2/legacy/legacy.hpp>


using namespace std;
using namespace cv;
/* @function main */
int main( int argc, char** argv )
{
    vector< Mat > vImg;
    int minHessian = 400;
    std::vector<KeyPoint> keypoints;
    Mat img_keypoints;
        vector< Mat > img_keypoints_save;

    vImg.push_back( imread("E:/A wahab/Masters Work/Camera Array/sample images/stitching_img/S1.jpg") );
    vImg.push_back( imread("E:/A wahab/Masters Work/Camera Array/sample images/stitching_img/S2.jpg") );
    vImg.push_back( imread("E:/A wahab/Masters Work/Camera Array/sample images/stitching_img/S3.jpg") );
    vImg.push_back( imread("E:/A wahab/Masters Work/Camera Array/sample images/stitching_img/S4.jpg") );
    for (int i=0; i<4; i++)
    {
        if (vImg[i].empty()) //check whether the image is loaded or not
        {
            cout << "Error : Image cannot be loaded..!!" << endl;
            system("pause"); //wait for a key press
            return -1;
         }
   // step 1 : Extract features using surf features
    SurfFeatureDetector detector( minHessian );
    detector.detect( vImg[i], keypoints );
    drawKeypoints(vImg[i], keypoints, img_keypoints, Scalar::all(-1), DrawMatchesFlags::DEFAULT );
    img_keypoints_save.push_back(img_keypoints);
    namedWindow("win%d" , CV_WINDOW_AUTOSIZE); //create a window with the name "MyWindow"
    imshow("Keypoints", img_keypoints );
    waitKey(1000);
}

To compute descriptors I need keypoints, thats why I want to save it. So please tell me how to solve this problem. I am really thankful to you

2017-10-12 07:26:48 -0600 commented answer feature extraction and matching multiple images within a for loop

Thank you so much

2017-10-12 06:38:36 -0600 marked best answer Display multiple images on multiple windows

I have Open CV 2.4.9 with visual studio 12. I would like to display multiple images on multiple windows using for loop. Currently, I am doing this with waitkey() function. This showed me multiple images on a single window after specific time which I mentioned in the waitkey(100) function. I want that every image should be displayed on different windows like if there are four images so four images should be displayed on four windows. How could I do this kindly tell me. I am really thankful

2017-10-12 06:38:36 -0600 received badge  Scholar (source)
2017-10-12 06:35:43 -0600 asked a question feature extraction and matching multiple images within a for loop

feature extraction and matching multiple images within a for loop I am extracting features of multiple images using surf

2017-10-12 06:23:41 -0600 commented answer Display multiple images on multiple windows

Thank you so much for your reply

2017-10-12 04:59:55 -0600 commented answer Display multiple images on multiple windows

Thank you so much for your reply

2017-10-11 06:09:30 -0600 asked a question Display multiple images on multiple windows

Display multiple images on multiple windows I have Open CV 2.4.9 with visual studio 12. I would like to display multiple