Jump to content

How I can save the coordinates of circle detection?


KAR

Recommended Posts

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

Link to comment

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 by infinitenothing
Link to comment
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
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.