Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

How are the lines of an image stored in the IMAQbuffer?

I'm using an IMAQ-PCI 1409 framegrabber and write my programs in C++. I'll try to explain my problem, hopefully it's clear...
 
When I save a captured image from the imaqbuffer to a file (I don't use the imgSessionSaveBufferEx function, because I make some changes in the image array before saving it), the image is mirrored in a horizontal line in the middle of the image. The function I use to save the image does work well in other situations.
 
It looks like the buffer is filled by adding the lines of the image from the bottom to the top, so the first value in the buffer is the value of the pixel in the lower left, in stead of in the upper left. Is this true and is there a document available about these details, the only information I can find is about using standard functions.
 
thanx for the help,
 
Sebastiaan.
0 Kudos
Message 1 of 4
(3,425 Views)
Sebastiaan -

The <a href="http://digital.ni.com/manuals.nsf/websearch/34548BDDD48DF68B86256F81005B94F8">IMAQ Vision Concepts Manual</a> has a section about the internal representation of an IMAQ Vision image (it's in Chapter 1) - this should be the information you're looking for.

Hope this helps!

Greg Stoll
IMAQ R&D
National Instruments
Greg Stoll
LabVIEW R&D
0 Kudos
Message 2 of 4
(3,404 Views)
 

Whoops - let me try that link again. Here is a link to the IMAQ Vision Concepts Manual.

Greg Stoll
IMAQ R&D
National Instruments

Greg Stoll
LabVIEW R&D
0 Kudos
Message 3 of 4
(3,398 Views)
Thanx, that's exactly what I needed!
 
Sebastiaan.
0 Kudos
Message 4 of 4
(3,393 Views)