Code Monkey home page Code Monkey logo

sgp's Introduction

sgp

Trying to enhance the undertext in the SGP dataset

Used Modules

python 3.7.4

  • network building:
    torch 1.4.0
  • data structures:
    pandas 0.25.1
    numpy 1.17.2
  • evaluation metrics:
    sklearn 0.23.2
  • images operation & curves drawing:
    skimage 0.16.2
    matlpotlib 3.1.1
    torchvision 0.5.0

To run & test:

  • networks/models.py: classes of all networks.
  • networks/xxx_classify.py: training of a network (xxx indicates the type of network)
  • networks/xxx_classify_test_roi.py: testing of a network, outputs enhancement reconstruction of a test image (NOTE: please run training before testing)
  • training data can be put under networks/data/sgp/xxx.csv (for pixel data) and networks/data/sgp/{folio_id}/cropped_roi/ (for cropped image patches)
  • intermediate folders created during training: networks/training_log/, networks/model/, networks/reconstructed_xxx/

Results preview (on cropped Tiff * rescale-0.25)

Images of 024r_029v
Original version, LDA version, AE-enhanced version, 1DConvNet, 2DFConvNet, 3DConvNet-hyb, Conv-hybrid:

Images of 102v_107r
Original version, LDA version, AE-enhanced version, 1DConvNet, 2DFConvNet, 3DConvNet-hyb, Conv-hybrid:

Images of 214v_221r
Original version, LDA version, AE-enhanced version, 1DConvNet, 2DFConvNet, 3DConvNet-hyb, Conv-hybrid:

Network Architecture

Stacked Autoencoder [1]

1DConvNet [2]

2DFConvNet

2DConvNet-hyb

Hybrid Convnet [3]

Reference

[1] C. Xing, L. Ma, and X. Yang. Stacked denoise autoencoder based feature extraction and classification for hyperspectral images. Journal of Sensors, 2016:e3632943, 2015.

[2] Hu, W., Huang, Y., Wei, L., Zhang, F. and Li, H., 2015. Deep convolutional neural networks for hyperspectral image classification. Journal of Sensors, 2015.

[3] Lee, H. and Kwon, H., 2016, July. Contextual deep CNN based hyperspectral classification. In 2016 IEEE International Geoscience and Remote Sensing Symposium (IGARSS) (pp. 3322-3325). IEEE.

sgp's People

Contributors

lixww avatar

Watchers

 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.