Ghost imaging based on Pearson correlation coefficients