Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

come back to earth, get rid of that boost nonsense, and just use cv::format :

int nBlur[] = {5, 7, 13}; for (int i=0; i<3; i++) { int b=nBlur[i]; GaussianBlur(imgGray, imgGrayBlur, Size(b,b), 0, 0 ); //imshow("Blurring image", imgGrayBlur); Mat blurred(imgGrayBlur);

cv::String filename = format("imgBlur%d.png", b);
imwrite(filename, imgGrayBlur);

}

come back to earth, get rid of that boost nonsense, and just use cv::format :

int nBlur[] = {5, 7, 13};
for (int i=0; i<3; i++)
{
int b=nBlur[i];
GaussianBlur(imgGray, imgGrayBlur, Size(b,b), 0, 0 );
//imshow("Blurring image", imgGrayBlur);
Mat blurred(imgGrayBlur);

blurred(imgGrayBlur);
 cv::String filename = format("imgBlur%d.png", b);
 imwrite(filename, imgGrayBlur);
}

}