Mercurial > hg > smallbox
comparison util/SMALL_ssim_index.m @ 128:8e660fd14774 ivand_dev
Feature 186
author | Ivan Damnjanovic lnx <ivan.damnjanovic@eecs.qmul.ac.uk> |
---|---|
date | Mon, 13 Jun 2011 14:55:45 +0100 |
parents | 5356a6e13a25 |
children |
comparison
equal
deleted
inserted
replaced
126:db5a7fe1a404 | 128:8e660fd14774 |
---|---|
1 function [mssim, ssim_map] = SMALL_ssim_index(img1, img2, K, window, L) | 1 function [mssim, ssim_map] = SMALL_ssim_index(img1, img2, K, window, L) |
2 | 2 %% SSIM Index - Removed dependence on Image Processing Toolbox |
3 %======================================================================== | 3 %======================================================================== |
4 %SSIM Index, Version 1.0 | 4 %SSIM Index, Version 1.0 |
5 %Copyright(c) 2003 Zhou Wang | 5 %Copyright(c) 2003 Zhou Wang |
6 %All Rights Reserved. | 6 %All Rights Reserved. |
7 % | 7 % |
68 % | 68 % |
69 % mssim %Gives the mssim value | 69 % mssim %Gives the mssim value |
70 % imshow(max(0, ssim_map).^4) %Shows the SSIM index map | 70 % imshow(max(0, ssim_map).^4) %Shows the SSIM index map |
71 % | 71 % |
72 | 72 |
73 % Removed dependency on Image Processing Toolbox - | 73 % Removed dependence on Image Processing Toolbox - |
74 % Centre for Digital Music, Queen Mary, University of London. | 74 % Centre for Digital Music, Queen Mary, University of London. |
75 % This file copyright 2011 Ivan Damnjanovic. | 75 % This file copyright 2011 Ivan Damnjanovic. |
76 %======================================================================== | 76 %======================================================================== |
77 | 77 |
78 | 78 |