No BSD License  

Highlights from
Scalable MPEG compression based on DCT coefficients

Scalable MPEG compression based on DCT coefficients

by

 

15 Nov 2006 (Updated )

This application makes 2 layers base Layer and enhancement layer from quantized coefficients

codes=blk_thres_coding(codes, threshold)
% threshold coding for intensity images
function codes=blk_thres_coding(codes, threshold)

% take Discrete Cosine Transform of each block
%codes=dct2(block);

% locate DCT coefficients below threshold and set them to zero
nz=find(abs(codes) < threshold);
codes(nz)=zeros(size(nz));

Contact us