Morph Operations

Added median filtering, closing and opening operations on outputted
segmented image