Text this: An image enhancement method using nonlinear function