LoginSignup
0
0

More than 5 years have passed since last update.

Google製の新しい画像品質評価ツール「butteraugli」

Last updated at Posted at 2017-03-20

https://github.com/google/butteraugli/
画像間の知覚差を測定するためのツール

インストール

yum install centos-release-scl-rh {libjpeg-turbo,libpng}-devel
yum install devtoolset-4-{gcc,gcc-c++,binutils}
scl enable devtoolset-4 'bash'
curl -o butteraugli.tar.gz -L https://github.com/google/butteraugli/archive/master.tar.gz
tar xf butteraugli.tar.gz
cd butteraugli-master/butteraugli
make
mv butteraugli /usr/local/bin

make 時に jpeglib.h や png.h が要求されるので、 libjpeg と libpng の devel をインストールする必要がある。libjpeg は CentOS 6 以降は libjpeg-turbo を利用する。

また CentOS 7 では gcc のバージョンが 4.8.5 と古いため ‘assume_aligned’ 属性指示が無視されました [-Wattributes] などのエラーが出る。そのため Red Hat Developer Toolset をインストールして gcc 5.3.1 を利用する。

使用方法

butteraugli {image1.(png|jpg|jpeg)} {image2.(png|jpg|jpeg)} [heatmap.ppm]
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0