Numerical reconstruction in in-line digital holography by translation of CCD position and gradient operator method