I need the complete code for transforming a histogram back to its image. Also I need the code for shifting histogram of an image towards right.

2 views (last 30 days)
I am doing a project on reversible data hiding(using histogram shifting).

Answers (1)

Image Analyst
Image Analyst on 14 Jan 2013
I have never heard of that method but I do know that it is not possible to reconstruct an image from a histogram. A virtually infinite number of images could have the very same histogram - all you have to do is take an image and shuffle around the pixels, and voila! new image, same histogram.
Next you'll probably say you're trying to follow the procedure in some paper, and I'll reply by referring you to the FAQ.

Community Treasure Hunt

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

Start Hunting!