isp:gamma

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

isp:gamma [2019/05/08 17:10] Igor Yefmov created |
isp:gamma [2019/05/09 00:12] (current) Igor Yefmov |
||
---|---|---|---|

Line 1: | Line 1: | ||

====== Gamma ====== | ====== Gamma ====== | ||

- | More precisely - this is a "gamma encoding"''x<sup>2.2</voltage correction. | + | More precisely - this is a "gamma encoding"\(x^{2.2}\) voltage correction. |

- | Gamma encoding is calculated as a power function, where each pixel'''L'' component (in HSL color space) is corrected. | + | Gamma encoding is calculated as a power function, where each pixel'\(L\) component (in HSL color space) is corrected. |

- | For now we are using a simplified single-curve method which will eventually be replaced with a more sophisticated multi-point curve that would allow a user to specify a curve using up to ''N'' knee points (at which point it will no longer be proper to call this " | + | For now we are using a simplified single-curve method which will eventually be replaced with a more sophisticated multi-point curve that would allow a user to specify a curve using up to \(N\) knee points (at which point it will no longer be proper to call this " |

- | Implementation-wise there'''L''in range ''[0..1]'' and ''_gamma''1''): | + | Implementation-wise there'\(L \in [0..1]\) and \(\_gamma \leq 1\)): |

<code c++>// pseudo-code | <code c++>// pseudo-code | ||

void gamma(/ | void gamma(/ |

/home/adminsub2r/public_html/dokuwiki/data/pages/isp/gamma.txt · Last modified: 2019/05/09 00:12 by Igor Yefmov