TSL color space

TSL color space (Tint, Saturation and Lightness ) is a perceptual color space which defines color as tint (the degree to which a stimulus can be described as similar to or different from another stimuli that are described as red, green, blue, yellow, and white, can be thought of as hue with white added), saturation (the colorfulness of a stimulus relative to its own brightness), and lightness (the brightness of a stimulus relative to a stimulus that appears white in similar viewing conditions). Proposed by Jean-Christophe Terrillon and Shigeru Akamatsu,[1] TSL color space was developed primarily for the purpose of face detection.

## Contents

* 1 Conversion between RGB and TSL
* 2 Advantages of TSL
* 2.1 Comparison of TSL to other color spaces
* 3 Disadvantages of TSL
* 4 Applications
* 5 See also
* 6 References

## Conversion between RGB and TSL

rg chromaticities

The conversion from gamma-corrected RGB values (0-1) to TSL is straightforward:[1]

* T={0.5−atan2⁡(g′,r′)2π,ifg′≠00,ifg′=0 - the zero special case is to maintain the original behavior
* S=95(r'2+g'2)
* L=0.299R+0.587G+0.114B - the Luma

where:

* r=RR+G+B,g=GR+G+B - the rg chromaticity
* r′=r−13,g′=g−13 - centering on white

Likewise, the reverse transform is as follows:[2]

* R=k⋅r
* G=k⋅g
* B=k⋅(1−r−g)

where:

* r=r′+13
* g=g′+13
* r′=5S29(x−1+1)
* g′=5S29(x+1)
* k=L0.185r+0.473g+0.114 - Luma converted to average intensity
* x=tan2(2π⋅(T−14))

For T = 0, conversion from TSL to RGB is not unique because the sign of r' is lost by the forward conversion due to the g' = 0 special case. Removing the special case produces a system that deviates from the original paper but preserves the sign.

## 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.[3]

### 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.[3]

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

## 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.[1]

## 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 (for surveillance and cinematographic purposes), and pornography filtering are a few examples. A Self-Organizing Map (SOM) was implemented in skin detection using TSL and achieved comparable results to older methods of histograms and Gaussian mixture models.[4]

## See also

* HSL and HSV
* Face detection
* List of color spaces and their uses

## References

1. ↑ 1.0 1.1 1.2 Terrillon, Jean-Christophe; Akamatsu, Shigeru (1998). "Automatic Detection of Human Faces in Natural Scene Images by Use of a Skin Color Model and of Invariant Moments". Proc. Of the Third International Conference on Automatic Face and Gesture Recognition. Nara, Japan. pp. 130–135.
2. ↑ Dmitry Ivanov (21 June 2023). "Color-space: tsl.js". https://github.com/colorjs/color-space/blob/822a488ad752326f85bd5491a853a4a5c32adc59/tsl.js.
3. ↑ 3.0 3.1 Terrillon, Jean-Christophe; Akamatsu, Shigeru (1999). "Comparative performance of different skin chrominance models and chrominance spaces for the automatic detection of human faces in color images". Proceedings Fourth IEEE International Conference on Automatic Face and Gesture Recognition (Cat. No. PR00580). 99. pp. 54–61. doi:10.1109/AFGR.2000.840612. ISBN 0-7695-0580-5.
4. ↑ Brown, D.; Craw, I.; Lewthwaite, J. (2001). "A SOM Based Approach to Skin Detection with Application in Real Time Systems". British Machine Vision Conference. Manchester, United Kingdom.

* v
* t
* e

Color space

* List of color spaces
* Color models

CAM|

* CIECAM02
* iCAM

CIE|

* XYZ (1931)
* RGB (1931)
* CAM (2002)
* YUV (1960)
* UVW (1964)
* LAB (1976)
* LUV (1976)

RGB|

* RGB color space
* sRGB
* rg chromaticity
* Adobe
* Wide-gamut
* ProPhoto
* scRGB
* DCI-P3
* Rec. 709
* Rec. 2020
* Rec. 2100

YUV|

* YUV
* PAL
* YDbDr
* SECAM
* PAL-N
* YIQ
* NTSC
* YCbCr
* Rec. 601
* Rec. 709
* Rec. 2020
* Rec. 2100
* ICtCp
* Rec. 2100
* YPbPr
* xvYCC
* YCoCg

Other|

* CcMmYK
* CMYK
* Coloroid
* LMS
* Hexachrome
* HSL, HSV
* HCL
* Imaginary color
* OSA-UCS
* PCCS
* RG
* RYB

Color systems
and standards|

* ACES
* ANPA
* Colour Index International
* CI list of dyes
* DIC
* Federal Standard 595
* HKS
* ICC profile
* ISCC–NBS
* Munsell
* NCS
* Ostwald
* Pantone
* RAL
* list

For the vision capacities of organisms or machines, see  Color vision.

0.00

(0 votes)

Original source: https://en.wikipedia.org/wiki/TSL color space. Read more

|

Retrieved from "https://handwiki.org/wiki/index.php?title=TSL_color_space&oldid=290223"
*[v]: View this template
*[t]: Discuss this template
*[e]: Edit this template