Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

AVI Images Distorted

I'm saving AVI movies and have had a recent problem crop up. Sometimes my image is being severely distorted on printing. You can see a diagonal line run about 20% of the way from the left of the screen & it almost seems like that should be the left side of the image (if it was vertical) and that the whole image is shifted around that line. It is kind of like when the VHOLD & HHOLD on your TV are out & the image wraps around. The image appears fine before I write it & it affects every frame in the movie.
 
Originally, I thought it mattered if I was overwriting an existing AVI, but it doesn't seem to matter. I'm now deleting the AVI I'm overwriting first through the code. I've also deleted the files manually before hand and still having this issue. It is not consistent. It doesn't happen in every instance.

Thanks,
Anna Mae
 
 
0 Kudos
Message 1 of 3
(3,159 Views)

What's the source of the image data?

Are you capturing from hardware or computing the images from an algorithm?

Are you using a CODEC or is the image data raw uncompressed?

 

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

The images are coming from a camera. Upon further thought over the weekend, I realized the problems began about the time I switched the compression. I was using the MPEG Codec V1 when I encountered the problems. By using other encoding routines, I have managed to get rid of the shift. I am still trying to balance file size, write time, and acceptable image quality. But think the encoding was the source of the problems.

Thanks.

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