power law transformation in image processing matlab