Hello!
I'm trying to show the histogram as image in my project, but the image.histogram returns a Collection.
What should I do with that?
Thanks in advance
Histogram?
Re: Histogram?
The Histogram method returns a dictionary of colors and the number of times that color is found in the image. If you want to write an image of the histogram of an image you will need to do the following:
Code: Select all
image.Write(@"histogram:c:\your\folder\yourFile.jpg");
Re: Histogram?
Is there any way to get directly a Bitmap instead of writing it to a file?dlemstra wrote:The Histogram method returns a dictionary of colors and the number of times that color is found in the image. If you want to write an image of the histogram of an image you will need to do the following:
Code: Select all
image.Write(@"histogram:c:\your\folder\yourFile.jpg");
Thanks for the answer