FUSE -- Data Fusion for RGB Colour Image

Performs data fusion of a Red-Green-Blue colour image with a black-and-white intensity image. The result is an output RGB colour image with the same resolution as the original B/W intensity image, but where the colour (hue and saturation) is derived from the resampled input RGB image.

FUSE is an EASI procedure which uses the REGPRO, IHS, and RGB programs to perform data fusion.

Progress can be monitored. See MONITOR section.

See Also: FUSEPCT, REGPRO, IHS, RGB

PARAMETERS

FUSE is controlled by the following global parameters:

Name     Prompt                                  Count     Type
FILI     Database Input File Name                1-64      Char
DBRGB    Database Input RGB Channels             3         Int
FILO     Database Output File Name               1-64      Char
DBINT    Database Input Intensity Channel        1         Int
DBOC     Database Output Channel List            3         Int
RESAMPLE Resample Mode: NEAR/BILIN/CUBIC         4         Char
IHSMODEL IHS Model: CYLINDER/HEXCONE             8         Char

FILI

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

 EASI>FILI="filename"

DBRGB

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

 EASI>DBRGB=red,green,blue

FILO

Specifies the name of the output PCIDSK file which contains the input intensity image (DBINT) and output channels (DBOC) for data fusion.

 EASI>FILO="filename"

DBINT

Specifies the input black-and-white intensity image on FILO which defines the intensity component of the fused output colour image.

 EASI>DBINT=channel

DBOC

Specifies three output RGB channels on FILO to store the results of data fusion. DBRGB on FILI defines the colour, and DBINT on FILO defines the intensity for the fused output colour image.

 EASI>DBOC=red,green,blue

RESAMPLE

  Valid Values:       NEAR,BILIN,CUBIC
  Default:            NEAR
Specifies the type of resampling performed on the input RGB image. Three types of resampling are supported:

 EASI>RESAMPLE="BILIN" | Bilinear Interpolation
 EASI>RESAMPLE="NEAR"  | Nearest Neighbour
 EASI>RESAMPLE="CUBIC" | Cubic Convolution
 EASI>RESAMPLE=        | defaults to NEAR

IHSMODEL

  Valid Values:       CYLINDER,HEXCONE
  Default:            "CYLINDER"
Specifies the type of IHS colour model to use. Refer to the IHS program documentation for more information on these two models.

 EASI>IHSMODEL="CYLINDER"      | Cylinder model (original method)
 EASI>iHSMODEL="HEXCONE"       | Hexcone model

DETAILS

FUSE performs data fusion of an input RGB colour image on an input file with a black-and-white intensity image The result is an output RGB colour image with the same resolution as the intensity image. If the input and output files are different, the input RGB colour image is resampled using the specified resampling method. Either the Hexcone or Cylinder IHS colour model is used for data fusion.

FUSE is an EASI procedure designed to STATUS and RUN like a PACE program. FUSE performs data fusion by running the following programs:

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

MONITOR

Progress is monitored for three programs (REGPRO, IHS and RGB) run by the FUSE procedure.

Program progress can be monitored by printing the percentage of completed processing in odometer fashion. A system parameter, MONITOR, controls this activity:

 EASI>MONITOR="ON"        | turn monitor ON  (default)
 EASI>MONITOR="OFF"       | turn monitor OFF (recommended if
                          | running in batch/background mode)

EXAMPLE

This example fuses a 30 metre resolution Thematic Mapper (TM) colour image on irvine.pix with a 10 metre resolution panchromatic Spot image on eltoro.pix. The result is a 10 metre resolution colour image.

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
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
Use the FUSE procedure to perform data fusion. Both the Cylinder model and the Hexcone model produce good results, but the Cylinder model seems to have 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
Transfer channels 2, 3 and 4 on eltoro.pix to the video display using ImageWorks or the IVI program.

 EASI>FILE="eltoro.pix"
 EASI>DBIC=2,3,4
 EASI>VDOC=1,2,3
 EASI>DBIW=
 EASI>VDOW=
 EASI>RUN IVI

About PCI Help Gateway