How can I equalize the V component of a HSV image?
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I separated the HSV image into H, S, V components... But, I have no V component in my image.. then how i equalize the HSV image??
2 comentarios
Varun Pai
el 14 de Oct. de 2015
Dear Vishnu ,
If you have multiple questions on the same topic, please do comment at the answer section. I hope this is the continuation of the question http://www.mathworks.com/matlabcentral/answers/248534-how-can-i-perform-histogram-equalization-on-separated-h-s-v-components.
Respuestas (1)
Varun Pai
el 14 de Oct. de 2015
Please find below code
I = imread('pears.png');
I_hsv = rgb2hsv(I);
V_comp = I_hsv(:,:,3);
eq_V_comp = histeq(V_comp);
I_hsv(:,:,3) = eq_V_comp;
I_eq = hsv2rgb(I_hsv);
figure,imshow(I_eq);
Ver también
Categorías
Más información sobre Convert Image Type en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!