photosynthesis-team / piq

Measures and metrics for image2image tasks. PyTorch.
Apache License 2.0
1.38k stars 116 forks source link

Metric: A-DISTS, locally adaptive DISTS #346

Open luisbarrancos opened 1 year ago

luisbarrancos commented 1 year ago

Is your feature request related to a problem? Please describe. DISTS is a good metric for global structure, yet natural images have variations in local structure. Taking these into consideration would provide more meaningful metrics for these types of images.

Describe the solution you'd like A pytorch implementation or extension of DISTS to take into account local structure. Adding this together with IGSTQA and perhaps STSIM would provide the users with a meaningful toolbox for structural perceptual similarity, both at global and local level.

Describe alternatives you've considered DISTS and LPIPS only.

Additional context The original paper Locally Adaptive Structure and Texture Similarity for Image Quality Assessment by Ding et al, was presented in 2021, and can be found here (PDF, Arxiv) but there's no reference implementation, to the best of my knowledge.

Update: there is a reference implementation here, https://github.com/dingkeyan93/A-DISTS/