Text this: High-Quality Computational Ghost Imaging Using an Optimum Distance Search Method