MATLAB: How to write text on a JPG and save it without displaying (R2010b)
.jpgComputer Vision Toolboxsavewrite text
Hello,
I have an image (jpg) and I want to add text in it without showing anything on the screen. I followedthis link (the first part, with the "tmask" stuff) but it pop up the text. I'm on Matlab 2010b so the functioninserText is not available.
Thanks, Valentin
Best Answer
I don't know of any other way to do it without displaying the image.
If you can tolerate displaying it, you can use export_fig() by Yair Altman in the File Exchange. Use text() to put your text and any other graphics in the overlay, then use export_fig() to save it to a file.
Is getting a more modern version with that toolbox completely out of the question?
Best Answer