07-24-2013 09:59 AM
Dear sir,
One more thing please send the VI working with vision assistant secondly the files are not compatible to 12.0 (there is error coming during opening of VI).
Thanks,
With regards,
07-24-2013 10:45 AM - edited 07-24-2013 10:46 AM
Strange about the error, it looks ok if i open it.
I am attaching the vi's saved for LV2010.
I do not use vision assistant, but it is really straightforward to do geometric matching. Load the rgb image, extract intensity plane and do geometric matching (train the template, and be careful to consider all the scales when you are adjusting the settings). Then just generate the labview code.
Best regards,
K
07-24-2013 11:27 AM
Dear sir,
Got it and will reply soon.
Thanks,
07-24-2013 02:31 PM - edited 07-24-2013 02:40 PM
Thank You for your response
I solved my Problem
But I have another question :
When I searched in web, I found this equation :
07-24-2013 03:00 PM
Just treat the equation as a bunch of unknowns that can be combined into a single constant, which is divided by OH. You get:
d = C / OH
This is really easy to calibrate. Measure a few distances and the object height in pixels. Multiply each pair together to get an approximate value for C. Average all these values to get a good value for C.
If you don't like this method, focal length is usually printed on your lens (something like 16 mm), and sensor height is the physical dimension of your sensor. You can calculate it by multiplying the vertical number of pixels in the image and the physical pixel sensor size (something like 5 um), which would be in your camera manual.
Bruce
07-24-2013 04:15 PM
Hello
I am sorry, I'll tire you but I can't know until now how to get the focal length and physical pixel sensor size
I'm using HD Webcam of my laptop
07-24-2013 04:15 PM
Hello
I am sorry, I'll tire you but I can't know until now how to get the focal length and physical pixel sensor size
I'm using HD Webcam of my laptop
07-24-2013 04:28 PM
Since you can't get these measurements, the only way is to do the calibration I talked about. Measure the object height (pixels) at a bunch of different distances (mm) and fit a 1/x curve to the data.
Bruce