📄 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 + -