index value in RGB image

17 visualizaciones (últimos 30 días)
fereshte
fereshte el 14 de Jul. de 2014
Comentada: Vijaya yaduvanshi el 6 de Mzo. de 2021
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?

Respuestas (1)

Image Analyst
Image Analyst el 14 de Jul. de 2014
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 comentarios
Image Analyst
Image Analyst el 4 de Mzo. de 2021
I don't know. Just look around - there's medfilt2(), conv2(), imfilter(), etc.
Vijaya yaduvanshi
Vijaya yaduvanshi el 6 de Mzo. de 2021
All right.
Thank You so much

Iniciar sesión para comentar.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by