Ask Your Question

Revision history [back]

Follow the following guide about lookup tables in OpenCV and see if it can fix your problem. If I understand your question correctly, this is all you need.

http://docs.opencv.org/doc/tutorials/core/how_to_scan_images/how_to_scan_images.html