~ubuntu-branches/debian/jessie/eso-midas/jessie

« back to all changes in this revision

Viewing changes to prim/help/resampimag.hlq

  • Committer: Package Import Robot
  • Author(s): Ole Streicher
  • Date: 2014-04-22 14:44:58 UTC
  • Revision ID: package-import@ubuntu.com-20140422144458-okiwi1assxkkiz39
Tags: upstream-13.09pl1.2+dfsg
ImportĀ upstreamĀ versionĀ 13.09pl1.2+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
% @(#)resampimag.hlq    19.1 (ESO-IPG) 02/25/03 14:03:41
 
2
%++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 
3
%.COPYRIGHT  (c)  1990 European Southern Observatory
 
4
%.IDENT      resampimag.hlq
 
5
%.AUTHOR     KB, IPG/ESO
 
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
%----------------------------------------------------------------
 
10
\se
 
11
SECTION./IMAG
 
12
\es\co
 
13
RESAMPLE/IMAGE                                          31-JUL-2001  KB
 
14
\oc\su
 
15
RESAMPLE/IMAGE in out stepping
 
16
        resample an image
 
17
\us\pu
 
18
Purpose:  
 
19
          Resample an image with half or double stepsize.
 
20
\up\sy
 
21
Syntax: 
 
22
          RESAMPLE/IMAGE in out stepping
 
23
\ys\pa
 
24
          in = input frame
 
25
\ap\pa
 
26
          out = output frame 
 
27
\ap\pa
 
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
 
31
\ap\sa
 
32
See also:
 
33
          REBIN/LINEAR
 
34
\as\no
 
35
Note:  
 
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
 
42
          will be (2*ypix - 1).
 
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.
 
48
\\ 
 
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
 
51
          of the input frame.
 
52
\on\exs
 
53
Examples:
 
54
\ex
 
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'.
 
58
\xe\ex
 
59
          RESAMPLE/IMAGE conejo tortuga 
 
60
            Add additional pixels for each row of `conejo.bdf' and complete 
 
61
            new rows between two resampled rows.
 
62
\xe \sxe