Kitware / vtk-js

Visualization Toolkit for the Web
https://kitware.github.io/vtk-js/
BSD 3-Clause "New" or "Revised" License
1.23k stars 370 forks source link

Support for island Removal/Hole Filling Automations for paintFilter? #2215

Open Guzzler opened 2 years ago

Guzzler commented 2 years ago

Need

Allow for Hole Filling and Island Removal automations using vtkjs

Feature

The idea would be to build an automation that given an index, the paintfilter could be used to island remove/ hole fill around that particular index given a label.

floryst commented 2 years ago

This would likely not be a PaintFilter functionality, but rather a separate VTK filter that can perform removal/filling given seed points and a labelmap. This functionality currently doesn't exist in vtk.js, but would be useful to have.

finetjul commented 2 years ago

It would seem that using itk.wasm would be the best to do such thing. ITK already has this filter existing...