Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Image glitches

I am grabbing an image from a camera, rotating it N deg. and displaying it to a full screen window.

I will often get glitches where for one frame the image will not be rotated. I  know that I need a 2nd Image display buffer and have created one.

I copy the image using IMAQ Copy vi, but I am still getting glitches. Any ideas?

Thanks

Bill 

0 Kudos
Message 1 of 3
(3,222 Views)

Hi, Bill,

 

You can do it without IMAQ Copy as well. Looks like race conditions in your code, but its complicated to say what is wrong without your code.

See attachment - rotates square without "glitches"

 

Andrey.

 

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

Hello Bill,

 

 Andrey's VI does show how you can rotate the image and then display it on the front panel. The glitches you observe may be because you do not update the image buffers in your VI properly.  

Vivek Nath
National Instruments
Applications Engineer
Machine Vision
0 Kudos
Message 3 of 3
(3,187 Views)