Isis 2 Documentation
B16MAD - Perform algebra on 16 bit images Programmer: EELIASON B16MAD performs simple algebra on one or two input files. One of the two equations shown below is applied to the input file(s). OUT(i,j) = MUL1*IN1(i,j) + ADD (one input file) or OUT(i,j) = MUL1*IN1(i,j) + MUL2*IN2(i,j) + ADD (two input files) B16MAD works on 16-bit data only.
Parm | Description | Default |
---|---|---|
FROM | INPUT FILE(S). ENTER 1 OR 2 INPUT FILE NAMES | NONE |
TO | OUTPUT FILE NAME | NONE |
MUL1 | MULTIPLY BY INPUT FILE 1 | 1.0 |
MUL2 | MULTIPLY BY INPUT FILE 2 (IF TWO INPUT FILES) | 1.0 |
ADD | ADDITIVE CONSTANT | 0.0 |
NULL | NULL VALUE | 0 |
SL | STARTING LINE | 1 |
SS | STARTING SAMPLE | 1 |
NL | NUMBER OF LINES | 0 |
NS | NUMBER OF SAMPLES | 0 |
LINC | LINE INCREMENT | 1. |
SINC | SAMPLE INCREMENT |
ADDITIONAL NOTES:
Parm | Description |
---|---|
MUL1 | Used in the equation: If two input files specifed: OUT(i,j) + MUL1*IN1(i,j) + MUL2*IN(i,j) + ADD If one input file specified: OUT(i,j) = MUL1*INI1(i,j) + add |
MUL2 | Used in the equation: If two input files specifed: OUT(i,j) + MUL1*IN1(i,j) + MUL2*IN(i,j) + ADD If one input file specified: OUT(i,j) = MUL1*INI1(i,j) + add |
ADD | Used in the equation: If two input files specifed: OUT(i,j) + MUL1*IN1(i,j) + MUL2*IN(i,j) + ADD If one input file specified: OUT(i,j) = MUL1*INI1(i,j) + add |
NULL | This is the DN value which is given to all non image area pixels. When the B16MAD encounters a null value in either of the two input files, the output pixel will be set to null |
NL | Number of lines. The default is 0 which will process all lines of the image. |
NS | Number of samples. The default is 0 which will process all samples of the image. |
SL | Starting line. The default is 1 which will start the processing with the first line or top of the image. |
SS | Starting sample. The default is 1 which will start the processing with the first sample or left side of the image. |
LINC | Line increment. The default is 1.0 which will process each line of the image. LINC=2.0 will process every other line and the output image will have half as many lines as the input. LINC=.5 will process each line twice and the output image will have twice as many lines as the input. |
SINC | Sample increment. The default is 1.0 which will process each sample of the image. SINC=2.0 will process every other sample and the output image will have half as many samples as the input. SINC=.5 will process each sample twice and the output image will have twice as many samples as the input. |
Contact us online at the Isis Support Center: http://isisdist.wr.usgs.gov