11-19-2009 03:01 PM - edited 11-19-2009 03:02 PM
I am trying to help out one of my co-workers who needs to write a 12-TIFF file in LV.
He thinks he did 8-bit but the req. is for 12-bit.
So anyone that wants to straighten me out, please do so.
Thank you!
Ben
PS Tim (Mellowbuck) will reply with more details shortly.
Solved! Go to Solution.
11-19-2009 03:12 PM - edited 11-19-2009 03:13 PM
Thanks Ben!
My Main question is that I seem to be able to produce an image which consists of U16 grayscale, and then I use the IMAQ Write (shown below).
Upon re-opening the TIFF file (tim4.tif), each pixel intensity is truncated at 8-bit (255) at each pixel where it exceeded 255.
How do I keep greater than 8-bit resolution on this file? Or, am I missing something on opening the data?
Thanks,
Mello
11-19-2009 03:37 PM
If the image data is U16 and you format the image I16 that might be an issue. I don't understand applying the color palet gray at the image write...could that be conflictign with the original image definition...
?
Hummer1
11-19-2009 03:41 PM
11-19-2009 04:11 PM
11-20-2009 01:33 AM
Ben,
I started getting interacting in this forum for the exact same reason. I had a image processor chip that would give me a 12 bit image data and i wanted to map that into an image. I ended up converting it into a 16 bit value by manupulating the lsbs (adding 0000) and then mapping it.
11-20-2009 07:43 AM
Well first let me thank you all for the replies. I really appreciate it.
Tim has just arrived in the office and will check out your suggestions soon. I wll insist that you all get Kudos from him as well.
Ben
11-20-2009 08:01 AM
Thank you, Hummer! That was the correct solution. I removed the cast image and palette functions, and the numbers came in and out correctly. The image references had originally not connected without the cast image function, but I guess I got rid of the conflict somewhere along the line.
I'll let Ben know to mark this as a solution.
-Mello
11-20-2009 08:08 AM
You're welcome.
Darin.K's cast catch was important!
Hummer1
11-20-2009 08:11 AM
Hummer1 wrote:You're welcome.
Darin.K's cast catch was important!
Hummer1
Should I mark his reply as the solution or should I just get him some more Kudoes?
Ben