how i can get color histogram of H channel of HSV image?

1 view (last 30 days)
how i can get H channel color histogram of HSV image

Accepted Answer

Walter Roberson
Walter Roberson on 5 Apr 2017
Use histogram() or histcounts() . Or accumarray()
  4 Comments
Walter Roberson
Walter Roberson on 5 Apr 2017
YourImage = imread('autumn.tif');
HSV = rgb2hsv(YourImage);
H = HSV(:,:,1);
histogram(H, 10);

Sign in to comment.

More Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!