imlab-uiip / lung-segmentation-3d

Lung fields segmentation on tomography images using convolutional neural networks.
97 stars 43 forks source link

incomplete segmentation #5

Closed hfarhidzadeh closed 6 years ago

hfarhidzadeh commented 6 years ago

Hi, Have you seen any hole within the segmentation due to nodules or artifact? If yes, how do you get the perfect filled-out mask?

eclique commented 6 years ago

Hi @CSMEDEEP, Yes some masks do have holes in them but I am not applying any post processing to fill them in. I guess the easiest way to do that would be to run graph traversal to find a connected component of 0's from one of the corners and fill in everything else with 1's. Another option to consider is morphological closing.