next up previous contents index
Next: RGDATA Up: GREG2 Language Internal Help Previous: RANDOM_MAP /BLANKING

   
RESAMPLE

        [GREG2\]RESAMPLE Nx Ny [/X Xref  Xval  Xinc]  [/Y  Yref  Yval  Yinc]
    [/BLANKING Bval]

    This command resamples (by bilinear interpolation) the  current  regular
    grid  array  on  a different grid.  The number of pixels of the new grid
    must be specified. Unless the  user  specifies  an  explicit  conversion
    formula  in  the  /X and /Y options, the program adjusts it to match the
    current Regular Grid array.  A blanking value MUST BE specified  (either
    by  default  in  SET  BLANKING or using the option /BLANKING) because no
    extrapolation is performed. For the  same  reason,  any  output  pixel's
    value  that would be interpolated from at least one input blanked pixel,
    is itself blanked.


Gildas manager
1999-03-12