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

ROI_PICK

ROI_PICK

Name


      ROI_PICK

Purpose


      Pick one or more regions of interest, return as text array.

Category


Calling Sequence


      roi_pick, txt

Inputs


Keyword Parameters


Keywords


        TITLE=ttl Title text (def: Select region type).
        /SINGLE select a single region, else loop for multiple.

Outputs


      txt = returned text array. out

Common Blocks


Notes


      Notes: Interactive, pick region type from a menu, then
        select that type region. Regions are returned in a
        text array when done. The first value in each line of
        the returned text indicates the region type:
          1: box, 2: circle, 3: polygon.
        The type codes and values following are described
        below for the three types of lines:
        Box: 1, x1, x2, y1, y2
          Box min and max x, min and max y.
        Circle: 2, radius, xcenter, ycenter
        Polygon: 3, x1, y1, x2, y2, ..., xn, yn
            Polygon vertices.
        All coordinates and values are in device coordinates.
        See also roi_indices.pro.

Modification History


      R. Sterner, 2004 Sep 14
      R. Sterner, 2004 Sep 15 --- Changed name from pickroi.pro.
      R. Sterner, 2010 Jun 04 --- Converted arrays from () to [].
  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.



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