以下のコードを Visual Studio 2010 で実行すると、次のエラーが発生します。Run-Time Check Failure #2 - Stack around the variable 'keypoints' was corrupted.
#include<iostream>
#include<fstream>
#include<cv.h>
#include<highgui.h>
#include<opencv2/nonfree/features2d.hpp>
using namespace std;
using namespace cv;
int main(int argc, char *argv[])
{
    Mat image = imread("C:/IMAGE.JPG");
    SiftFeatureDetector detector;
    vector<KeyPoint> keypoints;
    detector.detect(image, keypoints);
    return 0;
}
私が間違っていることは何ですか?