| Environments | PYTHON :: EASI :: MODELER |
| Batch Mode | Yes |
| Quick links | Description :: Parameters :: Parameter descriptions :: Details :: Acknowledgements |
| Back to top |
| Back to top |
| Name | Type | Length | Value range |
|---|---|---|---|
| Input: Input raster channel(s) * | Raster port | 1 - 1024 | |
| Output: Output raster channel(s) | Raster port | 0 - 1024 | |
| Training Site Window | Integer | 0 - 4 | Xoffset, Yoffset, Xsize, Ysize |
| InputBitmaps: Input training bitmap segment(s) | Bitmap port | 0 - 16 | |
| OutputBitmaps: Output control bitmap segment(s) | Bitmap port | 0 - 16 | |
| Order of Polynomial Function | Integer | 0 - 1 | 1 - 5 Default: 1 |
| Input Mean Gray-Level Value | Float | 0 - 16 | |
| Report | String | 0 - 192 | See parameter description |
| Back to top |
Input: Input raster channel(s)
Specifies the input image channels to correct.
Duplicate channels are not allowed.
Output: Output raster channel(s)
Specifies the image channels in the output file (FILO) to receive the corrected image channels.
Duplicate channels are not allowed.
Training Site Window
Optionally specifies the rectangular window (Xoffset, Yoffset, Xsize, Ysize) of image data read from the input channels. If this parameter is not specified, the entire image is processed by default.
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.
The area sampled by DBIW should be homogeneous across the range of the window to reduce the influence of natural scene variations on the transformation model.
DBIW only specifies the sampled input window in order to generate the least-squares polynomial; it does not affect the output window (DBOW) of corrected imagery, unless the output window is explicitly set with the same values as the input window.
InputBitmaps: Input training bitmap segment(s)
Specifies the input bitmap segment(s) that define the training sites that sample data from the input channels and generate the linear regression polynomial.
Duplicate segments are not allowed.
OutputBitmaps: Output control bitmap segment(s)
Specifies the output bitmap segment(s) that define the area that is corrected and generated to the output file. If this parameter is specified, the bitmaps must exist in the input file (FILI).
Duplicate segments are not allowed.
Order of Polynomial Function
Specifies the order of the polynomial equation used to estimate the mean gray-level value for each column.
Input Mean Gray-Level Value
Specifies the mean gray level to which each column of data is adjusted. If this parameter is not set to a meaningful value, it must be cleared before running BRDFCOR; otherwise, the function uses the average gray level from the samples collected under DBIW (input training site window) and DBIB (input training site bitmap).
Report
Specifies where to direct the generated report.
Available options are:
| Back to top |
BRDFCOR corrects for the along-line image brightness variation caused by the scene's bi-directional reflectance distribution function (BRDF) and the change in sensor view-direction with image-pixel coordinates. For example, an appropriate image to correct with BRDFCOR appears darker on one side than the other. The shift in brightness occurs column-by-column as you move from one side of the image to the other.
BRDFCOR adjusts the gray-level value of the output image column-by-column so that the brightness of all columns is similar to the brightness of the average gray level of the samples read under the input window or bitmap segment (DBIW or DBIB).
FILI specifies the input file to be corrected and DBIC (Input) specifies the input channels to be sampled and corrected. A window of data to process may be specified (DBIW).
If both the input window (DBIW) and input bitmaps (DBIB) are specified, only those pixels that satisfy both conditions are sampled; that is, only those pixels that lie within the window AND that lie under the bitmap(s) are used to generate the best-fit polynomial.
The column-specific gain is computed based on a linear regression of the specified columns. The order of the polynomial equation (ORDER) may be specified in the range of 1 to 5; that is, either first order (straight line), second order (parabola or or quadratic curve), third order (cubic curve), fourth order (quadric curve), or fifth order (fifth-degree curve).
If the output file (FILO) is specified, it is used for the output. If it does not already exist, a new output file is created with the same dimensions as the input file (FILI). If the specified output file already exists, it must have the same dimensions as the input file.
The DBOW parameter optionally specifies an output window in the output file to receive the generated data. DBOB (OutputBitmaps) specifies any non-rectangular areas in the output file to receive the generated data. If DBOB is specified, the output bitmaps reside in the input file (FILI). If both DBOW and DBOB are specified, only those pixels that satisfy both criteria are generated.
If IMEAN (Input Mean Gray-Level Value) is not set to a meaningful value, BRDFCOR uses the average gray level from the samples read from the input window and input bitmaps (DBIW and DBIB), and IMEAN is updated with these values in the PRM.PRM file. If BRDFCOR is run more than once on the same data set, IMEAN should remain unchanged; this way, the same mean value is re-used each time BRDFCOR is run on the input data set.
| Back to top |
PCI Geomatics received financial support from the Canadian Space Agency/L'Agence Spatiale Canadienne through the Earth Observation Application Development Program (EOADP) for the development of this software, under contract 9F028-0-4902/12.
© PCI Geomatics Enterprises, Inc.®, 2026. All rights reserved.