| Feature | Grayscale Image | RGB Image |
|---|---|---|
| Channels | Single channel (1 plane) | Three channels — Red, Green, Blue |
| Pixel value | One value per pixel (0–255) | Three values per pixel (R, G, B) |
| Storage size | Height × Width | Height × Width × 3 |
| Representation | Shades of gray (black to white) | Full colour image |
A grayscale image stores each pixel using 1 byte (single intensity value), while an RGB image stores each pixel using 3 values combining red, green, and blue intensities to produce colour.
Source: Chapter 5, Sections — Grayscale Images & RGB Images
---