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

ROI_INDICES

ROI_INDICES

Name


      ROI_INDICES

Purpose


      Convert roi_pick region string to indices array.

Category


Calling Sequence


      in = roi_indices( txt, nx, ny)

Inputs


      txt = a single text string from roi_pick. in
      nx, ny = array dimensions. in

Keyword Parameters


Keywords


        PX=x, PY=y Returned polygon points.

Outputs


      in = returned array of indices into array. out

Common Blocks


Notes


      Note: txt is a single scalar text string containing a
      region description made by the routine roi_pick.
      nx and ny give the dimensions of a 2-d array. This
      function converts the description of the region to
      the array indices for that region.

Modification History


      R. Sterner, 2004 Sep 15
      R. Sterner, 2004 Sep 16 --- Returned polygon.
  Copyright (C) 2004, 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