![](https://lavag.org/uploads/set_resources_1/84c1e40ea0e759e3f1505eb1788ddf3c_pattern.png)
hms2006
-
Posts
4 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Gallery
Posts posted by hms2006
-
-
Hi,
i want to get the boundary of a polygon using the labview. As the polygon is input in a matrix of 1 and 0, and 0 means the shadow of the polygon,
so i need to get the index of 0 around the polygon (the boundary), is there any algorithm in labview to realize this ?
Thank you!
-
Get it, thanks for Infitenothing!
-
Hi, guys,
From the attached image, you can see a stellar form image in black, and some annotation in x, y, d, w , r .
x and y are just that we use in cartesian coordinate system; and d is the maximum dimension of the image, which is the span of the particle projected onto a line determined by a least-squares fit of the x and y positions of all occultations; w is the span of the particle projected onto the line perpendicular to that used for d; and r is the correlation coefficient from the least-squares fit.
The data of the image is structured in an array with 0 and 1, which is very easy for me to get the dimension in x and y direction. But i really don't know how to get the dimension d, w and r in least-squares fit methods. If i want to realize it in labVIEW G language, can you give me some tips or codes in LabVIEW.
Thanks!
how to get the Polygonal boundary
in LabVIEW General
Posted
Thanks for your reply, you maybe wrongly to take what i mean, the polygon is in a matrix of N*64, and i think i have a mehod to realize this, thank you again!