Calling all nerds: how do you make a histogram?
DoctorIt
Administrators Posts: 11,951 moderator
Alright fellow geeks, i'm doing some image analysis and I need to write some code to give me a histogram for my images. I've got a 512x512 matrix of brightness values (0-255).
so my question is, are the histograms we see in photoshop, or our camera's just a plot of number of pixels at a given value? As in, is the x-axis just 0-255 and the y-axis number of pixels? I'm thinking yes, but you never know.
chime in, let's nerd out! :freaky
so my question is, are the histograms we see in photoshop, or our camera's just a plot of number of pixels at a given value? As in, is the x-axis just 0-255 and the y-axis number of pixels? I'm thinking yes, but you never know.
chime in, let's nerd out! :freaky
Erik
moderator of: The Flea Market [ guidelines ]
moderator of: The Flea Market [ guidelines ]
0
Comments
James.
http://www.jamesjweg.com
http://www.ph.tn.tudelft.nl/Courses/FIP/noframes/fip-Statisti.html
James.
http://www.jamesjweg.com
moderator of: The Flea Market [ guidelines ]
Ian
So turns out it was pretty easy. Just thought I'd engage any fellow nerds.
thanks for the links.
moderator of: The Flea Market [ guidelines ]