Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

NI-IMAQ Picture Display

"I am building C++ code that uses a NI-IMAQ 1424 board with a DuncanTech MS camera. I do not have access to VISION and am trying to display the entire picture that the camera takes in a space about a muiltple of 4 smaller. I was told in order to do this I would need to scale the H and V, however I have yet been successful in displaying an image by setting the attributes using IMG_ATTR_HSCALE and V with IMG_SCALE_DIV4.
Any Help would be appreciated.

JAG"
0 Kudos
Message 1 of 2
(3,149 Views)
IMG_ATTR_HSCALE actually does hardware scaling which means that reduced the image that is acquired. My understanding is that you want to zoom in and out in the display. That functionality is available in the Vision toolkit, but without it I don't really have any ideas. You could create another image and do something like fill it with every fourth pixel from every fourth line and then display that image instead. But that is a lot of processing. Hope that helps.

Cheers,

JR A.
Application Engineer
National Instruments
0 Kudos
Message 2 of 2
(3,149 Views)