Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
Drexel University or The Math Forum.
|
|
|
|
[Q] Add text into image matrix?
Posted:
Feb 8, 2008 12:36 PM
|
|
Hi everyone,
This is what I would like to do:
(1) Use imread.m to load a jpg file into Matlab. (2) Add one line of text (eg. the date of image file) to the image. (3) Use imwrite to save the modified image back to a jpg file.
I don't know how to do step 2. I know that I can use text.m to add text to a figure. But I don't know how to add text to a image (which is stored in a 3-D matrix).
Thanks.
|
|
|
|