However, if the input image is a decompressed image derived from a compressed image, and the compressed image was derived from a source image compressed with a block-based compression process, then due to the prior compression, the decompressed image 201 has blocking artifacts caused by independent quantization of DCT coefficients blocks of the compressed image.