Blue colour range in hsv saturation system?
Ältere Kommentare anzeigen
I'm trying to increase the intensity of blue pixels in an RGB image and I'm trying to increase the blue only pixel intensity, for example if I have:
imghsv=rgb2hsv(img);
imgs=imghsv(:,:,2);
I roughly set a condition for the blue range
imgs(ii,jj) >0.1 && imgs(ii,jj)<0.4
but I found out some yellow pixels are also enhanced.
I think I might missing something, is there another way where I can enhance the blue colours only in an image?
Thanks!
Akzeptierte Antwort
Weitere Antworten (1)
Walter Roberson
am 8 Feb. 2017
I think you should be looking at 1/2 to 3/4 at least, perhaps a bit wider around that range
Invoke
colormapeditor
and use the Tools menu to select HSV colormap and look at the range of values.
1 Kommentar
Yuchun Ding
am 9 Feb. 2017
Kategorien
Mehr zu Blue 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!