IMGRECPOL Name
IMGRECPOL Purpose
Map an X/Y image to an angle/radius image.
Category
Calling Sequence
ar = imgrecpol(xy, x1, x2, y1, y2, a1, a2, da, r1, r2, dr)
Inputs
xy = X/Y image. in
x1, x2 = start and end x in xy. in
y1, y2 = start and end y in xy. in
a1, a2, da = start ang, end ang, ang step (deg). in
r1, r2, dr = start radius, end radius, radius step. in
Keyword Parameters
Keywords
/BILINEAR does bilinear interpolation,
else nearest neighbor is used.
/MASK masks values outside image to 0.
Outputs
ar = returned angle/radius image. out
Angle is in x direction, and radius is in y direction.
Common Blocks
Notes
Notes: Angle is 0 along + X axis and increases CCW.
Modification History
R. Sterner. 11 July, 1986.
R. Sterner, 4 Sep, 1991 --- converted to IDL vers 2.
R. Sterner, 5 Sep, 1991 --- simplified and added bilinear interp.
Johns Hopkins Applied Physics Lab.
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.