Please post an example image. I'm not sure what you are referring to as the 'curve function'.