No BSD License  

Highlights from
Scalable MPEG compression based on DCT coefficients

from Scalable MPEG compression based on DCT coefficients by Zahid Ali
This application makes 2 layers base Layer and enhancement layer from quantized coefficients

shat1(Original,Decoded,previousOriginal,previousDecoded)
function [originalSI,decodedSI,originalTI,decodedTI] = shat1(Original,Decoded,previousOriginal,previousDecoded)
%%%spatial information
originalSI=std(std(double(edge(Original,'sobel'))));
decodedSI=std(std(double(edge(Decoded,'sobel'))));

%%%temporal information
originalTI=std(std(double(Original-previousOriginal)));
decodedTI=std(std(double(Decoded-previousDecoded)));

Contact us at files@mathworks.com