Giter Club home page Giter Club logo

ship's Introduction

Supervised Hyperspectral Image Classification Package (SHIP)

This is an open package (called SHIP) for supervised hyperspectral image classification task. Besides, this repository guarantees you to reproduce the results reported in the paper:

If you use this code, pleae cite this paper in your work.

Setup

Install Dependencies

If you were using Ubuntu, simply type the following commands in your terminal to install dependencies:

    python setup.py

Download and prepare the datasets

Download the datasets used in the paper from the following link:

After downloading the datasets file, put it in the main directory of SHIP file.

Reproducing the results

  1. To choose the best classifier for one given feature (also reproduce the result in Exp 4.1), execute

     python demo_Exp1.py
    

    According to your needs, many parameters can be set in demo_Exp1.py, such as dataset, feature, classifieris, train_size, repeat_num, model_selection, isdraw. More detailed comments of these parameters can be found in SHSIC function.

    This package supports 7 datasets, 6 features (5 classical features and 1 deep feature), 9 classifiers, model selection for each classifier, post-processing classification map and drawing classification map for each method .

  2. To reproduce the results in Exp 4.3, execute

     python demo_Exp2.py
    

    According to your needs, many parameters can be set in demo_Exp2.py.

Contact:

This package is still developing and this is the first version. In the next step, we prepare to embed the feature extraction methods into this package, thus it can implement the feature extraction (this package only provide some pre-extracted features by some offline code).

For the package of this version, we hope more reserachers in this field can provide your extracted feature data to me. Welcome to contact me (Xiangyong Cao: [email protected] / [email protected]).

ship's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  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.