<div dir="ltr"><div>Hi All,</div><div><br></div><div>Yesterday I finally put together an MR for the vtkImageConnectivityFilter that I wrote a long time ago:</div><div><a href="http://gitlab.kitware.com/vtk/vtk/merge_requests/1946">http://gitlab.kitware.com/vtk/vtk/merge_requests/1946</a><br></div><div><br></div><div>The action of this filter is similar to the ScalarConnectivityOn() mode of vtkConnectivityFilter, with the difference that vtkImageConnectivityFilter labels connected points (its output is a label image with the same dimensions as the input image), whereas vtkConnectivityFilter extracts connected cells as an unstructured grid.</div><div><br></div><div>More documentation is provided on this wiki page that I wrote two years ago, before I was sidetracked by other projects:</div><a href="http://www.vtk.org/Wiki/VTK/Image_Connectivity">http://www.vtk.org/Wiki/VTK/Image_Connectivity</a><div><br></div><div>It provides the usual modes of operation like extracting the largest region, extracting seeded regions, and it also allows the regions to be ranked and filtered by size since this is a useful way of identifying features of interest.</div><div><div><br></div><div> - David</div></div></div>