All Projects → EnSpec → hytools

EnSpec / hytools

Licence: GPL-3.0 license
Hyperspectral image processing library

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to hytools

Modistsp
An "R" package for automatic download and preprocessing of MODIS Land Products Time Series
Stars: ✭ 118 (+218.92%)
Mutual labels:  remote-sensing
Awesome Geospatial Companies
🌐 List of 500+ geospatial companies (GIS, Earth Observation, UAV, Satellite, Digital Farming, ..)
Stars: ✭ 184 (+397.3%)
Mutual labels:  remote-sensing
Change Detection Review
A review of change detection methods, including codes and open data sets for deep learning. From paper: change detection based on artificial intelligence: state-of-the-art and challenges.
Stars: ✭ 248 (+570.27%)
Mutual labels:  remote-sensing
S2p
Satellite Stereo Pipeline
Stars: ✭ 136 (+267.57%)
Mutual labels:  remote-sensing
Landsat Download
Automated download of LANDSAT data from USGS website
Stars: ✭ 177 (+378.38%)
Mutual labels:  remote-sensing
Python Geospatial
A collection of Python packages for geospatial analysis with binder-ready notebook examples
Stars: ✭ 187 (+405.41%)
Mutual labels:  remote-sensing
Pyrate
A Python tool for estimating velocity and time-series from Interferometric Synthetic Aperture Radar (InSAR) data.
Stars: ✭ 110 (+197.3%)
Mutual labels:  remote-sensing
gleam
Galaxy Line Emission & Absorption Modeling
Stars: ✭ 23 (-37.84%)
Mutual labels:  spectroscopy
Eye In The Sky
Satellite Image Classification using semantic segmentation methods in deep learning
Stars: ✭ 185 (+400%)
Mutual labels:  remote-sensing
Getspatialdata
An R package 📦 making it easy to query, preview, download and preprocess multiple kinds of spatial data 🛰 via R. All beta.
Stars: ✭ 227 (+513.51%)
Mutual labels:  remote-sensing
Angular5 Iot Dashboard
Multipurpose dashboard admin for IoT softwares, remote control, user interface. Develop your client dashboards in Angular 5 with vast variety of components available.
Stars: ✭ 148 (+300%)
Mutual labels:  remote-sensing
Awesome Satellite Imagery Datasets
🛰️ List of satellite image training datasets with annotations for computer vision and deep learning
Stars: ✭ 2,447 (+6513.51%)
Mutual labels:  remote-sensing
Mintpy
Miami InSAR time-series software in Python
Stars: ✭ 195 (+427.03%)
Mutual labels:  remote-sensing
Py6s
A Python interface to the 6S Radiative Transfer Model
Stars: ✭ 117 (+216.22%)
Mutual labels:  remote-sensing
Coastsat
Global shoreline mapping tool from satellite imagery
Stars: ✭ 252 (+581.08%)
Mutual labels:  remote-sensing
Stanet
official implementation of the spatial-temporal attention neural network (STANet) for remote sensing image change detection
Stars: ✭ 109 (+194.59%)
Mutual labels:  remote-sensing
Whitebox Python
WhiteboxTools Python Frontend
Stars: ✭ 188 (+408.11%)
Mutual labels:  remote-sensing
ee-land-change
Google Earth Engine land-use change tutorial for SCBI
Stars: ✭ 22 (-40.54%)
Mutual labels:  remote-sensing
s5p-tools
Python scripts to download and preprocess air pollution concentration level data aquired from the Sentinel-5P mission
Stars: ✭ 49 (+32.43%)
Mutual labels:  remote-sensing
Instancesegmentation sentinel2
🌱 Deep Learning for Instance Segmentation of Agricultural Fields - Master thesis
Stars: ✭ 206 (+456.76%)
Mutual labels:  remote-sensing

HyTools

DOI

HyTools is a python library for processing airborne and spaceborne imaging spectroscopy data. At it's core it consists of functions for reading and writing ENVI formatted images and reading NEON AOP HDF files along with a series of image processing functions including spectral resampling, topographic, BRDF and glint correction, spectral transforms, masking and more. We have also created a series of command line tools which combine these functions and provide a streamlined workflow for processing images.

For examples see the HyTools basics ipython notebook here.

Installation

To install with pip run:

pip install hy-tools

or clone

git clone https://github.com/EnSpec/hytools.git

and install with setuptools

python setup.py install

Basic usage

import hytools as ht

#Create a HyTools container object
hy_obj = ht.HyTools()

#Read and load ENVI file metadata
hy_obj.read_file('./envi_file')

#Calculate NDVI, retrieves closest wavelength to input wavelength
ir = hy_obj.get_wave(900)
red = hy_obj.get_wave(660)
ndvi = (ir-red)/(ir+red)

#or

# Calculate normalized difference index, NDVI by default
ndvi = hy_obj.ndi()

#Other options for retrieving data
band = hy_obj.get_band(10)
column = hy_obj.get_column(1)
line = hy_obj.get_line(234)
chunk = hy_obj.get_chunk(0,100,0,100)
pixels = hy_obj.get_pixels([102,434],[324,345])

# Create a writer object to write to new file
writer = ht.io.WriteENVI('output_envi',hy_obj.get_header())

#Create an iterator object to cycle though image
iterator = hy_obj.iterate(by = 'line')

# Cycle line by line, read from original data
while not iterator.complete:
   #Read next line
   line = iterator.read_next()

   #Do some calculations.......
   radiance = line * gain + offset

   #Write line to file
   writer.write_line(radiance,iterator.current_line)

writer.close()
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].