I require to develop a one greyscale histogram of a PGM image for a course project. I already possess the code to go through the PGM image. Nevertheless I put on't completely recognize how to matter the exclusive pixel beliefs. I wear't need to output a graph or anything like that. Any help would end up being greatly appreciated!
The histogram is a useful but often misunderstood tool that your camera provides to help you get the correct exposure on your images. In this article we’re going to look at how to read it and use it to your advantage to help you do just that. Getting the best exposure (there is not such. The histogram of a digital image with gray levels in the range 0, L-1 is a discrete function h(r k) = n k, where r k is the kth gray level and n k is the number of pixels in the image having gray level r k.
Code for reading PGM imagehttp://direct sun light.iwu.edu/shelley/sie/zoo/log/pgm.g.html
richieboy89
richieboy89richieboy89
1 Reply
Paul UrPaul R179k2525 magic badges311311 silver precious metal badges468468 bronze badges
Not really the response you're looking for? Search other queries labeled chistogrampgm or question your very own question.
consumer3663124,0634747 platinum badges162162 metallic badges321321 bronze badges
ChrisChris
shutas as well wide by paqogomez, Jonesopolis, gunr2171, Mike Stockdale, Kevin PankoNovember 25 '14 at 21:19
Please edit the issue to limit it to a particular issue with enough detail to recognize an sufficient answer. Avoid requesting multiple specific questions at as soon as. Observe the How to Talk to page for help clarifying this query.If this query can end up being reworded to suit the rules in the help center, please edit the issue.
1 Solution
Sjips1,09711 magic badge99 magic badges1919 bronze badges