Saving Figure Data into a Matrix
Ältere Kommentare anzeigen
Hello.
I'm using 'image()' to display an image. I'm adding some annotations using text.
I'd like to save the final result as matrix (3 Channels of the displayed image width and height). Something like using: OI = get(imageHandler, 'CData'); Yet which includes all the annotations I added.
I know I can use 'saveas' and 'print' yet then the data undergoes some interpolation while I want the data as it is back as a matrix.
Anyone knows how to do it?
Thanks.
1 Kommentar
Zhiyu Xiao
am 14 Jul. 2019
Great question!
Akzeptierte Antwort
Weitere Antworten (1)
Leslie Solorzano
am 16 Dez. 2016
0 Stimmen
https://se.mathworks.com/help/matlab/ref/frame2im.html
Kategorien
Mehr zu Convert Image Type finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!