How to convert image to RGB ?

6 ビュー (過去 30 日間)
승연 장
승연 장 2020 年 11 月 6 日
回答済み: Image Analyst 2020 年 11 月 6 日
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

回答 (1 件)

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

カテゴリ

Help Center および File ExchangeConvert Image Type についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by