diff options
Diffstat (limited to 'macros/ssim.sci')
-rw-r--r-- | macros/ssim.sci | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/macros/ssim.sci b/macros/ssim.sci new file mode 100644 index 0000000..5972816 --- /dev/null +++ b/macros/ssim.sci @@ -0,0 +1,7 @@ +function[ssim_val] = ssim(srcImg, reference) + + srcMat = mattolist(srcImg) + + ssim_val = opencv_ssim(srcMat, reference) + +endfunction |