WorldCereal / worldcereal-classification

This repository contains the classification module of the WorldCereal system.
https://esa-worldcereal.org/
MIT License
17 stars 2 forks source link

add spatial cleaning to inference workflow as postprocessing step #98

Open jdegerickx opened 2 months ago

jdegerickx commented 2 months ago

in the demo notebook I implemented a simple majority vote based on what has been done in HRL, but this still requires further testing and tuning. In HRL in the end we used a more advanced technique based on gdal sieve --> investigate whether this is possible and desirable here...

jdegerickx commented 2 months ago

@kvantricht, not sure who to assign this to?

kvantricht commented 1 week ago

Options:

@kvantricht to setup meeting with @HansVRP and @GriffinBabe to discuss option 2 @GriffinBabe to link here to some existing code from HRL as a reference

One workflow that needs to be part of this is based on gdal_sieve. Question: is such operation available within OpenEO? To be checked with @jdries

GriffinBabe commented 1 week ago

The smooth and reclassify operation, which I propose to start with is implemented here: https://git.vito.be/projects/APPL/repos/cropclass/browse/src/cropclass/postprocessing/operations.py#93µ