Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

get UVC (truly) raw data

Hello, I am using Cypress' FX3 chip to display 12bit monochrome imager as USB3.0 web cam. It uses UVC, so color format is YUY2. In Labview, I get picture already as 32bit RGB converted by DirectShow, as I later learned. Before that I tried using IMAQdx get image data in hope to get raw YUY2 data, but its size (4times pixel count) confirms it is RGBA. Is there a way to extract true raw data in Labview? Thanks, Tomasz
0 Kudos
Message 1 of 3
(3,846 Views)

Hi,

 

It is not possible in IMAQdx on Windows with a DirectShow/UVC camera. The way IMAQdx interfaces with DirectShow has the OS translate the images into Mono8 or RGB32 before IMAQdx gets the data.

 

If you plugged it into a NI Linux RT embededded system (like http://sine.ni.com/nips/cds/view/p/lang/en/nid/212667), you will get YUY2 raw data, because the conversion to RGB32 takes place in IMAQdx rather than the OS.

 

Eric

0 Kudos
Message 2 of 3
(3,827 Views)

I think with some change in camera setting parameter with max you could get image that is almost is raw
Esp camera Bayer change
but I am not sure about it 

0 Kudos
Message 3 of 3
(3,807 Views)