Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: [Q] Add text into image matrix?
Replies: 8   Last Post: Mar 11, 2013 1:17 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Kevin Hung

Posts: 76
Registered: 12/7/04
[Q] Add text into image matrix?
Posted: Feb 8, 2008 12:36 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

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.



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2013. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.