Images are stored with 8 bits (0–255) or 16 bits (0–65535) per channel, as grayscale (1 channel) or colour (3 channels, plus optional alpha).
References
- OpenCV 4.x documentation — Color conversions (RGB ↔ GRAY). docs.opencv.org/4.x/de/d25/imgproc_color_conversions.html
- ITU-R Recommendation BT.601: Studio encoding parameters of digital television. www.itu.int/rec/R-REC-BT.601