?? contourlet.m
字號:
% contourlet.m% written by: Duncan Po% Date: August 24, 2002% Performs the Contourlet Transform on an Image% Usage: coefs = contourlet(pyrfilter, dirfilter, levndir, imname, imformat)% coefs = contourlet(pyrfilter, dirfilter, levndir, image)% Inputs: pyrfilter - Pyramid filter (e.g. '9-7')% dir - Directional filter (e.g. 'cd')% levndir - the number of subbands in each level% imname - the name of the image in a file% imformat - the format of the image file% image - the image in memory% Output: coefs - contourlet coefficients in subband structurefunction coefs = contourlet(pyrfilter, dirfilter, levndir, imname, imformat)if nargin == 5 pic = imread(imname,imformat); pic = double(pic);elseif nargin == 4 pic = imname;end;%figure;%imshow(uint8(pic));coefs = pdfbdec(pic, pyrfilter, dirfilter, levndir);
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -