LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Image Processing

Hi all,
I am developing an algorithm using Labview 7.1 and vision development module. The problem I have is when I was processing the images from an AVI file (e.g. threshold, removing small particles, etc.), only the 1st image was managed to be processed. The process of images afterthat showed error signs on each block started from the IMAQ AVI readframe. In the error output message showed IMAQ AVI readframe incompatible. Can anyone help me to explain this problem as I am quite new to Labview. Thank you very much.
 
 
0 Kudos
Message 1 of 2
(2,688 Views)

Hello Shaunkhoo,

Have you tried running the Read AVI example?  You can find LabVIEW examples either through the Example Finder or directly at

C:\Program Files\National Instruments\LabVIEW 7.1\examples\Vision\2. Functions\AVI

Also, the AVI Read Write With Data Example will give you another way to set up your code to access your AVI file frame by frame.  If these examples work correctly, you could incorporate the code into your existing system.  To verify that the error occurs at the AVI Read Frame function, you might also want to try using highlight execution to follow the data flow and determine the exact source of the error in your system.  If the error is actually occurring when you write to an AVI and you are getting this incompatibility issue, you might also try converting your image type to either 8-bit or RGB.  There is a Knowledge Base document that mentions how to convert your image to the appropriate type using MAX or Vision which I have linked below:

Incompatible Image Type Error (-107439607x) When Writing an AVI File

I hope this helps.  Please let us know if you would like further clarification or assistance regarding this issue. 

Regards,

Vu D
Applications

0 Kudos
Message 2 of 2
(2,668 Views)