Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

python-bcet

Preprocess using the Fmask algorithm & Balance Constrast Enhance Technique LANDSAT 8 Geotiffs for spectral analysis

Purpose

These scripts are used to preprocess and contrast enhance LANDSAT 8 OLI & TIRS geotiffs using the cloud, snow and shadow Fmask algorithm (Zhu, Z., Wang, S. and Woodcock, C.E., 2015) and the BCET algorithm (Liu, J.G., 1991).

With a user-specified region of interest (ROI) within the Landsat scene, each Landsat bands 1-7 will have histogram shapes conserved but with an adjusted range of 0-255 with mean intensity of 110. Doing so enables the normalised comparison of spectral signatures within the BCETed scene across each band.

Workflow

  1. Generate a masked set of tiffs to remove areas of nodata (useful with oblique LANDSAT tiles)
  2. Cloud, snow and shadow masks using Fmask (http://pythonfmask.org/en/latest/)
  3. Produce band-specfic ROI BCET normalised geotiffs (http://dx.doi.org/10.1080/01431169108955241)

Requirements

Preprossing scripts require the follows scripts and their dependencies in the path:

The GDAL library.

Including ...

From Fmask ...

  • fmask_usgsLandsatMakeAnglesImage.py
  • fmask_usgsLandsatSaturationMask.py
  • fmask_usgsLandsatStacked.py
  • fmask_usgsLandsatTOA.py

Python scripts require the following and their dependencies ...

Usage

  • Download a LANDSAT scene tifs and metadata and extract into LANDSAT8 directory (like this)
  • Set output, name and ROI (UTM coordinates) in config
  • Preprocess and run BCET algorithm on geotiffs with bcet_batch.sh

About

Preprocess using the Balance Constrast Enhance Technique LANDSAT8 Geotifs for spectral analysis

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages