Image Segmentation using Histograms
古いコメントを表示
Dear All,
I am a student of Masters First Year....I am working on how to segment a part of Image using histograms. I am at initial stage of this part.
I need help in this regard, as i am converting an image in histogram i.e. f=imread('any image.jpg'); g=rgb2gray(f); h=imhist(g) figure, imshow(h) as i m executing this code i am not getting any histogram of the image...can anybody tell me why?
1 件のコメント
ROHIT GUPTA
2022 年 10 月 16 日
I = imread('any image.jpg')
imshow(I)
figure;
imhist(I);
採用された回答
その他の回答 (1 件)
Vahid Amin Nili
2015 年 7 月 29 日
0 投票
try "hist(Y,x)" function
カテゴリ
ヘルプ センター および File Exchange で Histograms についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!