I need to filter the mask of an image with both of the OpenCV morphological changes: Open and Close, to reduce both noises in background and foreground.
kerne