I have been working with both Vision Assistant and Labview with Vision development vis for the last month. While using the Vision assistant I have come across a very troubling observation. My application will require high accuracy (sub-pixel) which the documentation indicates is possible. While doing some simple measurements using Vision assistant, I have found the measurement functions seem to be off by about one pixel (dependent on type of measurement method/settings.
Example
I have an image (greyscale) with a pure white background and a black horizontal line which is exactly 2 pixels wide. The image resolution is 640X480. When I use the clamp function to measure the width of the black line I get the following results: distance = 2.82 pixels
When I use the edge detection method and set steep to 0, filter to 0 and contrast to 244 I get Y coordinate edges at 110.02 and 112.99
The actual Y coordinates of the two black rows are 111 and 112. I can understand the 110.02, but not the 112.99. It seems the clamp function just subtracts the smaller from the larger to get the 2.8 result.
We see the same result in longer measurements also. I was unable to find anything in the Knowledge base relating to this. Am I doing something wrong here, or does the vision package have a flaw?
Thanks,
Howard