Line profiles not embedding when saving .TIF
Hi there,
I've been using Image-Pro 11 to do some image analysis/annotation on juvenile fish otoliths. I primarily utilize the line profile function to mark daily growth increments on transect lines. Other colleagues have shared .TIF files with me that have line profiles embedded into the image and they appear no problem when opened in Image-Pro 11. However, every time I've attempted to save an image that I've added line profiles to (through the file - save as option) they disappear. The only workaround right now is to save separate .lpf files in the Line Profile tool, but this is tedious when working with hundreds of images and I know in previous versions of Image Pro this worked just fine. I've checked the settings window extensively and there appear to be at least two or three different options for saving line profiles (I've tried basically every combination of turning them on and off to no avail) . Is there something simple I'm missing? Thanks for any help! Unsure if this matters but all images were captured on a Nikon Eclipse TI-2 microscope via Nikon Elements. I'm using Image-Pro 2D Measurements - v11.0 Module
I've been using Image-Pro 11 to do some image analysis/annotation on juvenile fish otoliths. I primarily utilize the line profile function to mark daily growth increments on transect lines. Other colleagues have shared .TIF files with me that have line profiles embedded into the image and they appear no problem when opened in Image-Pro 11. However, every time I've attempted to save an image that I've added line profiles to (through the file - save as option) they disappear. The only workaround right now is to save separate .lpf files in the Line Profile tool, but this is tedious when working with hundreds of images and I know in previous versions of Image Pro this worked just fine. I've checked the settings window extensively and there appear to be at least two or three different options for saving line profiles (I've tried basically every combination of turning them on and off to no avail) . Is there something simple I'm missing? Thanks for any help! Unsure if this matters but all images were captured on a Nikon Eclipse TI-2 microscope via Nikon Elements. I'm using Image-Pro 2D Measurements - v11.0 Module
Tagged:
0
Best Answer
-
Upon investigation we see that the problem is caused by the way that we preserve the Description TIFF tag when opening an OME-TIFF single frame image. This causes the saved TIF file to still be interpreted as an OME-TIFF file when it is reloaded which bypasses loading of the line-profile data. We will fix this in the upcoming ll.1.1 patch release, but I have a workaround for you.After opening one of these OME-TIFF images, you just need to erase or replace the Image Description property. You can do this interactively from the Document Properties (the blue oval with "i" in it in the image context panel). In the Document Properties "Metadata" template, you will find the Description property as shown below:Just replace the Description with nothing or some other text (other than the OME-TIFF header, of course).Alternately you can just run this little macro which will empty out the Description property of the ActiveImageAfter replacing or clearing the description, your line profile will be saved when you save the image as a TIFF file, and will be available when you open the Line Profile panel after opening that saved tiff file.
Public Sub ClearDescription() ThisApplication.ActiveImage.Description = "" End Sub
0
Answers
Please verify "Save Line Profile" option is checked (Histogram & Profile page, Line Profile section). The complete information of the line profile tool saved with the .tif images.
Could you please attach an example image for future investigation?
Thanks,
Nikita.
I've attached some screenshots of my setup below as well as an example .TIF I've been using (cropped since these files are huge in their full format). I've changed the initial profile setting to all options (none, default, selected and all) with no change. "None" displays no line profile when loading an image, "default" loads a horizontal line with every image I open, "selected" shows no profiles, and "all" displays the line profile from the last image saved without any of the manual marks saved.
Thanks for getting back to me! Hopefully it's just something funky on my setup end.
Thank you for detailed report. I can reproduce the issue you describing.
17profile.tif (km3e51x25jd8.tif) doesn't save line profile into file, also ROIs and Annotations also fail to save.
I suspect, this is related to OEM/non-OEM file format and I'll send these images for future investigation.
Last question: what's the version of Image-Pro 11 you are using 11.0.0-11.0.4?
Thanks,
Nikita.