Image Decomposition?
Hello... i am newbie here... i really hope that someone could help me with the DWT decomposition on image. I am applying it several times to get 3 levels of image decomposition.... the problem is i couldn't execute this following code.... Please help me to solve this problem.....Many Thanks in advance fo your cooperation.
clc; close; X=ReadImage('E:\scilab-5.3.3\bin\EMERGENCY071.jpg'); nLevel = 3; cA = cell(1,nLevel); cH = cell(1,nLevel); cV = cell(1,nLevel); cD = cell(1,nLevel); startImage = X; for iLevel = 1:nLevel, [cA{iLevel},cH{iLevel}cV{iLevel},cD{iLevel}] = dwt2(startImage,'db1'); startImage = cA{iLevel}; end
AT SCILAB CONSOLE... this error message appears....
[cA{iLevel},cH{iLevel}cV{iLevel},cD{iLevel}] = dwt2(startImage,'db1');
!--error 273
Instruction left hand side: waiting for a dot or a left parenthesis.