Skip to content

This is an implementation of the floodfill algorithm for fire event detection as described in Archibald & Roy 2009. For docs see:

License

Notifications You must be signed in to change notification settings

tibroc/floodfill

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

floodfill

https://travis-ci.com/tibroc/floodfill.svg?branch=master https://coveralls.io/repos/github/tibroc/floodfill/badge.svg?branch=master

This is an implementation of the floodfill algorithm for fire event detection as described in:

Archibald, Sally & Roy, David. (2009).
Identifying individual fires from satellite-derived burned area data.
III-160 . 10.1109/IGARSS.2009.5417974.

Installation

To install this python package you need to download the repository, navigate to the root folder of it and install it using the setup.py:

python setup.py install

Usage

The program can be executed as a python module:

python -m floodfill -h

The program provides some command line parameters that let you define its behavior. The -h flag will give you an overview over the options and how to use it.

A simple test run can be done like this:

mkdir output
python -m floodfill --input=tests/test_data.tif --output-folder=output -b

Parallelization

If you have several files to process (in recursive mode), you can parallelize processing by setting --n-workers to a value that suits your number of cores (if you specify a higher number of workers than you have cores, the program will automatically take the maximum number of cores available).

mkdir output
python -m floodfill --input=tests/test_data.tif\
    --output-folder=output\
    --n-workers=4

About

This is an implementation of the floodfill algorithm for fire event detection as described in Archibald & Roy 2009. For docs see:

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages