Академический Документы
Профессиональный Документы
Культура Документы
Display just the colors of interest, or use the regions defined by specified colors for further
processing
More complex than gray-level slicing, due to multiple dimensions for each pixel
Dependent on the color space chosen; I prefer HSI
Using a cube of width W to enclose the reference color with components (a1, a2, . . . , an), the
transformation is given by
𝑤
0.5 𝑖𝑓 [|𝑟𝑗 − 𝑎𝑗 | > ] 𝑎𝑛𝑦 1 ≤ 𝑗 ≤ 𝑛 𝑖 = 1,2, … 𝑛
𝑆𝑖 = { 2
𝑟𝑖
𝑜𝑡ℎ𝑒𝑟𝑤𝑖𝑠𝑒
If the color of interest is specified by a sphere of radius R0, the transformation is