H,S,V components
Mostrar comentarios más antiguos
Hello.How can I display the H,S,V components separately in matlab on the example below?Please,canyou help me?

Respuesta aceptada
Más respuestas (2)
trivial, really.
help rgb2hsv
So simply convert to HSV. Then you can use a tool like imshow
waves = imread('waves.jpg');
waves_HSV = rgb2hsv(waves);
imshow(waves_HSV(:,:,1))
title 'H channel'
imshow(waves_HSV(:,:,2))
title 'S channel'
imshow(waves_HSV(:,:,3))
title 'V channel'
Easy peasy.
1 comentario
Aysel Alimirzayeva
el 8 de Nov. de 2022
Image Analyst
el 7 de Nov. de 2022
1 comentario
Aysel Alimirzayeva
el 8 de Nov. de 2022
Categorías
Más información sobre Image Arithmetic en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!






