Skip to content

Cropper.prepare raises an exception when one rectangle does not overlap the ROI #39

Description

@carlosandujar

Depending on the input, some images might not overlap the largest internal rectangle (see example).

Cropper.prepare raises an exception, but it would be more desirable to just ignore non-overlapping rectangles, or return their indices so that they can be removed as when subsetting to the largest component of the graph.

sample_mask

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions