attach variabe in image

1 view (last 30 days)
ali
ali on 11 Dec 2023
Commented: Image Analyst on 12 Dec 2023
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
Image Analyst
Image Analyst on 12 Dec 2023
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 Convert Image Type in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!