MIT License

项目介绍

dingkeyan93/DISTS 是一个托管在 GitHub 上的开源项目,主要使用 Python 编写,采用 MIT License 许可证,目前获得 492 个 Star、48 次 Fork。

仓库全名
dingkeyan93/DISTS
开源许可证
MIT License
Star 数
492
Fork 数
48
未关闭 Issue
12

README 摘要

Deep Image Structure and Texture Similarity (DISTS) Metric This is the repository of paper Image Quality Assessment: Unifying Structure and Texture Similarity. Highlights: 1. A full-reference IQA model correlated well with human perception of image quality. 2. It is robust to texture variance (e.g., evaluating the images generated by GANs) and mild geometric transformations (e.g., evaluating the image pairs that are…

完整内容见 GitHub 原始 README 或本页 。

常见问题

DISTS 用什么语言开发?

主要使用 Python 编写,采用 MIT License 许可证,目前有 492 个 Star。

DISTS 可以免费商用吗?

仓库采用 MIT License 许可证,可免费使用与修改,商业使用请遵守许可证条款(例如保留版权声明与许可声明)。

如何获取 DISTS 的源码?

可以直接克隆仓库:git clone https://github.com/dingkeyan93/DISTS.git,默认分支为 master;安装与运行步骤见仓库 README。

DISTS 最近还在维护吗?

仓库最近一次更新为 2020年5月22日,当前有 12 个未关闭 Issue;Star 数为 492,可作为社区活跃度的参考。

关于

GitHub 原始描述(英文)

IQA: Deep Image Structure and Texture Similarity Metric

描述取自 GitHub 官方 API,保持仓库作者书写的原文。

简要分析

热度分
591
价值分
309
活跃状态
活跃

语言占比

Limbo
MATLAB
Python

贡献者

README

Deep Image Structure and Texture Similarity (DISTS) Metric

This is the repository of paper Image Quality Assessment: Unifying Structure and Texture Similarity.

Highlights:

  1. A full-reference IQA model correlated well with human perception of image quality.
  2. It is robust to texture variance (e.g., evaluating the images generated by GANs) and mild geometric transformations (e.g., evaluating the image pairs that are not strictly point-by-point aligned).
  3. It can be employed as an objective function in various optimization problems (see optimization comparison).

Three implementation versions:

  1. Pytorch DISTS_pt.py (recommend)
  2. Tensorflow DISTS_tf.py
  3. Matlab DISTS.m.

====== Pytorch ======

Installation:

  • pip install dists-pytorch

Requirements:

  • Python>=3.6
  • Pytorch>=1.0

Usage:

from DISTS_pytorch import DISTS
D = DISTS()
# calculate DISTS between X, Y (a batch of RGB images, data range: 0~1)
# X: (N,C,H,W) 
# Y: (N,C,H,W) 
dists_value = D(X, Y)
# set 'require_grad=True, batch_average=True' to get a scalar value as loss.
dists_loss = D(X, Y, require_grad=True, batch_average=True) 
dists_loss.backward()

or

git clone https://github.com/dingkeyan93/DISTS
cd DISTS_pytorch
python DISTS_pt.py --ref <ref_path> --dist <dist_path>

====== Tensorflow ======

Requirements:

  • Python>=3.6
  • Tensorflow>=1.15

Usage:

git clone https://github.com/dingkeyan93/DISTS
cd DISTS_tensorflow
python DISTS_tf.py --ref <ref_path> --dist <dist_path>

====== Matlab ======

Requirements:

  • Matlab>=2019b

Usage:

git clone https://github.com/dingkeyan93/DISTS
run demo.m
help DISTS

Citation

@article{ding2020iqa,
  title={Image Quality Assessment: Unifying Structure and Texture Similarity},
  author={Ding, Keyan and Ma, Kede and Wang, Shiqi and Simoncelli, Eero P.},
  journal = {CoRR},
  volume = {abs/2004.07728},
  year={2020},
  url = {https://arxiv.org/abs/2004.07728}
}

评论

暂无评论