Spatial-dependent probe transmission based high-precision two-dimensional atomic localization