Text this: Modified correlation method to autofocus particles in digital in-line holography