test.cpp

File that reproduces the bug with minimal code - Kirt Lillywhite, 2010-03-10 02:51 am

Download (278 Bytes)

 
1
#include <vector>
2
#include <cv.h>
3
#include <highgui.h>
4
#include <iostream>
5
6
using namespace std;
7
using namespace cv;
8
9
int main() {
10
        Mat img = imread("test_image.png", 0);
11
        Rect rect(61,64,2,59);
12
        Mat sub = Mat(img, rect);
13
        Mat dst;
14
        GaussianBlur(sub, dst, Size(11,11), 0, 0);
15
}