1
%++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2
%.COPYRIGHT (c) 2010-2011 European Southern Observatory
5
%.KEYWORDS MIDAS, help files, 3D-table, image, conversion
6
%.PURPOSE On-line help file for the command: COPY/IMT3
8
%----------------------------------------------------------------
12
COPY/IMT3 05-DEC-2011 KB
14
COPY/IMT3 image table [column,row] [1st_elem,noelem] [option]
15
Convert a MIDAS image into an array column of a 3D-table.
18
Convert a MIDAS image into an array column of a 3D-table.
21
COPY/IMT3 image table [column,row] [1st_elem,noelem] [option]
23
image = name of image file to be copied/converted
24
for 1-dim images, one row will be filled;
25
for 2-dim images, y-pix rows will be filled
27
table = name of new (or existing) 3D-table
29
column,row = column ref. and starting row no.;
30
defaulted to :Values,@1
32
1st_elem,noelem = 1st element and no. of elements
33
to write in array column;
34
default is 1st element and no. of x-pixels of image,
37
option = update_flag (a) or no. of rows to allocate (b);
38
(a) = UPDATE for updating an existing table;
39
= NO for creating a new table;
40
(b) = no. of rows to allocate for new table;
45
COPY/T3IMA, COPT/T3TAB, COPY/TEIMA, COPY/TI
48
Always complete lines of the input image, starting with the
49
1st pixel are taken as input buffer. The parameter 'noelem'
50
then limits the no. of pixels used.
51
Therefore, if you want to copy only a part of an image,
52
this subimage has to be extracted, first, and then used as
54
The type of the image will be D_I4_FORMAT for all columns
55
with data of type I1, I2, or I4.
56
The copy command will be logged and appended to descriptor
61
COPY/IMT3 conejo coyote
62
Create table `coyote.tbl' and fill array column :Values
63
with data from image `conejo.bdf'. The elements of this column
64
will have the size of the image line (npix[0]). If it's a 1-dim
65
image, only row no. 1 of the table will filled, for a 2-dim image
66
y-pix (npix[1]) rows will be created and filled.
68
COPY/IMT3 conejo coyote ? ? 200
69
As above, but allocate at least 200 rows, even if npix[1]
70
of `conejo.bdf' is < 200.
72
COPY/IMT3 conejo coyote ? 2, update
73
Update column :Values of `coyote.tbl' and fill the array
74
starting with the 2nd element of the column in row 1.
75
For 2-dim input image npix[1] rows will be filled, unless
76
this would exceed the no. of allocated rows of `coyote.tbl',
77
in that case the no. of rows to fill is truncated.
79
COPY/IMT3 conejo coyote :sierra,@2
80
As above, but create a column labeled :sierra and start with
82
OJO: The 1st row of the new table will be also selected but
83
filled with Null value!.
85
COPY/IMT3 conejo puma :sierra,@3 ? UPDA
86
Update column :sierra of `puma.tbl' and add a 3rd row, filled
87
from `conejo.bdf' (if at least 3 rows are allocated).