| Environments | PYTHON :: EASI :: MODELER |
| Batch Mode | Yes |
| Quick links | Description :: Parameters :: Parameter descriptions :: Details |
| Back to top |
| Back to top |
| Name | Type | Length | Value range |
|---|---|---|---|
| Input Layer: Input raster channel(s) * | Raster port | 1 - 1024 | |
| Output: Filtered Layer: Output raster channel(s) * | Raster port | 1 - 1024 | |
| Raster output window | Integer | 0 - 4 | Xoffset,Yoffset,Xsize,Ysize |
| Replace Mode | String | 1 - 1 | ABOVE | BELOW | MEAN Default: MEAN |
| Line Increment Factor * | Integer | 1 - 1 |
| Back to top |
Input Layer: Input raster channel(s)
Specifies the input channel(s) that require line replacement.
Duplicate channels are not allowed.
Output: Filtered Layer: Output raster channel(s)
Specifies the output channel to receive the filtered image.
Duplicate channels are not allowed.
Raster output window
Specifies a rectangular area (Xoffset, Yoffset, Xsize, Ysize) to be processed for output.
Xoffset, Yoffset define the upper-left starting pixel coordinates of the window. Xsize is the number of pixels that define the window width. Ysize is the number of lines that define the window height.
This window can extend over the entire image or it can target one or two lines for replacement. Line replacement begins with the first line of the specified output window and continues for every specified line (LINC/Line Increment) after that.
If this parameter specifies only one line (DBOW(4)=1), the Line Increment Factor (LINC) must be 1. The number of output lines (DBOW(4)) must be greater than LINC. If only DBOW(1) and DBOW(2) are specified, DBOW(3) and DBOW(4) are the remainder of the image by default. The origin is the upper-left corner.
Replace Mode
The default value is MEAN.
For the first line of the image, if ABOVE or MEAN is specified, the line below it is used to replace it. For the last line of the image, if BELOW or MEAN is specified, the line above it is used to replace it.
Line Increment Factor
Specifies the increments for line replacement.
Every line in the output window (DBOW) is replaced, beginning with the first line. For example, if LINC=6, every sixth line (lines 1, 7, 13, and so on) is replaced.
LINC must be less than the number of lines in the output window (DBOW(4)), except when LINC is 1. If DBOW(4) is 1, LINC must also be 1.
| Back to top |
LRP replaces lines of image data in the selected output channels (DBOC) in a specified window (DBOW). Image data can be damaged due to a faulty sensor in the satellite or because of damage to the storage medium itself. LRP replaces each line with the line above it, below it, or the mean (average) of the lines above and below it. Every specified line in a defined window is replaced.
Target lines for replacement can be specified in increments, beginning with line number DBOW(2)+1 and ending with a line number equal to or less than DBOW(2)+DBOW(4).
LRP permanently changes the database output channels; use it with caution.
If LRP cannot allocate enough memory to store a line of image data, it throws a MemoryAllocationException exception. If this error occurs, run LRP with fewer output channels (DBOC) or with a smaller output window width (DBOW(3)).
This program does not operate on an image database that contains only one line.
© PCI Geomatics Enterprises, Inc.®, 2026. All rights reserved.