>  Docs Center  >  Libraries  >  JHU/APL/S1R  >  ELLFITBIN

ELLFITBIN

ELLFITBIN

Name


      ELLFITBIN

Purpose


      Fit an ellipse to a 2-d binary blob image.

Category


Calling Sequence


      ellfitbin, array, xm, ym, ang, ecc, a, b

Inputs


      array = 2-d binary blob image. in

Keyword Parameters


Outputs


      xm, ym = Mean X and Y coordinates (array indices). out
      ang = angle of major axis (deg). out
      ecc = eccentricity of fitted ellipse. out
      a, b = semimajor, semiminor axis of fitted ellipse. out

Common Blocks


Notes


      Notes: The method used is that listed on David Fanning's
      web site and uses techniques from Craig Markwardt.
      Appears to give a better fit then ellfit.

Modification History


      R. Sterner, 2007 Jan 08 after David Fanning & Craig Markwardt.
  Copyright (C) 2007, Johns Hopkins University/Applied Physics Laboratory
  This software may be used, copied, or redistributed as long as it is not
  sold and this copyright notice is reproduced on each copy made. This
  routine is provided as is without any express or implied warranties
  whatsoever. Other limitations apply as described in the file disclaimer.txt.



© 2019 Harris Geospatial Solutions, Inc. |  Legal
My Account    |    Store    |    Contact Us