attach variabe in image

hi need to show the a variable ( D ) that change in runtime i can show that but i need put it on frame that i made it before ...i attached my image code ..
thanks in advance

Answers (2)

DGM
DGM on 12 Dec 2023
If you want to add labels to a figure, what's wrong with text() or annotation()?
If you want to add text directly to an image, see insertText(). If you don't have CVT, see the comment here and the answers it links to.
Image Analyst
Image Analyst on 11 Dec 2023

2 Comments

ali
ali on 12 Dec 2023
it's hard to found out what happining in that project ...do you know how can attach variable to image
best regrads
I'm not really sure what "attach" means to you. Do you
  1. want to display the value of the variable above the image. The image is on an "axes" and the "axes" is on a "figure" and you could have some caption/label above the image?
  2. want to "burn" some text that has the variable name and value into the pixels of the image? Like with insertText of the Computer Vision Toolbox?
  3. want to put the name and/or value of the variable into some EXIF or IPTC metadata tag of the image file? Like with exif_tool?
  4. want to "hide" the variable in the image like with steganography?
Or something different than those options?

Sign in to comment.

Categories

Find more on Image Processing and Computer Vision in Help Center and File Exchange

Asked:

ali
on 11 Dec 2023

Commented:

on 12 Dec 2023

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!