I want to define a threshold for maximal blocking artifacts in an image.

What is a good key value to measure blocking artifacts?

  • I have no reference image
  • non natural image


Image with artifacts

I looked into no reference image quality analysis like BRISQUE and PIQE, but they seem to be more focused on natural images.

Other methods like peak signal to noise ratio only work with a reference image if I understood correctly.

Use case: user uploads image chart, blockiness value will be calculated, if over threshold image will not be accepted.

  • $\begingroup$ Welcome here. I can see some blocking artifacts, yet also some annoying mosquito effects $\endgroup$ Oct 3, 2022 at 20:40
  • $\begingroup$ thanks for welcoming me here. If you have any ideas about measuring blocky artifacts (from jpeg compression), let me know. I came across this artifacts removal repository (github.com/jiaxi-jiang/FBCNN). It can be tested here huggingface.co/spaces/danielsapit/JPEG_Artifacts_Removal. My idea is to remove the artifacts from an image and take the resulting image as a reference. This way I can calculate e.g. PSNR and try other methods which are reference based $\endgroup$ Oct 4, 2022 at 0:49

1 Answer 1


In case somebody in the future looks for an answer. There are several metrics proposed to measure blocky artifacts.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.