Converting color image into grey-scale image.
Thresholding.
Background subtraction to obtain binary image.
Closing small holes within the object of interest.
Removing all other artifacts surrounding the object.
Overlapping the binary image on original color image and extracting sample from background.