Feature Matching Large images
Hello everyone! I have a little problem with the feature matching. I'm using this method with Ptr<SurfFeatureDetector> detector = SurfFeatureDetector::create(minHessian);
instead of
SurfFeatureDetector detector( minHessian );
But I'm using it with enormous images (72Mb / 11804 * 5850px) and when I start the program, my computer freeze! It just freeze! Nothing works any more. I just waited 30mn and nothing happened. I was wondering if there is a method that can work to do feature matching with those big images (like, if the L2-SIFT is implemented?)
Thanks in advance :)
Have a nice day everyone! :)
Edit :
Sorry, that's right I didn't give informations. I'm actually on Windows 7 SP1, using a DELL with 4Gb RAM.
I'm working with OpenCV 3.1.0
And the code I have is :
`Mat
Mat img_1 = imread("... /Large image/", /*Large image*/", IMREAD_GRAYSCALE);
Mat img_2 = imread("..."/Little image/, IMREAD_GRAYSCALE);
imread("..."/*Little image*/, IMREAD_GRAYSCALE);
//-- Step 1: Detect the keypoints using SURF Detector
int minHessian = 400;
Ptr<SurfFeatureDetector> detector = SurfFeatureDetector::create(minHessian);
//SurfFeatureDetector detector(minHessian);
std::vector<KeyPoint> keypoints_1, keypoints_2;
detector->detect(img_1, keypoints_1);
detector->detect(img_2, keypoints_2);
std::cout << " Step 1" << std::endl;`
std::endl;
and my computer doesn't type "Step 1" in the console, so I suppose the problem come from
detector->detect(img_1, keypoints_1);
I know it works when I resize img_1 by a factor of 0.5 . So I'm sure it's a memory problem.