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

조회 수: 3 (최근 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

댓글을 달려면 로그인하십시오.

답변 (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 ?

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Blue에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by