How to retrieve image tags

5 vues (au cours des 30 derniers jours)
Pavel Alekseychik
Pavel Alekseychik le 9 Mar 2012
Hello all,
I want to retrieve the tags that were attached to a .jpg image (the tags were attached from outside matlab using image visualization software). The function 'imageinfo' does show (in the very bottom of the list) that there are certain 'UnknownTags', which form a 2x1 structure. That looks correct, as there were indeed 2 tags attached to the image. Now, the question is, how to get those tags inside Matlab?
There aren't any tips anywhere. Please help! Thanks.
Pavel

Réponses (2)

Walter Roberson
Walter Roberson le 9 Mar 2012
However, I do not presently see a method of determining the numeric value of the unknown tags that were stored. Perhaps you already know the numbers?
  1 commentaire
Pavel Alekseychik
Pavel Alekseychik le 9 Mar 2012
Thanks for a quick reply,
But it seems that I have confused the 'tags' you associate with .tif images with the 'keywords' that can be attached to e.g. .jpg as well. Sorry. So, those are actually 'keywords', like the names you would mark on a photo. Can MatLab retrieve such a property of an image file?
Thanks again.

Connectez-vous pour commenter.


Image Analyst
Image Analyst le 9 Mar 2012
If you're referring to exif information, use imfinfo().
  1 commentaire
Pavel Alekseychik
Pavel Alekseychik le 9 Mar 2012
Thanks for the suggestion, I've tried that. Alhtough 'imfinfo' returns the 'UnknownTags', they seem to be something totally different.
What 'imfinfo' was actually able to show is the 'ImageDescription' of an image file. That's also of use, but the keywords I'm referring to are still something different.
To be exact, Windows Photo Gallery allows adding (a) keywords and (b) image description. I'm trying to get (a). Maybe MatLab simply doesn't have such powers?

Connectez-vous pour commenter.

Catégories

En savoir plus sur File Operations dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by