I've been doing all my post processing in raw and never had occasion to use tiff files until now. I have a couple of editors that won't import raw files so have exported 16 bit tiff to them out of ASP. My question(s) is: How does a 12 or 14 bit raw file become a 16 bit tiff and is being 16 bit the reason the tiff files average 7x the size of the raw files? Where would be a good place to learn more about tiff files, what they are and how best to take advantage of their properties? Thank you.
Pete.
16 bit tiff from 12 or 14 bit raw
-
ormdig
- Posts: 56
- Joined: Mon Jan 16, 2012 7:31 pm
- System_Drive: C
- 32bit or 64bit: 64 Bit
- motherboard: Asus Sabertooth X58
- processor: Intel i7-950 3.72Gh
- ram: 24Gb
- Video Card: Nvidia GeForce 460
- sound_card: Realtek HD audio
- Hard_Drive_Capacity: 4.5 Tb
- Monitor/Display Make & Model: HP LP2475w, HP LP 2065
- Location: Arkansas
-
afx
- Posts: 1675
- Joined: Thu Jan 12, 2012 1:38 pm
- System_Drive: N/A
- 32bit or 64bit: 64 Bit
- Video Card: FirePro 4900
- Monitor/Display Make & Model: NEC PA301w, ColorMunki
- Location: München
- Contact:
Re: 16 bit tiff from 12 or 14 bit raw
12 or 14 bits fit easily in 16;-)
The reason 16bit TIFFs are so monstrous are twofold:
Nobody ever bothered with a decent compression for 16bit TIFF and AS does not support writing compressed TIFFs anyway.
(My slide scans are usually 120MB per slide)
Apart from that, make sure you use a wide working space (WideGamut, ProPhoto) for the fat TIFFs to not cripple your gamut for post processing. I think that is all one needs to know.
cheers
afx
The reason 16bit TIFFs are so monstrous are twofold:
Nobody ever bothered with a decent compression for 16bit TIFF and AS does not support writing compressed TIFFs anyway.
(My slide scans are usually 120MB per slide)
Apart from that, make sure you use a wide working space (WideGamut, ProPhoto) for the fat TIFFs to not cripple your gamut for post processing. I think that is all one needs to know.
cheers
afx
Send bugs to the Monkey // AfterShot Kickstart Guide // sRGB clipping sucks and Adobe RGB is just as bad
Bibble since 2005 // W7 64 on quad Phenom // Ubuntu 14.4 on quad i7 and dualcore AMD // Images
Bibble since 2005 // W7 64 on quad Phenom // Ubuntu 14.4 on quad i7 and dualcore AMD // Images
-
ormdig
- Posts: 56
- Joined: Mon Jan 16, 2012 7:31 pm
- System_Drive: C
- 32bit or 64bit: 64 Bit
- motherboard: Asus Sabertooth X58
- processor: Intel i7-950 3.72Gh
- ram: 24Gb
- Video Card: Nvidia GeForce 460
- sound_card: Realtek HD audio
- Hard_Drive_Capacity: 4.5 Tb
- Monitor/Display Make & Model: HP LP2475w, HP LP 2065
- Location: Arkansas
Re: 16 bit tiff from 12 or 14 bit raw
So, is going from 12 to 16 bit just the opposite of compression, i.e. multiplying or expanding the color data by 1.33 say?afx wrote:12 or 14 bits fit easily in 16;-)
Apart from that, make sure you use a wide working space (WideGamut, ProPhoto) for the fat TIFFs to not cripple your gamut for post processing. I think that is all one needs to know.
cheers
afx
Thanks for the heads up on working space. It didn't even occur to me.
-
afx
- Posts: 1675
- Joined: Thu Jan 12, 2012 1:38 pm
- System_Drive: N/A
- 32bit or 64bit: 64 Bit
- Video Card: FirePro 4900
- Monitor/Display Make & Model: NEC PA301w, ColorMunki
- Location: München
- Contact:
Re: 16 bit tiff from 12 or 14 bit raw
If it where a simple multiplication, going from 12 to 16 would be a multiplication by 4.ormdig wrote: So, is going from 12 to 16 bit just the opposite of compression, i.e. multiplying or expanding the color data by 1.33 say?
But that would then leave the bottom part where the shadows are empty as this is just a shift to the right.
The data from the raw file gets normalized to AfterShots internal 16bit representation.
That then gets converted to the TIFF representation and saved to the 16bit TIFF.
So you have two mapping operations (to put it simply), the first one could be an expansion, but I do not know enough about the internal representation of AfterShot to really say what happens there. AS could have a non-linear representation to actually squeeze in a higher DR than 16 bits would allow when used linearly.
cheers
afx
Send bugs to the Monkey // AfterShot Kickstart Guide // sRGB clipping sucks and Adobe RGB is just as bad
Bibble since 2005 // W7 64 on quad Phenom // Ubuntu 14.4 on quad i7 and dualcore AMD // Images
Bibble since 2005 // W7 64 on quad Phenom // Ubuntu 14.4 on quad i7 and dualcore AMD // Images
Re: 16 bit tiff from 12 or 14 bit raw
it's called Color Management.afx wrote:AS could have a non-linear representation to actually squeeze in a higher DR than 16 bits would allow when used linearly.
The really, really bad idea of 1 bit equals 1 stop of dynamic range was introduced by thoughtless engineers in the dark days of digital cameras where A/D conversion chips were used in a linear fashion. yuck.
that's about as clever as comparing the speed of cars by the amount you press on the gaspedal in centimeters.
everyone: get this link out of your head. please. now. thank you.
any digital color is just a number, either you have enough digits to encode your data a.k.a. image without visual artefacts or not. nothing more or less. how that data is distributed and related to colors is determined by color management.
Bibble since 2004. Aftershot until 2020. From then on darktable.
-
spoilerhead
- Posts: 133
- Joined: Fri Jan 13, 2012 8:18 am
- System_Drive: N/A
- 32bit or 64bit: 64 Bit
- Hard_Drive_Capacity: 13.5TB
- Location: Vienna
Re: 16 bit tiff from 12 or 14 bit raw
also, RAWs are smaller because they have one a single channel per pixel (as given by the bayer pattern), whereas a TIFF usually has 2 (R,G,B)
so its 14bit/pixel versus 3*16bit/pixel = 14 vs 48
so its 14bit/pixel versus 3*16bit/pixel = 14 vs 48
my ASP Plugins - donation button ( send beer!
)
linux,7d, glass and a huge mug of coffee.
If you got any immediate problems with my plugins, don't by shy on contact me on GoogleTalk.
linux,7d, glass and a huge mug of coffee.
If you got any immediate problems with my plugins, don't by shy on contact me on GoogleTalk.
-
tintin
- Posts: 169
- Joined: Thu Jan 12, 2012 2:45 pm
- System_Drive: C
- 32bit or 64bit: 64 Bit
- processor: Ryzen R5 3600X
Re: 16 bit tiff from 12 or 14 bit raw
hi guys,afx wrote:If it where a simple multiplication, going from 12 to 16 would be a multiplication by 4.
just to make the statement mathematically correct - it would be a multiplication by 16 (2^4=16)
...but, of course, this doesn't change anything else you said...
-
afx
- Posts: 1675
- Joined: Thu Jan 12, 2012 1:38 pm
- System_Drive: N/A
- 32bit or 64bit: 64 Bit
- Video Card: FirePro 4900
- Monitor/Display Make & Model: NEC PA301w, ColorMunki
- Location: München
- Contact:
Re: 16 bit tiff from 12 or 14 bit raw
LOL, that's what I get when mixing shift with multiplication....
cheers
afx
cheers
afx
Send bugs to the Monkey // AfterShot Kickstart Guide // sRGB clipping sucks and Adobe RGB is just as bad
Bibble since 2005 // W7 64 on quad Phenom // Ubuntu 14.4 on quad i7 and dualcore AMD // Images
Bibble since 2005 // W7 64 on quad Phenom // Ubuntu 14.4 on quad i7 and dualcore AMD // Images
