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

DISKCENTER

DISKCENTER

Name


      DISKCENTER

Purpose


      Find center and radius of a disk in an image.

Category


Calling Sequence


      diskcenter, img, xc, yc, rd

Inputs


      img = input image containing the disk. in

Keyword Parameters


Keywords


        /GRID plots fit to disk.

Outputs


      xc, yc = array indices of disk center. out
      rd = estimated radius of disk in pixels. out

Common Blocks


Notes


      Note: Image is assumed 0 outside disk, non-zero inside.
        Also center of array must be inside the disk.

Modification History


      R. Sterner, 21 Feb, 1991
      R. Sterner, 2010 May 04 --- Converted arrays from () to [].
  Copyright (C) 1991, 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.



© 2024 NV5 Geospatial Solutions, Inc. |  Legal
   Contact Us