how to convert histogram to image

35 views (last 30 days)
jangiti
jangiti on 29 Nov 2015
i had find the histogram of an image .is it possible to reconstruct the image from histogram

Answers (1)

Image Analyst
Image Analyst on 29 Nov 2015
No, of course not.
Lots of images could have the same histogram and look totally different - all you have to do is to rearrange the pixels. For example take any image, and then sort it from darkest in the upper left to brightest in the lower right, so it looks like a smooth ramp. Those two images will have the very same histogram but look totally different.
  3 Comments
Gorka Basso Alonso
Gorka Basso Alonso on 7 Oct 2022
I found some way to do it, if you use the function histeq(), you can apply your histogram to an image, so you could reconstruct that image with a different histogram.

Sign in to comment.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by