Label object representation and manipulation with ITK
Please use this identifier to cite or link to this publication: http://hdl.handle.net/1926/584
New: Prefer using the following doi: https://doi.org/10.54294/q6auw4
Richard Beare has recently introduced a new filter to efficiently labelize the connected components with ITK, and has also proposed to use the run-length encoding used in that filter to implement some of the most useful binary mathematical morphology operators: the opening by attribute. Following that idea, and after have searched a way to use the ITK's spatial objects for this task, a new set of classes have been developed to represent and manipulate the label images and the objects within them in ITK. Those new classes have been used to implement several label images manipulation based on object attributes, as well as the binary and label specialization of some mathematical morphology filters based on the morphological reconstruction. This contribution comes with 65 new classes, and should greatly enhance the binary mathematical morphology in ITK. All the source codes are provided, as well as a full set of tests and several usage examples of the new classes.