No BSD License
-
func_DWT(I, level, Lo_D, Hi_D...
Matlab implementation of SPIHT (without Arithmatic coding stage)
-
func_InvDWT(I_W, S, Lo_R, Hi_...
Matlab implementation of SPIHT (without Arithmatic coding stage)
-
func_Myappcoef2(c,s,varargin)
APPCOEF2 Extract 2-D approximation coefficients.
-
func_Mywavedec2(x,n,varargin)
WAVEDEC2 Multilevel 2-D wavelet decomposition.
-
func_Mywaverec2(c,s,varargin)
WAVEREC2 Multilevel 2-D wavelet reconstruction.
-
func_decode_refine(img_waveda...
% img_wavedata_dec: input wavelet coefficients
-
func_decode_significancemap(i...
img_wavedata_dec: input wavelet coefficients
-
func_dominant_pass(img_waveda...
% img_wavedata: wavelet coefficients, if this step is not using the initial theshold
-
func_ezw_decode(dim, threshol...
dim: dimension of the wavelet matrix to reconstruct
-
func_ezw_demo_main
% main program to run this demo
-
func_ezw_enc(img_wavedata,ezw...
img_wavedata: wavelet coefficients to encode
-
func_huffman_decode(img_ezw_s...
-
func_huffman_encode(significa...
-
func_morton(pos,n);
The matrix should be n by n
-
func_rearrange_list(orig_list...
orig_list: original subordinate list, this is the old subordinate list
-
func_subordinate_pass(subordi...
% subordinate_list: current subordinate list containing coefficietns that are
-
func_treemask(x,y,dim);
x, y is the position in the matrix of the node where the EZW tree
-
func_treemask_inf(x, y, dim);
x y is the position in the matrix of the node where the EZW tree
-
readme.m
-
View all files
from
EZW (Embedded Zerotree Wavelet)
by Kanchi
Matlab implementation of EZW (Embedded Zerotree Wavelet)
|
| func_morton(pos,n);
|
function scan = func_morton(pos,n);
% The matrix should be n by n
% For position we start counting from 0
%
% position = [0:(n*n)-1];
% scan = morton(position, n);
% Copyright 2002 Paschalis Tsiaflakis, Jan Vangorp
% Revision 1.0 10/11/2002 19.00u
bits = log2(n*n); % number of bits needed to represent position
bin = dec2bin(pos(:),bits); % convert position to binary
% odd bits represent row number
% even bits represent column number
scan = [bin2dec(bin(:,1:2:bits-1)), bin2dec(bin(:,2:2:bits))];
|
|
Contact us at files@mathworks.com