ImageDiff and Structrual Similarity #13902
Labels
C: MOOSE Scripts
Good first issue
P: normal
A defect affecting operation with a low possibility of significant effects.
T: task
An enhancement to the software.
The ImageDiff test object uses skimage python package to compute the "Structural Similarity" (SSIM). This is a large dependency for a rather simple calculation.
https://en.wikipedia.org/wiki/Structural_similarity
Design
I would like to add a ssim function to mooseutils, so that we can do the following.
matplotlib.imread
and the function should alsosupport a version that accepts the loaded data rather than the filename.
Impact
This should be drop-in replacement for our current function so no API will change, but it will allow us to remove a large python dependency.
@LSWells
The text was updated successfully, but these errors were encountered: