Code Monkey home page Code Monkey logo

pansharpening-python's Introduction

Py_pansharpening License

A Python version pansharpening toolbox with some classic methods. The toolbox implements the following algorithms so far,

  • Brovey
  • PCA
  • IHS
  • SFIM
  • GS
  • Wavelet
  • MTF-GLP
  • MTF-GLP-HPM
  • GSA
  • CNMF
  • GFPCA
  • PNN
  • PanNet

Demo for Pansharpening

python demo_pansharpening.py

Demo for Evaluating All Methods

python demo_all_methods.py

Visualization

Evaluation

Requirements

tensorflow-gpu==1.8.0
keras==2.2.4
numpy==1.14.2
cv2==4.1.0
scipy==1.2.1
scikit-learn==0.21.2
pywt==1.0.3

README of Murphy

Environment

(Pansharpening-py) houjinliang@3080server:~/MyCVProject/fFusion/Pansharpening-Python$ pip list
Package               Version
--------------------- ---------
absl-py               1.4.0
astor                 0.8.1
bleach                1.5.0
cached-property       1.5.2
certifi               2021.5.30
dataclasses           0.8
gast                  0.5.4
grpcio                1.48.2
h5py                  3.1.0
html5lib              0.9999999
importlib-metadata    4.8.3
joblib                1.1.1
Keras                 2.2.4
Keras-Applications    1.0.8
Keras-Preprocessing   1.1.2
Markdown              3.3.7
numpy                 1.19.5
opencv-contrib-python 4.1.0.25
opencv-python         4.1.0.25
pip                   21.2.2
protobuf              3.19.6
PyWavelets            1.0.3
PyYAML                6.0.1
scikit-learn          0.21.2
scipy                 1.5.4
setuptools            58.0.4
six                   1.16.0
tensorboard           1.8.0
tensorflow-gpu        1.8.0
termcolor             1.1.0
typing_extensions     4.1.1
Werkzeug              2.0.3
wheel                 0.37.1
zipp                  3.6.0

About code

  • 文件类型转换

'./ENVIProcessing/hdr2npy.py' : 如果原始数据是ENVI导出的hdr文件,用这个代码转换成npy文件。

  • 环境配置

所用系统为Ubuntu 18.04 LTS,CUDA 11.3。‘tensorflow-gpu 1.8.0’在这个环境下不能使用!!!所以深度学习方法都跑不起来,其他方法可以跑通。

pansharpening-python's People

Contributors

codegaj avatar murphyhoucn avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.