- Joined
- Mar 1, 2025
- Messages
- 415
- Reaction score
- 1,432
- Location
- Montana
- Can others edit my Photos
- Photos OK to edit
I am a retired remote sensing scientist, so here is my perspective on the histogram and jpg.
1) The jpg file format. This is an 8-bit file format, with each bit on or off, 0 or 1 and
the bits represent 2to the nth power. So the first bit represents 0 or 1, second bit 0 or 2, third bit 0 or 4,
fourth bit 0 or 8, etc. If all the bits are turned off, the value is 0, all bits on the value 255.
So for each red, green, blue channel values can range from 0 to 255.
2) The histogram. The histogram displayed in the camera viewfinder is based on the jpg image,
not the raw file. So there may be a warning that the highlights are blown out, but they might
not be in the raw file because the raw file format has a much greater dynamic range.
(8-bit jpg possible values are 0-255 while a 12-bit raw file possible values 0-4,095)
Also the viewfinder histogram may look different depending on what picture profile the camera
is set to (standard, landscape, neutral, etc.)
Picture profiles can change the histogram is because they represent different JPEG conversions of the raw file.
With Canon, landscape may be misleading while neutral is closest to representing the distribution of raw values.
The histogram shows the tone values ranging from 0 to 255 on the x-axis,
the relative frequency of pixels on the y-axis.
So if there is a peak at the left with many pixels having a value of 0, these represent crushed black pixels.
If there is a peak at the right with many pixels having a value of 255, these represent blown out white pixels.
Typically we aim for a histogram that has no crushed black or blown out white pixels.
1) The jpg file format. This is an 8-bit file format, with each bit on or off, 0 or 1 and
the bits represent 2to the nth power. So the first bit represents 0 or 1, second bit 0 or 2, third bit 0 or 4,
fourth bit 0 or 8, etc. If all the bits are turned off, the value is 0, all bits on the value 255.
So for each red, green, blue channel values can range from 0 to 255.
2) The histogram. The histogram displayed in the camera viewfinder is based on the jpg image,
not the raw file. So there may be a warning that the highlights are blown out, but they might
not be in the raw file because the raw file format has a much greater dynamic range.
(8-bit jpg possible values are 0-255 while a 12-bit raw file possible values 0-4,095)
Also the viewfinder histogram may look different depending on what picture profile the camera
is set to (standard, landscape, neutral, etc.)
Picture profiles can change the histogram is because they represent different JPEG conversions of the raw file.
With Canon, landscape may be misleading while neutral is closest to representing the distribution of raw values.
The histogram shows the tone values ranging from 0 to 255 on the x-axis,
the relative frequency of pixels on the y-axis.
So if there is a peak at the left with many pixels having a value of 0, these represent crushed black pixels.
If there is a peak at the right with many pixels having a value of 255, these represent blown out white pixels.
Typically we aim for a histogram that has no crushed black or blown out white pixels.