Tuesday, July 14, 2009

How do I load an image in C++ programming?

I'm not allowed to use Visual Studio or other GUI type compiler. The coding is to be done in Linux





Basically I'm trying to load an image and try to see it's RBG values of a specific pixel that I want to analyse

How do I load an image in C++ programming?
You have to read Help section of your C++ Compiler for that.
Reply:Yeah I found a better solution using OPENCV Report It

Reply:include the libraries corresponding to the image type. look at the files libjpeg* for jpeg. There should be more such libs. Just look around. It gets easier to locate in Debian or one of its derivatives. I used 'aptitude search jpeg' to find out these libs.

survey monkey

No comments:

Post a Comment