A no-reference image metric based on the singular value decomposition of local image gradients is proposed in this paper. This metric provides a quantitative measure of true image content, and reacts reasonably to both blur and random noise, so that it can be used in the automatic selection of parameters for image restoration algorithms, especially for denoising filters. Compared with GCV or SURE based approaches, this metric costs a small amount of computation, and does not require the noise to be Gaussian. Simulated and real data experiments demonstrated that our metric can capture the trend of quality change during the denoising process, and can yield parameters that show excellent visual performance in balancing between denoising and detail preservation.