Clear Filters
Clear Filters

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)
I'm trying to divide a histogram of an image into sub histogram based on median of the image
  2 Comments
John Chilleri
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!

Answers (0)

This question is closed.

Community Treasure Hunt

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

Start Hunting!