Effacer les filtres
Effacer les filtres

how can i extract the green channel from HSV image

5 vues (au cours des 30 derniers jours)
LAXMI PRIYANKA
LAXMI PRIYANKA le 10 Mar 2020
Commenté : LAXMI PRIYANKA le 10 Mar 2020
i have converted the rgb image to HSV using rgb2hsv function in matlab. now i have to correct the brightness of the image and also have to extract the red, green and blue channels from the hsv image
i would be happy if i coud be helped out with the coding in matlab
thank u
  2 commentaires
Adam
Adam le 10 Mar 2020
You can't extract red, green and blue from a hsv image without converting it back to rgb, or at least not in a sensible way. I imagine it is mathematically possible with the same kind of logic as is used in hsv2rgb, but it would be a waste of time when you can just use hsv2rgb itself and extract the green layer.
I assume you want to do brightness correction in HSV space, though that is not my area of expertise so I'll leave that one, but then just convert back to RGB for the last part.
LAXMI PRIYANKA
LAXMI PRIYANKA le 10 Mar 2020
thank you adam for ur quick response

Connectez-vous pour commenter.

Réponses (0)

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by