Skip to content

Isolation metric in tobac #70

@kelcyno

Description

@kelcyno

Determining if a feature is isolated and how many neighbors it has - currently there is a pull request for this in the TINT theme, but not in tobac v1.0 theme. I suggest adding this in the segmentation_timestep function in the mask_segmentation file.

I've written a solution using dilation - where the feature shape is dilated by a user specified value and the number of neighbors falling within this dilated feature are counted and an isolation flag is raised (if no neighbors are found).

I can add this as a pull request but am not sure if it is better to add it in the v2.0 branch under the tobac theme or within the main branch.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementAddition of new features, or improved functionality of existing features

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions