Segmentation of diverse image types using opening and closing | IEEE Conference Publication | IEEE Xplore