How to convert image to RGB ?

6 vues (au cours des 30 derniers jours)
승연 장
승연 장 le 6 Nov 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

Réponses (1)

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

Catégories

En savoir plus sur Convert Image Type dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by