wavelet decomposition

조회 수: 10 (최근 30일)
Marios
Marios 2012년 3월 30일
I have an image 480*640 and i want to use wavelet decomposition in order to produce 4 subimages within a small neighborhood window of size 9*9. how should i do that? do i have to use blocproc?
the code is:
I = imread('4.bmp');
[F1,F2] = wfilters('haar','d') [C,S] = wavedec2(I,2,F1,F2);
fs1 = appcoef2(C,S,'haar',1); fh1 = detcoef2('h',C,S,1); fv1 = detcoef2('v',C,S,1); fd1 = detcoef2('d',C,S,1);
fs2 = appcoef2(C,S,'haar',2); fh2 = detcoef2('h',C,S,2); fv2 = detcoef2('v',C,S,2); fd2 = detcoef2('d',C,S,2);
i want to do that in blocks 9*9
thanks in advance

답변 (0개)

카테고리

Help CenterFile Exchange에서 Image Analysis에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by