KAR Posted November 19, 2014 Report Share Posted November 19, 2014 Hi, I am making an application in the same circle I detect several, I want to save the coordinates and make the arithmetic mean of their positions. Can anyone explain me how to save multiple positions of the circle. The circle as detected through detection Circle (Found CIrcle) Thank Quote Link to comment
infinitenothing Posted November 19, 2014 Report Share Posted November 19, 2014 (edited) Are you using this function? http://zone.ni.com/reference/en-XX/help/370281W-01/imaqvision/imaq_find_circles/ If so, you can wire the Circles Data array into a for loop and unbundle the x,y, and radius. You can wire each of those out of the array which will autoindex each measurement into individual arrays. You can then wire each measurement array into Mean.vi which will give you the mean x, y, and radius. Also, for future questions, there's a machine vision board here: http://lavag.org/forum/10-machine-vision-and-imaging/ or here http://forums.ni.com/t5/Machine-Vision/bd-p/200 Edited November 19, 2014 by infinitenothing Quote Link to comment
KAR Posted November 19, 2014 Author Report Share Posted November 19, 2014 Hello. Continuing my doubts in machine vision in forum What I've said what I have done, I save 10 times the circle, save 10 times each coordinate of the circle. Where I can save coordendas in a matrix in excel. I do not know where I can store 10 coordinates. Thank you Quote Link to comment
hooovahh Posted November 19, 2014 Report Share Posted November 19, 2014 Please keep your issue to one thread. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.