How to save a text annotation on an image photo
11 次查看(过去 30 天)
显示 更早的评论
Hi, I have an image, I crop it, add some text to the photo, then I want to save that photo into a cell
imshow(CroppedImage)
text(10,10,text_for_pic,'Color','y')
I have this running within a loop of a large set of images and then concatenate the images (stitching)
AA=ImageCell{:};
ImageCell = cat(2,ImageCell{:}) ;
Any ideas for how I can save the croppedImage with the text on without using Computer Vision Toolbox?
0 个评论
回答(1 个)
Guillaume
2018-6-28
If you have the Computer Vision Toolbox, you can insert your text into the image with InsertText otherwise you have to convert the displayed figure into an image which is a right pain and usually result in an image of a different size than you started with.
2 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!