# Floating point?

4 replies to this topic

### #1 Joshua Jackson

Joshua Jackson
• Basic Members
• 68 posts
• Director
• Seattle, WA

Posted 27 December 2008 - 01:24 AM

I'm attempting to learn more about digital color correction and I'm currently mastering my images in linear and vid spaces. I've had success converting vid spaces to linear and have had good results in color mastering, but I'm having difficulty finding out what "floating point" means exactly. Any clarity on this would be appreciated.
• 0

### #2 Paul Bruening

Paul Bruening

(deceased)

• Sustaining Members
• 2858 posts
• Producer
• Oxford, Mississippi

Posted 27 December 2008 - 03:44 PM

http://en.wikipedia..../Floating_point
• 0

### #3 wolfgang haak

wolfgang haak
• Basic Members
• 31 posts
• Digital Image Technician
• London, UK

Posted 06 January 2009 - 12:21 PM

Hi Joshua,

You will have heard the term "bit depth". This refers to the value range available to encode each colour channel.
A 8 bit image contains 8 bits per channel, so 28 = 256 values. This allows for 2563 = 16m colours.

To store and organize this data on a computer, you will choose an unisgned integer format, nice and simple.
For Bit depth, which are larger, i.e 32 bit = 232 values per channel. To store that amout of data, you need a better container, as an integer runs out pretty quick (in programming variables can not take infinetly large values) so you need something a bit better suited for the job.
The variable type used here is a Float (Float32). or half float (Float16) with 32 bits and 16 bits respectively.

The terms used in the post packages here refer to the data types used to store the information and in a float you store greater numbers.
Unless a specific package makes ambigous use of terms, the word float has no bearing on colourspace, linear/encoded gamma etc. Use it like "massive" vs half float that means "big" and integer that means "standard"

Hope it helps,
regards,
Wolfgang
• 0

### #4 David Mullen ASC

David Mullen ASC
• Sustaining Members
• 18832 posts
• Cinematographer
• Los Angeles

Posted 06 January 2009 - 01:12 PM

This may also shed a little light on why floating-point is used:
• 0

### #5 Joshua Jackson

Joshua Jackson
• Basic Members
• 68 posts
• Director
• Seattle, WA

Posted 07 January 2009 - 01:14 AM

Excellent. Thank you both. That answers it perfectly.
• 0