How to convert image to RGB ?
6 views (last 30 days)
Show older comments
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
0 Comments
Answers (1)
Image Analyst
on 6 Nov 2020
See the FAQ:
In the loop, you can do
rgbImage = imread(fileName);
[R, G, B] = imsplit(rgbImage);
0 Comments
See Also
Categories
Find more on Convert Image Type in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!