Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

OpenCV 3.0- Exception when trying to open monochrome tiff

Hello Team,

I am getting an exception while trying to load a monochrome tiff having CCITT Group 4 Fax Encoding compression.

The environment I am using is as follows: Visual Studio 2013 (VS 12) 32 Bit Windows 7 64 Bit Open CV 3.0 I am facing the issue in both compiled OpenCV from source code and direct binaries provided.

Please review and suggest.

Thanks a lot.

OpenCV 3.0- Exception when trying to open monochrome tiff

Hello Team,

I am getting an exception while trying to load a monochrome tiff having CCITT Group 4 Fax Encoding compression.

The environment I am using is as follows: Visual Studio 2013 (VS 12) 32 Bit Windows 7 64 Bit Open CV 3.0 I am facing the issue in both compiled OpenCV from source code and direct binaries provided.

C:\fakepath\Koala.tiff C:\fakepath\Tiff_Load_Exception.tiff

Code is as below:

include "opencv2/highgui/highgui.hpp"

include "opencv2/imgproc/imgproc.hpp"

include <iostream>

using namespace std; int main(int argc, char* argv) { //const char filename = argc >= 2 ? argv[1] : "pic1.jpg"; const char* filename = "Koala.tif"; //Mat src; Mat src = imread(filename, 0);

if (src.empty())
{
    help();
    cout << "can not open " << filename << endl;
    return -1;
}
return 0;

}

Please review and suggest.

Thanks a lot.

OpenCV 3.0- Exception when trying to open monochrome tiff

Hello Team,

I am getting an exception while trying to load a monochrome tiff having CCITT Group 4 Fax Encoding compression.

The environment I am using is as follows: Visual Studio 2013 (VS 12) 32 Bit Windows 7 64 Bit Open CV 3.0 I am facing the issue in both compiled OpenCV from source code and direct binaries provided.

C:\fakepath\Koala.tiff C:\fakepath\Tiff_Load_Exception.tiff

Code is as below:

include "opencv2/highgui/highgui.hpp"

include "opencv2/imgproc/imgproc.hpp"

include <iostream>

using namespace std; below: int main(int argc, char* argv) { //const char filename = argc >= 2 ? argv[1] : "pic1.jpg"; const char* filename = "Koala.tif"; //Mat src; Mat src = imread(filename, 0);

if (src.empty())
{
    help();
    cout << "can not open " << filename << endl;
    return -1;
}
return 0;

}

Please review and suggest.

Thanks a lot.

OpenCV 3.0- Exception when trying to open monochrome tiff

Hello Team,

I am getting an exception while trying to load a monochrome tiff having CCITT Group 4 Fax Encoding compression.

The environment I am using is as follows: Visual Studio 2013 (VS 12) 32 Bit Windows 7 64 Bit Open CV 3.0 I am facing the issue in both compiled OpenCV from source code and direct binaries provided.

C:\fakepath\Koala.tiff C:\fakepath\Tiff_Load_Exception.tiff

Code is as below: below:

int main(int argc, char* argv) { //const char filename = argc >= 2 ? argv[1] : "pic1.jpg"; const char* filename = "Koala.tif"; //Mat src; Mat src = imread(filename, 0);

if (src.empty())
{
    help();
    cout << "can not open " << filename << endl;
    return -1;
}
return 0;

}

Please review and suggest.

Thanks a lot.

OpenCV 3.0- Exception when trying to open monochrome tiff

Hello Team,

I am getting an exception while trying to load a monochrome tiff having CCITT Group 4 Fax Encoding compression.

The environment I am using is as follows: Visual Studio 2013 (VS 12) 32 Bit Windows 7 64 Bit Open CV 3.0 I am facing the issue in both compiled OpenCV from source code and direct binaries provided.

C:\fakepath\Koala.tiff C:\fakepath\Tiff_Load_Exception.tiff

Code is as below:

int main(int argc, char* argv) { //const char filename = argc >= 2 ? argv[1] : "pic1.jpg"; const char* filename = "Koala.tif"; "Koala.tiff"; //Mat src; Mat src = imread(filename, 0);

if (src.empty())
{
    help();
    cout << "can not open " << filename << endl;
    return -1;
}
return 0;

}

Please review and suggest.

Thanks a lot.