Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Marching Squares edge cases #56

@hannorein

Description

@hannorein

First of all thanks for providing the nice implementation of the Marching Squares algorithm.

I've noticed some inconsistencies for various edge cases (literal "edge"-cases). I'm testing a simple 4x4 grayscale input data where all the values are 0 except one of the corners and a threshold of 0.5. Depending on which corner is set to 1, the number of mesh points varies between 3, 5, and 8. As a result, the boundary extraction also gives significantly different results of what (I think) should just be shaped which are rotated versions of each other.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions