Skip to content

Idea: don't collapse junction pixels #133

@jni

Description

@jni

I've referred people to the junction-handling in skan from the paper's supplementary material more times than I can remember:

https://peerj.com/articles/4312/#supp-1

It's a rather confusing part of the code, and though it is useful, it would be good to have alternatives that preserve each and every pixel in the original skeleton.

One idea: of all the pixels in a junction, only assign one to be a junction (how to do that is left as an exercise for the reader). The others get assigned to the incoming paths, and all links to non-junction pixels are removed (ie the degrees are artificially reduced).

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