TSL color space
TSL color space is a perceptual color space which defines color as tint, saturation, and lightness. Proposed by Jean-Christophe Terrillon and Shigeru Akamatsu, TSL color space was developed primarily for the purpose of face detection.
Conversion between RGB and TSL
The conversion from gamma-corrected RGB values to TSL is straightforward:- - the zero special case is to maintain the original behavior
- - the Luma
- - the rg chromaticity
- - centering on white
where:
- - Luma converted to average intensity
Advantages of TSL
The advantages of TSL color space lie within the normalization within the RGB-TSL transform. Utilizing normalized r and g allows for chrominance spaces TSL to be more efficient for skin color segmentation. Additionally with this normalization, the sensitivity of the chrominance distributions to the variability of skin color is significantly reduced, allowing for an easier detection of different skin tones.Comparison of TSL to other color spaces
Terrillon investigated the efficiency of facial detection for several different color spaces. Testing consisted of using the same algorithm with 10 different color spaces to detect faces in 90 images with 133 faces and 59 subjects - 27 Asian, 31 Caucasian, and 1 African). TSL showed superior performance to the other spaces, with 90.8% correct detection and 84.9% correct rejection. A full comparison can be seen in the table below.| Color Space | # of Elements | CD | CR |
| TSL | 258 | 90.8 | 84.9 |
| r-g | 328 | 74.6 | 80.3 |
| CIE-xy | 388 | 56.6 | 83.5 |
| CIE-DSH | 318 | 60.9 | 75.0 |
| HSV | 408 | 55.7 | 84.7 |
| YIQ | 471 | 47.3 | 79.8 |
| YES | 494 | 41.6 | 80.3 |
| CIELUV | 418 | 24.1 | 79.0 |
| CIELAB | 399 | 38.4 | 83.6 |