Ask Your Question

Revision history [back]

How to create a image matrix of pixels showing there value

Hi I have a project where I would like to zoom in on an EOI (pointed to by mouse) on a displayed image and have a pop up image of say 21 x 21 pixels around the EOI showing their value and and color (color or grayscale) with the text of the value in the reverse color scheme. Basically like shown here https://docs.opencv.org/2.4/_images/Histogram_Calculation_Theory_Hist0.jpg The project is in C++ using MSVC. It has a feature that allows you to zoom into an image called Image Watch, I would like to have this as an output.

Any help would be great

Cheers Dave