Thresholding/Segmenting an image based on histogram

4 ビュー (過去 30 日間)
Teshan Rezel
Teshan Rezel 2020 年 5 月 21 日
回答済み: Image Analyst 2020 年 5 月 22 日
Hi folks,
I have an image that I have converted to HSV format, and split the image into each channel (H, S and V). I want to further threshold the image according to points of interest on the histogram e.g. for the H channel between certain points.
Is this possible? And is it also possible to recast the image back to RGB once this thresholding has been done?
Thanks in advance!

採用された回答

Image Analyst
Image Analyst 2020 年 5 月 22 日
Yes, use the Color Thresholder app on the Apps tab of the tool ribbon. It will generate code to do that. It will convert rgb to hsv, do the thresholding, mask the image, and convert back to RGB.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeHistograms についてさらに検索

製品


リリース

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by