Mumford-Shah model and its application in image processing