www.pudn.com > ex5-5.rar > func_MyDescendant.m
function value = func_MyDescendant(i, j, type, m) % Matlab implementation of SPIHT (without Arithmatic coding stage) % % Find the descendant with largest absolute value of pixel (i,j) % % input: i : row coordinate % j : column coordinate % type : type of descendant % m : whole image % % output: value : largest absolute value % % Jing Tian % Contact me : scuteejtian@hotmail.com % This program is part of my undergraduate project in GuangZhou, P. R. China. % April - July 1999 s = size(m,1); S = []; index = 0; a = 0; b = 0; while ((2*i-1)