HSV HSB HSL color space

12 次查看(过去 30 天)
Dani D
Dani D 2016-6-14
编辑: DGM 2021-5-14
Hello, These are the same color space? HSV HSB HSL ? Thanks

回答(1 个)

DGM
DGM 2021-5-14
编辑:DGM 2021-5-14
They're not color spaces themselves. They are just mappings of the RGB colorspace. They are not identical.
In HSV, [1 0 0] and [1 1 1] are both 100% value, whereas in HSI, red is 33% intensity; in HSL, it's 50% lightness.
HSV and HSL are fully constrained, meaning no value of H, S, or V/L within the normal ranges can select a color which is outside the standard data range for RGB. The top half of HSI is not constrained. Significantly increasing I for colors near the R=1,G=1, or B=1 faces of the RGB cube will push those color points outside the data range.
HSL has a symmetrical saturation space, unlike HSV or HSI, which tends to lend it to less garish results when doing hue adjustments or HS swaps between images.
Does any of that have bearing on how they are or should be used and specified for tasks in Matlab? I don't know. I'm just saying they're not the same. I'll leave it fellow time-travelers to look up the relevant wiki articles to address any surviving curiosity.

类别

Help CenterFile Exchange 中查找有关 Image Processing Toolbox 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by