Converting Histogram of Image

2 views (last 30 days)
mohamad mohebian
mohamad mohebian on 31 Dec 2018
Answered: Rahul punk on 15 Feb 2019
I have filtered an image and I have histogram of de-noised image. When I compared this histogram with Reference Image histogram, I noticed that there is a little different between them. How can I convert this histogram to be like Reference Image histogram?
This is hist of Reference Image.
And this is the histogram of de-noised Image:
  5 Comments
Image Analyst
Image Analyst on 1 Jan 2019
All I can say is that you then need to come up with a better denoising routine.
Keep in mind though that many denoising routines remove what they think are noise which does not necessarily guarantee that they will return to the original image that noise was added to.
Let's say I was looking a a photo of sand, and then I added noise to the sand. It might look nearly identical to the original sand photo. Then removing noise might make the image smoother and that might have less noise in terms of variation overall and in local neighborhoods but that won't necessarily make it more like the original image.
Walter Roberson
Walter Roberson on 1 Jan 2019
That up/down/up/down for the histogram does not look plausible to me for CT -- **unless* the histogram is being taken at the wrong width or with badly planned centers, or other similar mistakes are made in processing.
For example if you have uniform random over [0,2] and you round() that, then 1/4 will go to 0, 1/2 will go to 1, and 1/4 will go to 2, whereas most people would probably have guessed that 1/2 would go to 1 and 1/2 would go to 2.

Sign in to comment.

Answers (1)

Rahul punk
Rahul punk on 15 Feb 2019
https://www.mathworks.com/matlabcentral/fileexchange/70220-rahulpunk?s_tid=prof_contriblnk

Categories

Find more on Convert Image Type in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!