how to convert histogram to image

8 ビュー (過去 30 日間)
jangiti
jangiti 2015 年 11 月 29 日
コメント済み: Gorka Basso Alonso 2022 年 10 月 7 日
i had find the histogram of an image .is it possible to reconstruct the image from histogram

回答 (1 件)

Image Analyst
Image Analyst 2015 年 11 月 29 日
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 件のコメント
Image Analyst
Image Analyst 2020 年 8 月 16 日
Sorry, but again and still, there is not a way to construct the original image from only its histogram. It's impossible. There will never be a way, ever. Even if you knew how many rows and columns there were, you don't know what location had what gray level.
Gorka Basso Alonso
Gorka Basso Alonso 2022 年 10 月 7 日
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.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeHistograms についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by