Package schrodinger :: Package test :: Package stu :: Package outcomes :: Package custom :: Module perceptual_diff
[hide private]
[frames] | no frames]

Module perceptual_diff

Contains the workup is perceptual_diff


Copyright: Schrodinger, LLC. All rights reserved.

Functions [hide private]
 
_get_perceptual_diff_loc()
 
perceptual_diff(std_image, test_image)
Run Perceptual Diff to compare a test image to a standard.
Variables [hide private]
  logger = log.get_logger('test_backend')
Function Details [hide private]

perceptual_diff(std_image, test_image)

 

Run Perceptual Diff to compare a test image to a standard.

The workup requires access to the shared installation of Perceptual Diff in /nfs/software/lib/<platform>/. It expects host-specific std images to be located in a subdirectory of the test named references/<hostname>/. For example, for the host pdx-desk-l03.schrodinger.com, refeerences are expected in stu_<testid>/references/pdx-desk-l03.schrodinger.com/.

usage: custom.perceptual_diff.perceptual_diff(std_image, test_image)