![]() | 1 | initial version |
Basically this guide tells you how thresholding works, but this is in the old C-style API.
http://8a52labs.wordpress.com/tag/thresholding-images-in-opencv/
After reading through it, to get the grasp of it, look at this for the C++ interface, which is much easier to handle.