How to add text to an image
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
John Snow
am 16 Dez. 2013
Kommentiert: Image Analyst
am 17 Dez. 2013
Hello, If I have an image with the size 512*512 (or any other size) how do I add a string to any location I choose for example location (100,250) all the codes I found are too long but is there a one line code that does this?
0 Kommentare
Akzeptierte Antwort
Image Analyst
am 16 Dez. 2013
You can do it with a function in the Computer Vision System Toolbox. If you don't have that, you'll have to use this from Brett Shoelson: http://www.mathworks.com/matlabcentral/fileexchange/38721-embed-text-and-graphics-in-an-image
13 Kommentare
Image Analyst
am 17 Dez. 2013
That's nonsense. You don't set the units property of a scalar variable to anything. LAX and LAY don't even have properties like 'units'! You set the units property of an axes or figure to something.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Annotations finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!