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

IMGPOLREC

IMGPOLREC

Name


      IMGPOLREC

Purpose


      Map an angle/radius image to an X/Y image.

Category


Calling Sequence


      xy = imgpolrec(ar, a1, a2, r1, r2, x1, x2, dx, y1, y2, dy)

Inputs


      ar = angle/radius image. in
          Angle is in x direction, and radius is in y direction
      a1, a2 = start and end angles in ar (degrees) in
      r1, r2 = start and end radius in ar. in
      x1, x2, dx = desired start x, end x, x step. in
      y1, y2, dy = desired start y, end y, y step. in

Keyword Parameters


Keywords


        /LAST use last computed indices and mask.
        /BILINEAR does bilinear interpolation,
          else nearest neighbor is used.
        /MASK masks values outside image to 0.
        VAL_MASK=val mask value if not 0.
        /MIN Use data min for mask value.
        /MAX Use data max for mask value.
        /A_EDGE means a1, a2 apply to pixel edges, not center.
        /R_EDGE means r1, r2 apply to pixel edges, not center.

Outputs


      xy = returned X/Y image. out

Common Blocks


      imgpolrec_com

Notes


      Notes: Angle is 0 along + X axis and increases CCW.

Modification History


      R. Sterner. 12 May, 1986.
      R. Sterner, 3 Sep, 1991 --- converted to IDL vers 2.
      R. Sterner, 5 Sep, 1991 --- simplified and added bilinear interp.
      R. Sterner, 1998 Apr 7 --- Added non-centered pixel keywords.
      R. Sterner, 2005 Aug 16 --- Save last indices and mask.
      R. Sterner, 2006 May 11 --- Added custom mask values.
      R. Sterner, 2010 Oct 08 --- Converted arrays from () to [].
  Copyright (C) 1986, 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