Skip to content

Improve masking of Flood filling effect #3

@lassoan

Description

@lassoan

Currently, flood filling can propagate in the entire image and the result is applied to the "editable area".

However, it would help if flood filling would only propagate in the "editable area" - it would make it easier to stop leaking by using an appropriate mask.

vtkImageThresholdConnectivity filter already has a stencil input, so we should just generate a stencil from the editable area and set it in the filter:
http://www.vtk.org/doc/release/6.3/html/classvtkImageThresholdConnectivity.html#a106f02553f3445161a9d742b9481dc14

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