LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Using Labview to save image from PCO camera(12 bit images)

Hello,

 I have labview 8.5 version in my Winxp. I have PCO camera (pixelfly). So far I know that it saves 12 bit images. I used normal save pattern of labviewas png,tiff or jpeg. As .pngit saves the images as 32 bit and as bmp it takes 8 bit images. But the picture quality is not good. I used IMAQ to take single picture and to save it I used IMAQ Write File 2. I used the following mechanism.

1) IMAQ ImageTo Array--> To unsigned word integer--->IMAQ ArrayToImage--->IMAQ Write File 2---> save it as .png file.

 

Please inform where I made the problem. Why the picture is not as like as 12 bit images of PCO Camera.

 

Thanks,

Stuttgart University,Germany.

0 Kudos
Message 1 of 6
(5,599 Views)

Hi there

 

you need to use a picture format capable of at least 12 bit color coding, e.g. .tiff. Maybe IMAQ supports tiff, or search for "tiff" in this forum.

Best regards
chris

CL(A)Dly bending G-Force with LabVIEW

famous last words: "oh my god, it is full of stars!"
0 Kudos
Message 2 of 6
(5,590 Views)
What is the type of the imaq image? As far as I know, it doesn't have any 12
bit images, but I might be wrong...

Regards,

Wiebe.


0 Kudos
Message 3 of 6
(5,574 Views)

IMAQ Create.vi supports Grayscale(I16) and RGB (U64). Both should be suitable for 12Bit Greyscale.

 

Documentation of "IMAG Write File 2.vi" says:

 

IMAQ Write TIFF File 2

 

Writes an image to a file in TIFF format.

 

 

Note  16-bit monochrome images and 64-bit RGB images are nonstandard extensions of the TIFF standard. Most third-party applications cannot read 16-bit monochrome or 64-bit RGB TIFF files. For compatibility with most applications, write 16-bit monochrome images or 64-bit RGB images into PNG files.

Best regards
chris

CL(A)Dly bending G-Force with LabVIEW

famous last words: "oh my god, it is full of stars!"
0 Kudos
Message 4 of 6
(5,570 Views)

"chrisger" <x@no.email> wrote in message
news:1236865213686-869487@exchange.ni.com...
> IMAQ Create.vi supports Grayscale(I16) and RGB (U64). Both should be
suitable for 12Bit Greyscale. &nbsp;Documentation of &quot;IMAG Write File
2.vi&quot; says:&nbsp;IMAQ Write TIFF File 2&nbsp;Writes an image to a file
in TIFF format.&nbsp;&nbsp;Note&nbsp;&nbsp;16-bit monochrome images and
64-bit RGB images are nonstandard extensions of the TIFF standard. Most
third-party applications cannot read 16-bit monochrome or 64-bit RGB TIFF
files. For compatibility with most applications, write 16-bit monochrome
images or 64-bit RGB images into PNG files.

Ah. I knew about those U64 and I16 grayscale formats, I just looked at them!

My main interrest is because TIFF was mentioned, and I'm working on a TIFF
readed/writer library...

Regards,

Wiebe.


0 Kudos
Message 5 of 6
(5,568 Views)

I have some problems with IMAQ initialization with PCO camera. Can anyone suggest any driver need to be installed as it is saying initialization failed and could not detect any active devices. Besides, I have no problem with my other VI's provided by company which use internal memory of the camera to save images.

0 Kudos
Message 6 of 6
(3,326 Views)