Image enhancement based on multiple parametric sigmoid functions