I\'m trying to filter the gaussian noise from the segmented image using a median filter but it looks like the result it\'s not as expected because some points are not correc