How to convert image to RGB ?

6 visualizaciones (últimos 30 días)
승연 장
승연 장 el 6 de Nov. de 2020
Respondida: Image Analyst el 6 de Nov. de 2020
How to extract to RGB value(from jpg files)?
  • I have so many files that I want to running at once. (import all files /Get the RGB vaule all files /export all files
  • How to get the RGB values form like [R:G:B] (ex. [70: 150: 80] )
  • I've never done MATLAB before. so I should know all function

Respuestas (1)

Image Analyst
Image Analyst el 6 de Nov. de 2020
See the FAQ:
In the loop, you can do
rgbImage = imread(fileName);
[R, G, B] = imsplit(rgbImage);

Categorías

Más información sobre Convert Image Type en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by