02-12-2007 03:35 PM
02-16-2007 03:51 PM
02-16-2007 06:25 PM - edited 02-16-2007 06:25 PM
Message Edited by Chris Regan on 02-16-2007 06:26 PM
Message Edited by Chris Regan on 02-16-2007 06:27 PM
Message Edited by Chris Regan on 02-16-2007 06:27 PM
02-20-2007 01:56 PM
Chris,
Thank you for attaching a sample VI, and thank you for pointing this out. Because of basic architectural reasons in the way we designed Vision, and because we use I16, we are not able to completely support .tif files. I have informed R&D of the inconvenience, but because it is an architecturally based issue it will be a slow fix. Because of the way the algorithm works, this cannot be disabled but can be worked around. An easy workaround is to just add a white pixel to each image if you need to use the .tif file type.
Something else to consider is that there are a few data types that will not change your data values. Our NI custom file type, AIPD will keep those values, and a .png file supports I16 so it will also maintain those values. Let me know if you have anymore questions, thank you.
-Allison S.
Applications Engineering
02-20-2007 03:43 PM
02-21-2007 05:37 PM
02-27-2007 05:42 PM
Hi Chris,
Because I16 is not a common format for images, not all features are completely supported. In some cases, image files written using NI-Vision will not display correctly in 3rd party viewers. As far as the .tif file, I have filed a request that that behavior be corrected. As of right now it is not possible to save an I16 .tif file using NI-Vision and have it preserve the data unless at least one of the pixels is a positive value. If there is anything else I can do for you let me know, and I have attached your forum to the correction request so that if a solution is found or made I will contact you. Thank you again for your patience, we will do our best to fully support I16 and U16 images and image files in future versions of Vision.
-Allison S.
Applications Engineering
02-28-2007 10:26 AM - edited 02-28-2007 10:26 AM
Chris Regan wrote: Hi Allison, I'm disappointed to learn that TIFs aren't fully supported, and surprised that there's not a workaround that doesn't involve corrupting the image data. Couldn't something be done with the color palette during the save that would get the file to preserve the actual values?
Image Toolbox ($) support U16 array to TIF (16 bit gray format) convert, and TIF to U16 array.
Message Edited by zou on 02-28-2007 10:27 AM
06-06-2017 03:21 PM
Hi, I am new to NI community, and I hope it is not abrupt to follow up such an 'ancient' thread.
But I also have trouble saving U16 tiff files. I am wondering, over so many year has this feature been improved? Is there any way to save a U16 tiff file with IMAQ nowadays?
06-06-2017 04:18 PM
Probably better to create a new thread and refer to an older one with a link.
From the 2015 Help, it looks like U16 images are supported by IMAQ Write (TIFF), but probably not supported by other software that reads TIFF, as noted in the help.