pyfusion package¶
Subpackages¶
Submodules¶
pyfusion.Brovery module¶
pyfusion.HIS module¶
pyfusion.PCA module¶
-
pyfusion.PCA.
PCA
(src, pan)[源代码]¶ Using PCA method to fusion the image
The PCA function is fusion the src with pan based on PCA
- 参数
src – The source image, it should be multi-band the image read by cv2.imread will be the best practice
pan – The Pan image, it should be single band the image read by cv2.imread with flag set to cv2.IMREAD_GRAYSCALE will be the best practice
- 返回
The result image
- 返回类型
numpy.ndarray
Module contents¶
-
pyfusion.
Brovery
(src, pan)[源代码]¶ Using Brovery method to fusion image
The source image should not be upsampled
- 参数
src – source image, the image should be BGR color space
pan – Panchromatic image, the image should be grayscale
- 返回
fusion image
- 返回类型
numpy.ndarray
-
pyfusion.
HIS
(src, pan)[源代码]¶ Using HIS method to fusion the image
The source image should not be upsampled
- 参数
src – source image, the image should be BGR color space
pan – Panchromatic image, the image should be grayscale
- 返回
fusion image
- 返回类型
numpy.ndarray
-
pyfusion.
PCA
(src, pan)[源代码]¶ Using PCA method to fusion the image
The PCA function is fusion the src with pan based on PCA
- 参数
src – The source image, it should be multi-band the image read by cv2.imread will be the best practice
pan – The Pan image, it should be single band the image read by cv2.imread with flag set to cv2.IMREAD_GRAYSCALE will be the best practice
- 返回
The result image
- 返回类型
numpy.ndarray