kamilk
kamilk

Reputation: 4039

C++ image library - finding pixels of a colour and making them white, everything else black

I'm looking for a C++ image processing library with which I would be able to find all pixels of a certain colour, with a user-specified tolerance, and colour them white and everything else in the picture black. Do you know of any?

If it were a C++ library, not one of plain C ones, which I'm allergic to, it would be a bonus.

Upvotes: 1

Views: 871

Answers (3)

qdot
qdot

Reputation: 6335

Or perhaps a CImg - a wonderful header-only image manipulation library.

http://cimg.sf.net

Upvotes: 1

Hakan Serce
Hakan Serce

Reputation: 11256

You should check OpenCV. It has both C and C++ (based on OO principles) APIs.

Upvotes: 3

OpenCV can do this task and many more!

Upvotes: 1

Related Questions