Info
This question is closed. Reopen it to edit or answer.
hello friends , I suffer this problem from last month . Please suggest me that how to divide the histogram of an image in sub-histogram on the basis of median of an image. thank you.
1 view (last 30 days)
Show older comments
I'm trying to divide a histogram of an image into sub histogram based on median of the image
2 Comments
John Chilleri
on 1 May 2017
Hello,
If I understand the problem correctly, try:
figure(1)
hist(image(image>median(image)))
figure(2)
hist(image(image<=median(image)))
Hope this helps!
Image Analyst
on 1 May 2017
Can you put it as an "Answer" down in the Answer section, rather than up here in the comments section?
Answers (0)
This question is closed.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!