Jump to content

hms2006

Members
  • Posts

    4
  • Joined

  • Last visited

Posts posted by hms2006

  1. 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!

  2. 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!

    post-53193-0-01267700-1422877845.png

×
×
  • Create New...

Important Information

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