In this work, we propose a method to obtain higher quality sensor pattern noise (SPN) for identifying source cameras. We believe that some components of SPN have been severely contaminated by the errors introduced by denoising filters and the quality of SPN can be improved by abandoning those components. In our proposed method, some coefficients with higher denoising errors are abandoned in the wavelet representation of SPN and the remaining wavelet coefficients are further enhanced to suppress the scene details in the SPN. These two steps aim to provide better SPN with higher signal-to-noise ratio (SNR) and therefore improve the identification performance. The experimental results on 2,000 images captured by 10 cameras (each responsible for 200 images), show that our method achieves better receiver operating characteristic (ROC) performance when compared with some state-of-the-art methods.