View Full Version : 32-bit Format Range
MysteryX
30th May 2018, 03:47
In VapourSynth, 32-bit format goes from 0 to 1 or from -.5 to .5 ?
Myrsloik
30th May 2018, 09:23
In VapourSynth, 32-bit format goes from 0 to 1 or from -.5 to .5 ?
UV is in the -.5 to .5 range. Everything else is 0 to 1.
MysteryX
30th May 2018, 15:33
Any specific reason why UV is in a difference range than Y?
amichaelt
30th May 2018, 18:39
Any specific reason why UV is in a difference range than Y?
Yes. UV can contain negative values and Y doesn't.
YUV colorspace is a bit unusual. The Y component determines the brightness of the color (referred to as luminance or luma), while the U and V components determine the color itself (the chroma). Y ranges from 0 to 1 (or 0 to 255 in digital formats), while U and V range from -0.5 to 0.5 (or -128 to 127 in signed digital form, or 0 to 255 in unsigned form).
http://softpixel.com/~cwright/programming/colorspace/yuv/
It's just the way YUV is defined.
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.