reading pixels from an image
1 次查看(过去 30 天)
显示 更早的评论
I saved several images with extension fig, I need to read pixels in them, how can I do that?
2 个评论
KSSV
2018-5-4
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?
采纳的回答
Image Analyst
2018-5-4
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.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Read, Write, and Modify Image 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!