11-11-2013 09:55 AM
Hello All
I am very new to Image processing and I stuck in a position where i have to convert the pixel measurement value in the real world X,Y,Z coordinates, and after then that value can be send to the robot arm.
For more understanding i have attached the image of my VI and also the Labview VI, you can also suggest if something more is missing then what i already did
I need help to solve this problem, as i already mentioned i am very new to image processing so answer in a simple explanations would be appreciated
Thanks in Advance
11-18-2013 04:35 AM - edited 11-18-2013 04:36 AM
Hello,
I would like to help you with this topic.
I have one question: have you tried to run the VI with highlight mode or with probes to see what happens step by step?
Concerning the broken wire, as far as I can see it, its just the dimensions of the output array which does not fit.
The data is an array of the dimension 2 but you connected an array with dimension 1.
So LabVIEW will not run the VI, I posted a screenshot with the new Array in the BD. As you can see, the wire now has two lines instead of one.
You can always add suitable FP indicators by right-clicking -> create -> indicator.
Please let me know if this is useful for you.
I am looking forward to hearing from you!
Have a nice day,
11-20-2013 12:20 AM - edited 11-20-2013 12:22 AM
Hi Christopher
Thanks for replying me...
I can see the mistake what i made and now the program is running properly according to your solution of using 2 dimension Array
Now the next step that i want to do is converting this Pixel value of X & Y in to real world co-ordinate system(2D)
Can you give me the idea or any suggestion that how to do it?
Or you can suggest me a good tutorial if possible
Once again thank you for your reply..Eave a nice day
Regards
Ketul
11-20-2013 02:28 AM - edited 11-20-2013 02:35 AM
Good morning Ketul,
E.g. this could be useful:
http://zone.ni.com/reference/en-XX/help/370281U-01/imaqvision/imaq_convert_pixel_to_real_world/
Here it is a cluster as input and output, but you can convert an array into a cluster.
Best regards,