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!