10-31-2009 08:41 AM
Hi Zach,
I have changed the display to snapshot mode but it is still saving the image as all black despite showing some image features in the labVIEW display.
The image being sent to the learn golden template VI is U8 as it is coming out of the colour threshold VI however, i have also added a cast image VI in but it has made no difference. I am not really sure what the problem is as i am not getting any errors or warnings (VI attached)
-Adam
11-02-2009 04:28 PM
11-02-2009 04:51 PM
Hello,
Can you post some screenshots of the behavior you are experiencing so that I can take a look?
-Zach
11-02-2009 11:57 PM
Hi Zach,
please find screen shots attached.
"seventeeen.png" is the image file that is saved to disk
"block Diagram" is a screen shot of my VI
"front end display.jpg" is what is being shown on the front end of my VI after execution.
any thoughts?
-Adam
11-03-2009 11:11 AM
Hello,
I modified your example in order to read images from a file and was unable to get that working with what you had. In looking for additional information, I have run across a number of different things that went wrong. This Knowledgebase ended up having a link to what I had been looking for all along: an example. The problem that we were experiencing comes from the need of some geometric matching in order to learn the pattens in the image. The Learn Template seems to be used to give a Template type output instead of learning an actual image. Try out this example and see if that gets you going.
-Zach