Thresholding operation on HSV Image
7 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
I wish to do thresholding operation on a HSV Image converted from an RGB image. Is there any function like imtool()for RGB images that display the HSV Values of a pixel?
0 Commenti
Risposte (3)
Image Analyst
il 4 Feb 2014
Yes. My demo "Simple color detection by hue" in my File Exchange does that. http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862 Also there is an interactive thresholding application.
1 Commento
Image Analyst
il 5 Feb 2014
You can use impixelinfo() to have the value of the three channel image that's being displayed show up in a little static text box as you mouse around. The image can be RGB, grayscale, or HSV. Let me know if you can't figure it out. You may have to play around with the 'Position' option to see the text.
kartheek
il 4 Feb 2014
4 Commenti
Image Analyst
il 5 Feb 2014
No. What original HSV values? As far as I know there is only one hsv image, and it has values between 0 and 1, like it should. Exactly what are you expecting?
JESU
il 27 Lug 2023
channel1Min = 0.825;
channel1Max = 0.451;
% Create mask based on chosen histogram thresholds
sliderBW = ( (H(:,:,1) >= channel1Min) | (H(:,:,1) <= channel1Max) );
BW = sliderBW;
Image Analyst
il 27 Lug 2023
You can use the Color Thresholder app on the Apps tab of the tool ribbon to interactively threshold the color image by moving sliders.
0 Commenti
Vedere anche
Categorie
Scopri di più su Explore and Edit Images with Image Viewer App in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!