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:
where:
Likewise, the reverse transform is as follows:
where:
For = 0, conversion from TSL to RGB is not unique because the sign of is lost in this case. In practice you can work this around by using signed zero for and thus preserving the sign of.

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 ElementsCD CR
TSL25890.884.9
r-g32874.680.3
CIE-xy38856.683.5
CIE-DSH31860.975.0
HSV40855.784.7
YIQ47147.379.8
YES49441.680.3
CIELUV41824.179.0
CIELAB39938.483.6

Disadvantages of TSL

TSL space could be made more efficient and robust. There currently exists no color correction algorithms for different camera systems. Additionally, despite a better accuracy of skin tone detection, detecting dark skin color still proves to be a challenge.

Applications

Being a relatively new color space and having very specific uses, TSL hasn’t been widely implemented. Again, it is only very useful in skin detection algorithms. Skin detection itself can be used for a variety of applications – face detection, person tracking, and pornography filtering are a few examples. A Self-Organizing Map was implemented in skin detection using TSL and achieved comparable results to older methods of histograms and Gaussian mixture models.