1
% @(#)resampimag.hlq 19.1 (ESO-IPG) 02/25/03 14:03:41
2
%++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
3
%.COPYRIGHT (c) 1990 European Southern Observatory
6
%.KEYWORDS MIDAS, help files, RESAMPLE/IMAGE
7
%.PURPOSE On-line help file for the command: RESAMPLE/IMAGE
8
%.VERSION 1.0 05-FEB-1998 : Creation, KB
9
%----------------------------------------------------------------
13
RESAMPLE/IMAGE 31-JUL-2001 KB
15
RESAMPLE/IMAGE in out stepping
19
Resample an image with half or double stepsize.
22
RESAMPLE/IMAGE in out stepping
28
stepping = HALF_STEP or DOUBLE_STEP to subsample the input frame
29
or omit each other sample of input frame;
30
defaulted to HALF_STEP
36
For `stepping' set to HALF_STEP (i.e. subsampling) between each
37
input pixel an additional pixel value will be added using linear
38
interpolation. Thus, the no. of pixels for the result frame will be
39
(2*xpix - 1) per row. Also, between two resampled rows a complete
40
new row will be added by linearly interpolating all pixels between
41
the two resampled rows, so also the no. of rows of the result frame
43
New stepsizes will be half the stepsizes of input frame.
44
For `stepping' set to DOUBLE_STEP every second pixel and row of
45
the input frame is omitted. Thus, result frame will have
46
(xpix+1)/2 pixels and (ypix+1)/2 rows.
47
New stepsizes will be twice the stepsizes of input frame.
49
No flux conservation is done, e.g. after subsampling the total
50
intensity of the result frame will be approx. 4 times the intensity
55
RESAMPLE/IMAGE conejo tortuga double_step
56
Omit every second pixel of a row and every second complete row
57
of image `conejo.bdf' and copy all others to `tortuga.bdf'.
59
RESAMPLE/IMAGE conejo tortuga
60
Add additional pixels for each row of `conejo.bdf' and complete
61
new rows between two resampled rows.