Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   Vision Assistant Problem (http://www.chiefdelphi.com/forums/showthread.php?t=100063)

baronep 13-01-2012 16:08

Vision Assistant Problem
 
1 Attachment(s)
Ok. So I have an algorithm built in NI Vision Assistant, but when I attempt to export it into a VI, the VI doesn't work. The image out box continues to stay greyed out. Here is the VI and image that I am using...

SuperS_5 13-01-2012 22:54

Re: Vision Assistant Problem
 
The first problem is that the initial vision container is set to greyscale(U8). The IMAQ ColorThreshold.vi can't use this type of image. It requires a matching colour container. The IMAQ Create.vi must specify the same image type as the IMAQ ColorThreshold.vi.

After running it, the output is still not correct, but is a start. The attached image is of fairly low quality. Can you possibly get another, matching the quality of the included camera?

If you have more questions just ask. The Error clusters BTW can be very helpful. The particular vision VI that you posted also can run on a windows machine, for testing, you can skip the cRIO.

baronep 13-01-2012 23:49

Re: Vision Assistant Problem
 
That VI was setup to run on the computer...

SuperS_5 14-01-2012 03:00

Re: Vision Assistant Problem
 
2 Attachment(s)
Using your original attachment as inspiration, I have quickly thrown together an algorithm that will find 3 of the 4 targets in that attached picture. I will keep looking into a better algorithm, but for now this will be a good starting point.

Attachment 11361
Attachment 11362


All times are GMT -5. The time now is 09:25.

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