reading pixels from an image
1 view (last 30 days)
Show older comments
Mohanned Al Gharawi
on 4 May 2018
Commented: Mohanned Al Gharawi
on 4 May 2018
I saved several images with extension fig, I need to read pixels in them, how can I do that?
2 Comments
KSSV
on 4 May 2018
What images? .fig is a matlab figure...you have data in hand you plotted them and saved as .fig. What exactly you want to do?
Accepted Answer
Image Analyst
on 4 May 2018
Don't save them as .fig files. Use imwrite() to save them as .PNG files. Otherwise you'll have to read in the figures with openfig() and then use getimage(), which is not as direct, plus .fig files are not readable by standard functions such as Photoshop or whatever.
More Answers (0)
See Also
Categories
Find more on Read, Write, and Modify Image 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!