Skip to content

Add post-processing options to script\segment_orthomosaic.py #26

Description

@ddbuscombe

This script uses 50% overlap in 2 dimensions, with a 'mode' resampling algorithm, to attempt to smooth over noise.

However, labels have error and post-processing options would also be nice. This would require reading the label mosaic tiff using rasterio, and carrying out one of a set of pre-defined filters. In the past, I have used morphological operators from scikit-image to remove small holes and blobs. This could be done on each binary mask (each individual class map), and any gaps can be filled in using inpainting (of which there is a quick method inside doodleverse_utils already)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions