With J: image processing 2: color spaces

Using Red-Green-Blue triples to describe colors is common and often quite convenient. However, other color models may be more convenient or appropriate for many types of image analysis and processing. We will discuss conversion between RGB and YUV, YIQ, HSV, HLS, HSI color spaces. We create histograms of the distribution of the color components in those spaces and give examples of how to correct defects and make improvements in various color spaces.