I am getting error while performing dct and dwt for images,please correct it or give some suggestions.Thanks in advance
Show older comments
1)
for ii=1:length(yy1)%yy1 contains 2 cells of size 192x192x3
dwt{1,ii}=dwt(yy1{ii},'db4');% i need to store approximation coefficient alone.
end
2)
for ii=1:length(yy1)
dct{1,ii}=dct2(yy1{ii});% error is 'matrix dimension must agree'
end
Accepted Answer
More Answers (0)
Categories
Find more on Signal Analysis in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!