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 CenterFile Exchange에서 Convert Image Type에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by