aboutsummaryrefslogtreecommitdiff
path: root/pkg/proto/doc/imscale.hlp
blob: 1f8a4a2a62b0661908dd4bc4a62daf07ac5d70e2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
.help imscale Aug84 proto
.ih
NAME
imscale -- Scale an image to a specified windowed mean
.ih
USAGE	
imscale input output mean
.ih
PARAMETERS
.ls input
Input image to be scaled.
.le
.ls output
Output scaled image.
.le
.ls mean
Scale the output image to this mean value.
.le
.ls lower = INDEF
Lower limit of window for calculating the input image mean.  INDEF corresponds
to the minimum possible pixel value.
.le
.ls upper = INDEF
Upper limit of window for calculating the input image mean.  INDEF corresponds
to the maximum possible pixel value.
.le
.ls verbose = no
Print the calculated input and output image means.
.le
.ih
DESCRIPTION
The mean of the \fIinput\fR image between the limits \fIlower\fR
and \fIupper\fR is computed.  The image is then scaled to the
specified output \fImean\fR.
.ih
EXAMPLES
To scale an image to a unit mean excluding deviant points below
1000 and above 5000.

.nf
    cl> imscale calib flat 1 lower=1000 upper=5000
.fi
.endhelp