| Environments | PYTHON :: EASI :: MODELER |
| Quick links | Description :: Parameters :: Parameter descriptions :: Details :: Examples :: Related |
| Back to top |
| Back to top |
| Name | Type | Caption | Length | Value range |
|---|---|---|---|---|
| FILI * | String | Input file name | 1 - 192 | |
| DBIC * | Integer | Input pseudocolor image channel | 1 - 1 | |
| DBPCT * | Integer | Pseudocolor table segment | 1 - 1 | |
| FILO * | String | Output file name | 1 - 192 | |
| DBINT * | Integer | Input intensity channel | 1 - 1 | |
| DBOC * | Integer | Output raster channels | 3 - 3 | |
| RESAMPLE | String | Resample mode | 0 - 8 | Default: NEAR |
| IHSMODEL | String | IHS model | 0 - 8 | CYLINDER, HEXCONE Default: CYLINDER |
| MONITOR | String | Monitor mode | 0 - 3 | ON, OFF Default: ON |
| Back to top |
FILI
Specifies the name of the input PCIDSK file that contains the input pseudocolor image (DBIC) for data fusion.
FILI and FILO can be the same PCIDSK file.
DBIC
Specifies the input pseudocolor image channel that defines the color (hue and saturation components) for the fused output color image.
The channel must be 8-bit.
DBPCT
Specifies the pseudocolor table segment (type 121) used for encoding the input image into red, green, and blue components.
FILO
Specifies the name of the output PCIDSK file that contains the input intensity image (DBINT) and output channels (DBOC) for data fusion.
FILI and FILO can be the same PCIDSK file.
DBINT
Specifies the input black-and-white intensity image that defines the intensity component of the fused output color image.
DBINT (InputIntensity) and DBOC (Output) channels must be all 8-bit or all 32-bit real.
DBINT (InputIntensity) must not be the same as DBOC (Output).
DBOC
Specifies three output RGB channels to store the results of the data fusion.
DBIC (InputColor) defines the color, and DBINT (InputIntensity) defines the intensity for the fused output color image.
The channels specified by DBINT (InputIntensity) and DBOC (Output) must be either all 8-bit or all 32-bit real.
The channels specified by this parameter must not be the same as the channel specified by DBINT (InputIntensity).
Duplicate output channels are not allowed.
RESAMPLE
Specifies the type of resampling method used on the input RGB color image.
Resampling extracts and interpolates the gray levels from the original pixel locations to corrected locations.
Three resampling modes are supported.
The default is NEAR (NEAREST).
Resampling is not performed if FILI and FILO are the same.
IHSMODEL
Specifies the type of IHS color model to use. Refer to IHS documentation for more information on these two models.
MONITOR
The program progress can be monitored by printing the percentage of processing completed. A system parameter, MONITOR, controls this activity.
Available options are:
| Back to top |
FUSEPCT performs data fusion of an input pseudocolor image on an input file with a black-and-white intensity image. The result is an output RGB color image with the same resolution as the intensity image. If the input and output files are different, the input pseudocolor image is resampled using the specified resampling method. Either the Hexcone or Cylinder IHS color model is used for data fusion.
FUSEPCT performs data fusion by running the following functions:
rem rem Resample RGB image to output channels. rem ingeo= dbgc= outgeo= num0=dboc dboc(2)= order=1 if (fili<>filo) run REGPRO rem rem Copy pseudocolor table to output database. rem dbsl=dbpct \\ dbos= if (fili<>filo) run IIA rem rem Create RGB image from pseudocolor encoding. rem file=filo encoding="NORM" if (fili<>filo) dbic=dboc(1) if (fili<>filo) dbpct=lasc dboc=num0 dbiw= run PCE rem rem Perform Intensity-Hue-Saturation transformation. rem dbic=dboc run IHS rem rem Perform Red-Green-Blue transformation. rem dbic=dbint(1),dboc(2),dboc(3) run RGB
| Back to top |
A USGS Land Use/Land Cover theme map on channel 6 of irvine.pix is fused with a 10-meter resolution panchromatic Spot image on eltoro.pix. The result is a 10-meter resolution Spot image with the land use classes overlaid in translucent colors.
Step 1: Add three 8-bit channels to eltoro.pix for storing the result.
EASI>FILE="eltoro.pix" EASI>PCIOP="ADD" EASI>PCIVAL=3 EASI>RUN PCIMOD
Step 2: Enhance the input intensity image in eltoro.pix. Otherwise, the pseudocolor image colors overpower the intensity image.
EASI>FILE="eltoro.pix" EASI>DBIC=1 EASI>DBLUT=2 EASI>DBOC=1 EASI>MASK= EASI>RUN LUT
Step 3: Use FUSEPCT to fuse the data. Nearest neighbor resampling must be specified, since the input image is a theme map. In this case, the Hexcone model produces better results than the Cylinder model.
EASI>FILI="irvine.pix" EASI>DBIC=6 EASI>DBPCT=7 EASI>FILO="eltoro.pix" EASI>DBINT=1 EASI>DBOC=2,3,4 EASI>RESAMPLE="NEAR" EASI>IHSMODEL="HEXCONE" EASI>MONITOR="ON" EASI>RUN FUSEPCT
© PCI Geomatics Enterprises, Inc.®, 2026. All rights reserved.