Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

OpenCV Single Channel Pixel Value Number Colour

Hey guys, do you know how opencv decides on the colour of the pixel value number as seen in the attached image? This is a max zoomed in portion of the red channel in an rgb image in opencv imshow. I'm interested in how they decide to colour the number white/grey/black.

image description

For example, in the image, pixels with values 128 and above are black whereas below 128, it's closer to white.

I've searched for any answers to this but found none.

OpenCV Single Channel Pixel Value Number Colour

Hey guys, do you know how opencv decides on the colour of the pixel value number as seen in the attached image? This is a max zoomed in portion of the red channel in an rgb image in opencv imshow. I'm interested in how they decide to colour the number white/grey/black.

image description

For example, in the image, pixels with values 128 and above are black whereas below 128, it's closer to white.

I've searched for any answers to this but found none.

See better image @ https://drive.google.com/file/d/1y1oHgqeDxWXpdjQwITjGK6nX4d2jkHMC/view?usp=sharing

OpenCV Single Channel Pixel Value Number Colour

Hey guys, do you know how opencv decides on the colour of the pixel value number as seen in the attached image? This is a max zoomed in portion of the red channel in an rgb image in opencv imshow. I'm interested in how they decide to colour the number white/grey/black.

image description

For example, in the image, pixels with values 128 and above are black whereas below 128, it's closer to white.

I've searched for any answers to this but found none.

See better image @ https://drive.google.com/file/d/1y1oHgqeDxWXpdjQwITjGK6nX4d2jkHMC/view?usp=sharingnone.