How to create an independent image after drawing a ROI
4 次查看(过去 30 天)
显示 更早的评论
How to create a second independent image that contains the same first image, however with the burned ROI? If possible, the ROI should no longer be editable.
Thanks
A
4 个评论
Rik
2020-6-11
Burned means fixed. The shape of my ROI is determined by the attached code using the C.mat, which is nothing more than the vertices of the outline of the blank object in the image (a bubble). The color could be blue, just like the color of the ROI.
The description of my question is the same as: How to save an image displayed on the Matlab screen without having to press the save button in the window?
采纳的回答
Ameer Hamza
2020-5-31
See exportgraphics(): https://www.mathworks.com/help/releases/R2020a/matlab/ref/exportgraphics.html [R2020a]
Or to read an rgb image matrix directly in MATLAB: getframe(): https://www.mathworks.com/help/releases/R2020a/matlab/ref/getframe.html
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!