refine pixel location got from approximation