Info
Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.
I have quantized hsv into 8×3×3 combinations,so I want to find what is number of pixels per each bin how do I do it
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
h
0 Kommentare
Antworten (3)
Image Analyst
am 13 Jan. 2018
If you have taken the 3-D histogram, then you have the values. If you really "have quantized hsv into 8×3×3 combinations" then how can you not have that variable??? What happened to it? Did you clear it for some reason? If so, why?
10 Kommentare
Image Analyst
am 16 Jan. 2018
Sorry, it should be h,s,v=1,2,3
hImage = hsvImage(:, :, 1);
sImage = hsvImage(:, :, 2);
vImage = hsvImage(:, :, 3);
teja jayavarapu
am 13 Jan. 2018
1 Kommentar
Image Analyst
am 14 Jan. 2018
Same way I already showed you. The code does not care where rgbImage came from: imread() or indexing a block of a larger image. The code works the same regardless of where rgbImage originated.
Diese Frage ist geschlossen.
Siehe auch
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!