Need to add new metadata to image file
Posted by Jim Cant on Feb 22, 2007; 1:15am
URL: http://imagej.273.s1.nabble.com/Need-to-add-new-metadata-to-image-file-tp3700273.html
I need to find a way to programatically add new metadata to image files (jpg, tiff, dicom); this data would be the results of image analysis done interactively. These would be fields/tags that did not not exist in the original image file.
Also, how is the metadata of an image file represented within ImageJ once a file is loaded. All I've been able to discover is the FileInfo object which seems very generic; it's not clear, for example, where a user-defined tag from a tiff file would show up. Actually, I would have expected a class for each image file type (each likely an extension of a common base class.)
I would expect the solution to my problem would be to create new additions to the internal representation of my image then write all this out to a file.
Any pointers, suggestions, hints, or actual solutions would be greatly appreciated; I thank you in advance.
Thanks,
Jim Cant