1
% @(#)insertimag.hlq 19.1 (ESO-IPG) 02/25/03 14:03:26
2
%++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
3
%.COPYRIGHT (c) 1990 European Southern Observatory
6
%.KEYWORDS MIDAS, help files, INSERT/IMAGE
7
%.PURPOSE On-line help file for the command: INSERT/IMAGE
8
%.VERSION 1.0 07-MAR-1985 : Creation, KB
9
%.VERSION 1.2 14-MAY-1991 : Update, KB
10
%----------------------------------------------------------------
14
INSERT/IMAGE 14-MAY-1991 KB
16
INSERT/IMAGE subframe modframe [startx,y,z]
17
insert a subframe into another frame
20
Insert a subframe into another frame.
23
INSERT/IMAGE subframe modframe [startx,y,z]
25
subframe = name of image frame which will be inserted in the other
27
modframe = name of image frame into which 'subframe' will be inserted;
29
parts or all of modframe will be overwritten with the pixels
30
of subframe, depending upon the start values
32
startx,y,z = optional start coordinates for subframe within modframe;
34
if omitted the start coords. will be taken from the descriptor
41
startx,starty,startz can be in any of the following formats:
43
- any number, to indicate real world coordinates;
45
- an integer number preceded by @, to indicate a pixel number;
47
- the symbols "<" and ">", to indicate start or end pixel
49
the startvalues may also be negative, i.e. "before" the start of
50
the modframe, so that only the overlapping part of the subframe is
53
since @1 indicates first pixel, @0 means 1 pixel outside and @-1
54
actually puts the begin of the insertion 2 pixels outside modframe!
59
insert frame sun.bdf into galaxy.bdf, the position of sun within
60
galaxy will be determined by descriptor START of sun.bdf
62
INSERT/IMA sun galaxy @22,@100
63
insertion of the data of sun.bdf will begin at the 22th x-pixel
64
and the 100th y-pixel of frame galaxy.bdf (assuming, that both frames
65
are 2-dimensional frames)
67
INSERT/IMA sun galaxy @-1,@-1
68
insert sun.bdf into galaxy.bdf, sun will begin two pixels and two
69
lines outside of modframe, therefore only from pixel 3 and line 3 on
70
are data overlapping and thus inserted into galaxy.bdf