Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

NI-PCIe1433 + Basler avA2040-180kc color image Problem

Hi all:

 

My sysyem:

WIN7 64bit

Labview2012 32bit

VISION2012 32bit

 

Frame Grabber: NI-PCIe 1433

Camera:Basler avA2040-180kc,(Pixel Data Format:Mono/Bayer GB...) (Camera Link interface)

 

My Question:

Run NI-MAX,this camera can grab color image,no problem.

But,when i run the Labview example code "HL Grab.VI",that image not color image, it look like Gray Image.

 

Why?

 

Has any Labview code can reference?

 

 

 

 

0 Kudos
Message 1 of 4
(4,716 Views)

Hello,

 

have you tried modifying the example to change the image type? :

 

HL Grab_BD.png

 

 

Best regards,

K


https://decibel.ni.com/content/blogs/kl3m3n



"Kudos: Users may give one another Kudos on the forums for posts that they found particularly helpful or insightful."
0 Kudos
Message 2 of 4
(4,700 Views)

Hi Morbal ,

 

I guess it bayer encoding issue, you can refer to following link :

http://digital.ni.com/public.nsf/allkb/8AAAE9435D30CEB886256F80007A39AD

 

you can also find the example Snap with Bayer Decoding.vi form LabVIEW example finder.

 

Thanks.

Sean

Regards,
Sean
0 Kudos
Message 3 of 4
(4,692 Views)

YA!!  This Problem has been resolved.

 

Add Bayer Decoding can solve this problem.

0 Kudos
Message 4 of 4
(4,687 Views)