19 Nov 2008 16:10

## Gamma correction in YUV space

```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

```
19 Nov 2008 19:03

### Re: Gamma correction in YUV space

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, 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
```

Gmane