index value in RGB image

조회 수: 14 (최근 30일)
fereshte
fereshte 2014년 7월 14일
댓글: Vijaya yaduvanshi 2021년 3월 6일
hi.i have a code that use indexedImage.output image is a RGB image with index.for each pixel i have R,G,B and index value.what is index?what show index value?

답변 (1개)

Image Analyst
Image Analyst 2014년 7월 14일
The first (left most) index is the row, the middle index is the column, and the last (right most) index is the color. Specify those to get the value of a certain color channel at a certain location:
blueValue = rgbImage(row, column, 3); % Extract the blue value at this row,column location.
  댓글 수: 12
Image Analyst
Image Analyst 2021년 3월 4일
I don't know. Just look around - there's medfilt2(), conv2(), imfilter(), etc.
Vijaya yaduvanshi
Vijaya yaduvanshi 2021년 3월 6일
All right.
Thank You so much

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

태그

Community Treasure Hunt

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

Start Hunting!

Translated by