Image Segmentation using Histograms
Ältere Kommentare anzeigen
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 Kommentar
ROHIT GUPTA
am 16 Okt. 2022
I = imread('any image.jpg')
imshow(I)
figure;
imhist(I);
Akzeptierte Antwort
Weitere Antworten (1)
Vahid Amin Nili
am 29 Jul. 2015
0 Stimmen
try "hist(Y,x)" function
Kategorien
Mehr zu Histograms finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!