Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
isp:hue_rotation [2023/09/06 10:21] – [In RGB color space] Igor Yefmov | isp:hue_rotation [2023/09/06 10:21] – [In RGB color space] Igor Yefmov | ||
---|---|---|---|
Line 22: | Line 22: | ||
In our codebase the Hue adjustment is a 14-bit signed integer in range \([-8192..8191]\) that corresponds to \([-180°..+180°)\). | In our codebase the Hue adjustment is a 14-bit signed integer in range \([-8192..8191]\) that corresponds to \([-180°..+180°)\). | ||
- | M.B. this does *not* take into account the fact that different chroma components contribute differently to the luma of the pixel. A more correct implementation must first separate luma and chroma, perform rotation on chroma, and then convert back to RGB triplet FIXME | + | M.B. this does **not** take into account the fact that different chroma components contribute differently to the luma of the pixel. A more correct implementation must first separate luma and chroma, perform rotation on chroma, and then convert back to RGB triplet FIXME |
===== In HSL color space ===== | ===== In HSL color space ===== |