Skip to content

brankej/python-auto-bcd

Repository files navigation

python-auto-bcd

Library of Python-Scripts for automated detection of bomb craters on the foundation of a digital elevation model (DEM).

Content

  • auto_bcd_main_execfile[.py] --> Main Script
  • auto_bcd_preprocessing[.py] --> Data Preprocessing
  • auto_bcd_calculation[.py] --> First Selection on basis of preprocessed data
  • auto_bcd_postprocessing[.py] --> Morphological Transformations, Polygonization
  • auto_bcd_shp_n_attribs[.py] --> Calculation for Polygon Shp-File Attribut-Values
  • auto_bcd_errorassessment[.py] --> Error - Assessment --> [TP, TN, FP, FN]

Dependencies

SAGA GIS Usage in Preprocessing

Folder structure & data requirement

  • data_input
    1. digital elevation model (DEM); best pixelsize < 5 meters
    2. [.txt] File with thresholds
    3. (optional) digitized bc shp-File for Error Assessment
  • tmp
    • mainly preprocessing data will be saved there
  • output
    • bcd_raster[.tif]

    • bombcraters[.tif]

    • opening[.tif]

    • closing[.tif]

    • validation_shp_RAST[.tif]

    • Treffer_shape_RAST[.tif]

    • Treffer_shape[.shp]

    • craters_poly[.shp]

    • craters_poly_w_data[.shp]

still WIP

cheers

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages