A novel adaptive partial differential equation model for image segmentation