How can I find the saturation of all the rgb channels separately?

1 回表示 (過去 30 日間)
Prachi Sharma
Prachi Sharma 2016 年 11 月 15 日
編集済み: Prachi Sharma 2016 年 11 月 17 日
I need to find out the saturation of all the three channels separately.How do I do that?
  4 件のコメント
Guillaume
Guillaume 2016 年 11 月 16 日
Isn't this just a duplicate of problem-in-plotting-the-matrix-over-an-image?
Prachi Sharma
Prachi Sharma 2016 年 11 月 17 日
right

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

回答 (1 件)

Image Analyst
Image Analyst 2016 年 11 月 15 日
If you take a 3 color RGB matrix and extract out the individual color channels separately, then exactly what does saturation mean in that case - in the case of a monochrome gray scale image? Maybe you can say the intensity is the saturation? Or just call rgb2hsv() and look at the second channel for the more traditional definition of saturation, which means it operates on the whole RGB image, not the 3 color channels separately.
  3 件のコメント
Image Analyst
Image Analyst 2016 年 11 月 16 日
Do you want to change the actual pixel values, like make them red or something? OR do you want to leave the pixel values the same and just change how they are displayed, like use a colormap where those pixels are red, or use a binary overlay ?
Prachi Sharma
Prachi Sharma 2016 年 11 月 17 日
編集済み: Prachi Sharma 2016 年 11 月 17 日

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

カテゴリ

Help Center および File ExchangeImages についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by