Ask Your Question

Revision history [back]

jpg does not show

Hello

The following code does not work with this image : http://dl.free.fr/vahKqrTqs while it works successfully with the cow image from this page : http://docs.opencv.org/doc/tutorials/imgproc/imgtrans/laplace_operator/laplace_operator.html?highlight=laplacian

Any idea ?

cv::Mat img = cv::imread("R0010054.JPG");

if(img.empty())
{
    return -1;
}

cv::imshow("image", img);

Thanks Julien