Correction of the pixels update of the segmented image