Skip to content

Ignoring looped filaments #64

@researcherys

Description

@researcherys

There are 2 kinds of problems with looped filaments introduced in filfinder2D:

  1. Looped filament without any end gives: UnboundLocalError: local variable 'max_path_length' referenced before assignment;
  2. Looped filament with any end attached, even insignificant by length(at figure), is ignored, when providing longest path: the longest path of the insignificant branch is provided instead of longer looped filbranch.
    Prob2

How to avoid losing information contained with loops when, e.g., extracting longest paths?

OS: Linux, Ubuntu 18.04
Environment: Pycharm 2020.3.3
PlantCV Version 3.11.0]

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