Giter Site home page Giter Site logo

nickstheisen / hsdatasets Goto Github PK

View Code? Open in Web Editor NEW
5.0 2.0 3.0 105 KB

The hsdatasets package provides pytorch-DataSet wrappers for the most common hyperspectral data sets with pixel-precise ground-truth annotations.

License: MIT License

Python 99.38% Shell 0.62%
hyperspectral-data hyperspectral-image-analysis pytorch hyperspectral-image-classification deeplearning

hsdatasets's Introduction

hsdatasets

The hsdatasets-package provides pytorch-DataSet wrappers for the most common hyperspectral data sets with pixel-precise ground-truth annotations. This simplifies the usage of those data sets in deep learning applications.

Currently only wrapper classes for remote sensing data sets are provided but in the future other data sets such as HyKo2 will be provided as well.

Remote Sensing Data

Data Sampling

After loading the data the image is zero-padded and NxN patches are sampled at each pixel position. If necessary the dimensionality can be reduced to M dimensions using PCA. The user can define M and N during class instantiation.

Warning: If N>1 pixels in multiple data patches overlap which may lead to data leakage when not taken care of.

Currently Supported Data Sets

Data Set Spatial Resolution [px] Spectral Resolution [bands] Classes Sensor
Indian Pines 145 x 145 200 16 AVIRIS
Salinas Scene 512 x 217 204 16 AVIRIS
Salinas-A 86 x 83 204 6 AVIRIS
Kennedy Space Center 512 x 614 176 13 AVIRIS
Pavia Centre 1096 x 1096 102 9 ROSIS
Pavia University 619 x 610 103 9 ROSIS
Botswana 1476 x 256 145 14 Hyperion
AeroRIT 1973 x 3975 51 5 Headwall Hyper E

hsdatasets's People

Contributors

nickstheisen avatar

Stargazers

 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.