isp:hue_rotation

# Differences

This shows you the differences between two versions of the page.

 isp:hue_rotation [2019/05/08 17:00]Igor Yefmov created isp:hue_rotation [2019/05/09 00:27]Igor Yefmov 2019/05/09 00:27 Igor Yefmov 2019/05/08 17:00 Igor Yefmov created 2019/05/09 00:27 Igor Yefmov 2019/05/08 17:00 Igor Yefmov created Line 1: Line 1: ====== Hue rotation ====== ====== Hue rotation ====== - Really, no magic here, once you process the image in HSL color space. The operation is as trivial as adding or subtracting a specified value from the pixel'​s ​''​H'' ​component: + Really, no magic here, once you process the image in HSL color space. The operation is as trivial as adding or subtracting a specified value from the pixel'​s ​$H$ component: // pseudo-code // pseudo-code void hue_rotation(/​*array of pixels*/​image,​ double _hue){ void hue_rotation(/​*array of pixels*/​image,​ double _hue){