フィルターのクリア

how can i extract the green channel from HSV image

5 ビュー (過去 30 日間)
LAXMI PRIYANKA
LAXMI PRIYANKA 2020 年 3 月 10 日
コメント済み: LAXMI PRIYANKA 2020 年 3 月 10 日
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 件のコメント
Adam
Adam 2020 年 3 月 10 日
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 2020 年 3 月 10 日
thank you adam for ur quick response

サインインしてコメントする。

回答 (0 件)

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by