Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   Problems With Vision Processing (http://www.chiefdelphi.com/forums/showthread.php?t=90611)

amitk47 31-01-2011 16:41

Problems With Vision Processing
 
1 Attachment(s)
We have been trying to learn how to process images using Vision Assistant in the last few days, but the VI file for the script we made
(The example script in the tutorial for Vision Assistant - http://www.ni.com/pdf/manuals/372228f.pdf) doesn't work. The error code we got when we tried to debug the code was: -1074396080. The VI file is atached here.

Please help us,
Thanks.

Greg McKaskle 31-01-2011 20:45

Re: Problems With Vision Processing
 
My guess is that your subVI is fine provided you wire up a mono image to it. The camera and Get Image VI return color images. You may want to add one more step, which is to extract a color plane or otherwise convert to mono.

Greg McKaskle

amitk47 01-02-2011 14:49

Re: Problems With Vision Processing
 
Firstly, thanks - the vi works now. But there is another problem- when we try to debug the vi by watching the result image after each step of the processing - and we try to watch the image after being converted to binary- we get a black image. Is there any way to see the binary image in red\black the same way as in Vision Assistant while the code is running?
Thanks

Greg McKaskle 01-02-2011 21:29

Re: Problems With Vision Processing
 
It is a little annoying when that happens, but easy to correct. You right click on the image control -- on the panel or in a probe, and you choose Palette>Binary. The others are more useful for color or monochrome.

Greg McKaskle


All times are GMT -5. The time now is 10:11.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi