19 Nov 2008 19:03
Re: Gamma correction in YUV space
Niels Elburg <nwelburg <at> gmail.com>
2008-11-19 18:03:49 GMT
2008-11-19 18:03:49 GMT
Hey Salsaman,
Its sufficient to apply the gamma correction only on Y of the YUV,
The formula is just multiply by gamma factor yes,
but look out for flavours of YUV where scaling could become
an issue if you clip 0-255 or 16-235
Cheers,
Niels
On Wed, Nov 19, 2008 at 4:10 PM, <salsaman <at> xs4all.nl> wrote:
Hi all,
is there a formula for gamma correction in YUV space ? I would imagine it
would be something like:
Y clamped -> Y unclamped -> multiply by gamma_factor
where gamma_factor is the usual R -> R`, G -> G`, B -> B` factor.
Is that correct ?
Cheers,
Salsaman.
http://lives.sourceforge.net
_______________________________________________
piksel-dev mailing list
piksel-dev <at> bek.no
https://plot.bek.no/mailman/listinfo/piksel-dev
http://www.piksel.org
_______________________________________________ piksel-dev mailing list piksel-dev <at> bek.no https://plot.bek.no/mailman/listinfo/piksel-dev http://www.piksel.org
RSS Feed