pyfusion package

Submodules

pyfusion.Brovery module

pyfusion.Brovery.Brovery(src: pyfusion.utils.utils.Image, pan: pyfusion.utils.utils.Image)[source]

Using Brovery method to fusion image

The source image should not be upsampled

Parameters
  • srcsource image, the image should be RGB color space

  • pan – Panchromatic image, the image should be grayscale

Returns

fusion image

Return type

pyfusion.utils.Image

pyfusion.HIS module

pyfusion.HIS.HIS(src: pyfusion.utils.utils.Image, pan: pyfusion.utils.utils.Image)[source]

Using HIS method to fusion the image

The source image should not be upsampled

Parameters
  • srcsource image, it should be pyfusion.utils.Image type

  • pan – Panchromatic image, the image should be grayscale

Returns

fusion image

Return type

pyfusion.utils.Image

pyfusion.PCA module

pyfusion.PCA.PCA(src: pyfusion.utils.utils.Image, pan: pyfusion.utils.utils.Image)[source]

PCA function

The PCA function is fusion the src with pan based on PCA

Parameters
  • src – The source image, it should be multi-band the image is pyfusion.utils.Image

  • pan – The Pan image, it should be single band the image is pyfusion.utils.Image

Returns

The result image

Return type

pyfusion.utils.Image

Module contents

pyfusion.Brovery(src: pyfusion.utils.utils.Image, pan: pyfusion.utils.utils.Image)[source]

Using Brovery method to fusion image

The source image should not be upsampled

Parameters
  • srcsource image, the image should be RGB color space

  • pan – Panchromatic image, the image should be grayscale

Returns

fusion image

Return type

pyfusion.utils.Image

pyfusion.HIS(src: pyfusion.utils.utils.Image, pan: pyfusion.utils.utils.Image)[source]

Using HIS method to fusion the image

The source image should not be upsampled

Parameters
  • srcsource image, it should be pyfusion.utils.Image type

  • pan – Panchromatic image, the image should be grayscale

Returns

fusion image

Return type

pyfusion.utils.Image

pyfusion.PCA(src: pyfusion.utils.utils.Image, pan: pyfusion.utils.utils.Image)[source]

PCA function

The PCA function is fusion the src with pan based on PCA

Parameters
  • src – The source image, it should be multi-band the image is pyfusion.utils.Image

  • pan – The Pan image, it should be single band the image is pyfusion.utils.Image

Returns

The result image

Return type

pyfusion.utils.Image