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.