Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
This Document is not yet Rated  Rate this Document

Can I Acquire a YUV 4:2:2 Format Image with a FireWire IEEE 1394 Camera in LabVIEW?

Primary Software: Driver Software>>NI-IMAQ for IEEE-1394
Primary Software Version: 2.1
Primary Software Fixed Version: N/A
Secondary Software: N/A
Hardware: Image Acquisition (IMAQ)>>Digital Image Devices>>PCI-8252 with Vision Acquisition Software

Problem:
I need to acquire an image using YUV 4:2:2 format from my FireWire IEEE 1394 camera.  How do I acquire a YUV image and read it in LabVIEW?

Solution:
First, in Measurement & Automation Explorer (MAX) select your IEEE 1394 camera.  If you cannot see your FireWire camera in MAX, see KnowledgeBase 25UCKA8M: Troubleshooting FireWire (IEEE 1394) Camera Installation Problems. Navigate to the Acquisition Parameters tab.  Select a YUV setting under Video Mode.  Click Save.  Your camera is now configured to acquire YUV images.



YUV 4:2:2 is a chroma subsampling scheme used to reduce the bandwidth required to transmit the color difference components allowing for more bandwidth for the luma component, to which humans are more sensitive. The luma component is represented by the first number in the three part ratio, and the color difference components are represented by the second and third numbers in the ratio. 

In LabVIEW, you will use an IMAQ Create VI to generate a buffer in which to store the acquired image.  Select RGB (U32) as the Image Type. The conversion from YUV format into RGB format takes place in the NI-IMAQ for 1394 driver.


                                                   
You are now ready to create the rest of your image acquisiton code.  If you would like example code to get started, go to Help»Find Examples...  Then, when browsing according to Task, navigate to Hardware Input and Output»IMAQ 1394»High Level»Snap. 


Related Links:
KnowledgeBase 25UCKA8M: Troubleshooting FireWire (IEEE-1394) Camera Installation Problems
KnowledgeBase 2K99LA8M: What's New in NI-IMAQ for IEEE-1394

KnowledgeBase 4PB9L9QE: Is My Camera Supported?

Attachments:





Report Date: 03/20/2009
Last Updated: 04/16/2009
Document ID: 4VJBAAWA

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit