Add the perceptual difference metric to the rebaseline server
authorcommit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>
Tue, 11 Feb 2014 12:33:58 +0000 (12:33 +0000)
committercommit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>
Tue, 11 Feb 2014 12:33:58 +0000 (12:33 +0000)
commitaf34eb9b747ad1fa1d927103c54042a053960dc8
treed8e010a5d9bc9c2a9e70645e238c62e8515d33bb
parentafe38b16f082c8d88039339591376be54c7e801b
Add the perceptual difference metric to the rebaseline server

* Finds the location of the skpdiff binary.
* Calculates the perceptual difference percentage using the skpdiff binary.
* Replaces the weightedDiffMeasure in view.html with perceptualDifferent.

BUG=skia:2019
NOTRY=true
R=epoger@google.com

Author: rmistry@google.com

Review URL: https://codereview.chromium.org/147453003

git-svn-id: http://skia.googlecode.com/svn/trunk@13398 2bbb7eff-a529-9590-31e7-b0007b416f81
gm/rebaseline_server/imagediffdb.py
gm/rebaseline_server/imagediffdb_test.py
gm/rebaseline_server/results.py
gm/rebaseline_server/static/view.html