FUSE

Data Fusion for RGB Color Image


EnvironmentsPYTHON :: EASI :: MODELER
Quick linksDescription :: Parameters :: Parameter descriptions :: Details :: Examples :: Related

Back to top

Description


The FUSE function fuses a Red-Green-Blue (RGB) color image with a black-and-white (B/W) intensity image. The result is an output RGB color image with the same resolution as the original B/W intensity image, but where the color (hue and saturation) is derived from the resampled input RGB image. FUSE uses the REGPRO, IHS, and RGB functions to perform the data fusion.
Back to top

Parameters


Name Type Caption Length Value range
FILI * String Input file name 1 - 192  
DBRGB * Integer Input RGB channels 3 - 3  
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

* Required parameter
Back to top

Parameter descriptions

FILI

Specifies the name of the PCIDSK file that contains the input RGB color image (DBRGB) for data fusion.

FILI and FILO can be the same PCIDSK file.

DBRGB

Specifies three RGB channels in the input file (FILI) to be interpreted as the red, green, and blue components of a color image. This color image defines the color (hue and saturation components) for the fused output color image.

If the channels specified by DBINT and DBOC are 8-bit, the DBRGB channels must all be 8-bit. If DBINT and DBOC are 32-bit, the DBRGB channels can be any type.

Duplicate input channels are allowed.

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 specify the same PCIDSK file.

DBINT

Specifies the input black-and-white intensity image that defines the intensity component of the fused output color image.

The channels specified by DBINT (InputIntensity) and DBOC (OutputFUSE) must be either all 8-bit or all 32-bit real.

The channel specified by this parameter must not be the same as that specified by DBOC (OutputFUSE).

DBOC

Specifies three output RGB channels to store the results of the data fusion.

DBRGB defines the color, and DBINT defines the intensity for the fused output color image.

The channels specified by DBINT (InputIntensity) and DBOC (OutputFUSE) must be either all 8-bit or all 32-bit real.

The channel specified by this parameter must not be the same as that specified by DBINT (InputIntensity).

Duplicate output channels are NOT allowed.

RESAMPLE

Specifies the type of resampling method used on the input RGB image.

Resampling extracts and interpolates the gray levels from the original pixel locations to corrected locations.

Three resampling modes are supported.

The default value is NEAR (NEAREST).

Cubic Convolution (CUBIC) is the recommended resampling method.

IHSMODEL

Specifies the type of IHS color model to use. Refer to IHS documentation for more information on these two models.

Valid values are:

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

Details

FUSE performs data fusion of an input RGB color 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 RGB color image is resampled using the specified resampling method. Either the Hexcone or Cylinder IHS color model is used for data fusion.

FUSE performs data fusion by running the following algorithms:

The following EASI commands from the FUSE procedure perform data fusion:
 rem
 rem  Resample RGB input image to output channels.
 rem  If FILI and FILO are the same file, skip resampling.
 rem
 ingeo=
 dbic=dbrgb
 dbgc=
 outgeo=
 order=1
 if (fili<>filo) run REGPRO
 rem
 rem  Perform Intensity-Hue-Saturation transformation.
 rem
 file=filo
 dbic=dboc
 dbiw=
 if (fili=filo) dbic=dbrgb
 run IHS
 rem
 rem  Perform Red-Green-Blue transformation.
 rem
 dbic=dbint(1),dboc(2),dboc(3)
 run RGB
Back to top

Examples

A 30-meter resolution Thematic Mapper (TM) color image in irvine.pix is fused with a 10-meter resolution panchromatic Spot image in eltoro.pix. The result is a 10-meter resolution color image.

Step 1: For better results, enhance the RGB and intensity images first.

EASI>FILE="irvine.pix"
EASI>DBIC=1,2,3
EASI>DBLUT=2,3,4
EASI>DBOC=1,2,3
EASI>MASK=
EASI>RUN LUT

EASI>FILE="eltoro.pix"
EASI>DBIC=1
EASI>DBLUT=2
EASI>DBOC=1
EASI>MASK=
EASI>RUN LUT

Step 2: 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 3: Use FUSE to perform data fusion. Both the Cylinder model and the Hexcone model produce good results, but the Cylinder model has fewer false artifacts.

EASI>FILI="irvine.pix"
EASI>DBRGB=3,2,1
EASI>FILO="eltoro.pix"
EASI>DBINT=1
EASI>DBOC=2,3,4
EASI>RESAMPLE="CUBIC"
EASI>IHSMODEL="CYLINDER"
EASI>RUN FUSE

© PCI Geomatics Enterprises, Inc.®, 2026. All rights reserved.