Image matting is a very useful technique in image processing which helps in extracting a targeted part of the image.