08-17-2007 09:50 AM
08-17-2007 02:03 PM
08-17-2007 02:14 PM
What do you mean by "the only greyscale palette available limits you to 8 bpp... "
@colman77 wrote:
It seems that the outputted image is based on the "color palette" that you select... unfortunately it also seems that the only greyscale palette available limits you to 8 bpp...
08-17-2007 02:21 PM
@zyl7 wrote:
I'm using the IMAQ function "IMAQ Write PNG file" to store the images. But then when you open these stored images with a basic software (such as Paint) each pixel is coded onto 256 levels. Do you think I should turn "Use bit depth?" option to True ?
I mean when you create the image using IMAQ Create.vi, you can specify grayscale I16.
The display of Paint doesn't mean anything here. Even if you are opening a 16 bit grayscale image, Paint will convert it to 8 bit for display.
George Zou
08-17-2007 02:30 PM
@zyl7 wrote:
Yes colman77, you perfectly understood my problem. I can't figure out what image format I should use to store 12-bit gray information... Does anyone have an idea ?
Display & save image are 2 different issue.
You can save your image in 16 bit gray scale png/tiff, but you can't display a 16 bit grayscale image.
Neither Windows system nor your vedio card support that.
All applications, including Paint, IMAQ, convert the image to 8 bit befoer display it.
The find out if you saved your image in a right image type, try IMAQ GetFileInfo
George Zou
08-17-2007 03:24 PM
08-17-2007 03:39 PM - edited 08-17-2007 03:39 PM
@zou wrote:
What do you mean by "the only greyscale palette available limits you to 8 bpp... "
if I understand correctly the "color palettes" are lookup tables, which creates grayscale by putting all 3 rgb channels to the same value... and since each channel is 8 bits, that would limit any grayscale image to 8 bpp?
EDIT: yeah, what guenter said 🙂
Message Edited by colman77 on 08-17-2007 04:42 PM
08-17-2007 07:10 PM
colman77 wrote:
if I understand correctly the "color palettes" are lookup tables, which creates grayscale by putting all 3 rgb channels to the same value... and since each channel is 8 bits, that would limit any grayscale image to 8 bpp?
You are right. That color table is limit to 8 bit.
Don't konw if this require for that VI, but in general, you don't need a color table for grayscale image. It's a constant.
George Zou