开发者

Image processing in C++

If I want to work with images in C++ like reading and displaying them, in addition to making some operations on them, where do you recommend someone to start? Are there开发者_运维知识库 specific libraries you recommend using for image processing for example?

Thanks.


I've understood OpenCV to be a great imaging library, and can be used with a handful of languages (one of which is C++).


Intel has a very strong library: http://opencv.willowgarage.com/wiki/

I've been using Cimg http://cimg.sourceforge.net/ which was easy to use.


There are lots of C++ image handling and image processing libraries. @fbrereto mentions OpenCV, but note that OpenCV is geared towards computer vision, and as such is not very convenient for simplest things. It also relies on coding techniques that are technically Undefined Behavior, such as just giving a hot damn about alignment requirements, but it has some nifty algorithms for vision work.

ImageMagick is a good allround image handling library. I used it some ten years ago. At that time, though, it had a problem with loading JPEGs, where it just asserted out on error, instead of producing an exception.

Also, Boost has functionality for image processing, but not display.

On Windows platform you can use GDI++.

Not sure about platform-specific libraries for other platforms.

Cheers & hth.


Definitely look into CxImage. If I am not mistaken, it is used in a number of applications that do some graphic image processing, and can be readily used from or incorporated int other applications.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜