Dan asked it in passing in another posting - this is interesting, at least theoretically:
What happens when a 48bit image is composited with a 24bit one: the result is a 48bit image that looks like the overlay, but the colour precision is actually 24bit still not 48, right?
What happens mathematically when a 24bit image is subtracted from a true 48bit one?
Compositing 48 with 24 bit
Moderator: jsachs
-
- Posts: 1431
- Joined: April 25th, 2009, 12:56 am
- What is the make/model of your primary camera?: Fuji X-E2
- Contact:
Compositing 48 with 24 bit
Maciej Tomczak
Phototramp.com
Phototramp.com
Re: Compositing 48 with 24 bit
When compositing 24-bit and 48-bit images, the result is always a 48-bit image, regardless of which is the base and which is the overlay image. The 24-bit image is automatically converted to 48-bit before compositing.
Jonathan Sachs
Digital Light & Color
Digital Light & Color
-
- Posts: 1431
- Joined: April 25th, 2009, 12:56 am
- What is the make/model of your primary camera?: Fuji X-E2
- Contact:
Re: Compositing 48 with 24 bit
And the automatic 24 to 48 bit conversion fills the lower bits with zeros, not random bits, right?
Maciej Tomczak
Phototramp.com
Phototramp.com
Re: Compositing 48 with 24 bit
Not quite - conversion to the closest value is done by table lookup where v16 = (65535*(v8+127))/255 - conversion the other way is done by: v8 = (255*v16 + 32767)/65535.
Jonathan Sachs
Digital Light & Color
Digital Light & Color