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