An image consists of pixels, which are the smallest elements of an image, and each pixel can be described using three color channels. These are the red, green, and blue channels: also known as RGB values. The reason why we describe an image using these values is because a combination of these three colors can produce all possible color pallets.
The link to a color channel exercise in python is found here: https://github.com/maese005/GLBIO-2021 The images associated with this notebook are also located at that link (see Data directory for the covid-19 and breast cancer image).
The figure above represents the red, green, and blue color channels in the histology image provided.
Comments