blob: c8dd82b1d6c5423002b42b6fa4ee306c4e366b6b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
# Copyright(c) 1986 Association of Universities for Research in Astronomy Inc.
include <imhdr.h>
# IMPS1? -- Put a section to an apparently one dimensional image.
pointer procedure imps1d (im, x1, x2)
pointer im # image header pointer
int x1 # first column
int x2 # last column
pointer impgsd(), impl1d()
begin
if (x1 == 1 && x2 == IM_LEN(im,1))
return (impl1d (im))
else
return (impgsd (im, long(x1), long(x2), 1))
end
|