A difference curvature controlled non-local means method for noise reduction