Histogram Dimensions
Posted: 2010-08-17T06:37:30-07:00
Hello everyone,
I’m using the histogram feature in ImageMagick and it is rendering the proper histogram, however, there is one thing that I’ve noticed with regards to the dimensions compared to histograms in other applications.
For example, ImageMagick histograms (at least mine anyways) are 256x200. The 256 makes sense as one column for each level. I’ve attached a sample histogram (with some slight modifications such as transparency etc.) entitled IM_Histogram.png. When I compare that to Photoshop’s histogram (PS_Histogram.png) I get the same histogram but photoshop seems to crop or compress the image to 100px in height or rather a 2.56 scale ratio. Looking at other programs out there (such as LightRoom – LR_Histogram.png – note this isn’t the same image so actual histogram is different) they have similar sizes. I have noted that for the most part they seems cropped and then resized down.
Basically my question is, is this some sort of standard? Why does ImageMagick pick 200px and other software shoots for a 256x100 image size. I’m not saying ImageMagick’s histogram is wrong because it isn’t I just would like to know why popular photo editing software is going one over the other.
If PS and LightRoom are the ‘preferred’ method to see histograms can I modify my command-line to do that kind of crop/resize (i.e. feed in the dimensions).
Hope you can help.
Thanks,
Matt
IM_Histogram.png
PS_Histogram.png
LR_Histogram.png
I’m using the histogram feature in ImageMagick and it is rendering the proper histogram, however, there is one thing that I’ve noticed with regards to the dimensions compared to histograms in other applications.
For example, ImageMagick histograms (at least mine anyways) are 256x200. The 256 makes sense as one column for each level. I’ve attached a sample histogram (with some slight modifications such as transparency etc.) entitled IM_Histogram.png. When I compare that to Photoshop’s histogram (PS_Histogram.png) I get the same histogram but photoshop seems to crop or compress the image to 100px in height or rather a 2.56 scale ratio. Looking at other programs out there (such as LightRoom – LR_Histogram.png – note this isn’t the same image so actual histogram is different) they have similar sizes. I have noted that for the most part they seems cropped and then resized down.
Basically my question is, is this some sort of standard? Why does ImageMagick pick 200px and other software shoots for a 256x100 image size. I’m not saying ImageMagick’s histogram is wrong because it isn’t I just would like to know why popular photo editing software is going one over the other.
If PS and LightRoom are the ‘preferred’ method to see histograms can I modify my command-line to do that kind of crop/resize (i.e. feed in the dimensions).
Hope you can help.
Thanks,
Matt
IM_Histogram.png
PS_Histogram.png
LR_Histogram.png