File Exchange

image thumbnail

Contourlet toolbox

version 1.0 (429 KB) by

Contourlet transform: an efficient and flexible multiresolution, local, and directional image ...

55 Downloads

Updated

View License

Contourlet toolbox: a MATLAB toolbox for computing the contourlet transform and its applications.

The contourlet transform is described in:

The contourlet transform: an efficient directional multiresolution image representation,
Minh N. Do and Martin Vetterli,
IEEE Transactions on Image Processing,
December 2005.

Other related papers and software are available at:
www.ifp.uiuc.edu/~minhdo

Comments and Ratings (40)

meaad salih

thank you so much

it generates errors when I use an image of size(300*400) or larger.

Error using -
Matrix dimensions must agree.

Error in fbdec_l (line 52)
y0 = (1 / sqrt(2)) * (p0 - sefilter2(p1, f, f, extmod, [1, 1]));

Error in dfbdec_l (line 60)
[y{2*k}, y{2*k-1}] = fbdec_l(y_old{k}, f, 'p', i,
'per');

Error in pdfbdec (line 50)
xhi_dir = dfbdec_l(xhi, dfilt, nlevs(end));

Error in ctsm (line 23)
lcoeffs = pdfbdec(L, pfilt, dfilt, nlevel);

i am getting error like this how to fix it please reply????????

deniz kumlu

You have to compile c files like 'mex resampc.c'

H z

H z (view profile)

Undefined function 'resampc' for input arguments of type 'double'.

Error in resamp (line 44)
y = resampc(x, type, shift, extmod);

Error in qpdec (line 32)
y = resamp(x, 2);

Error in fbdec_l (line 41)
[p0, p1] = qpdec(x, type2);

Error in dfbdec_l (line 38)
[x0, x1] = fbdec_l(x, f, 'q', '1r', 'qper_col');

Error in pdfbdec (line 50)
xhi_dir = dfbdec_l(xhi, dfilt, nlevs(end));

Error in pf (line 45)
y = pdfbdec(im, pfilt, dfilt, nlevs);

H z

H z (view profile)

it generate an error like the one below, please guide to fix it.

Undefined function 'resampc' for input arguments of type 'double'.

Error in resamp (line 44)
y = resampc(x, type, shift, extmod);

Error in qpdec (line 32)
y = resamp(x, 2);

Error in fbdec_l (line 41)
[p0, p1] = qpdec(x, type2);

Error in dfbdec_l (line 39)
[x0, x1] = fbdec_l(x, f, 'q', '1r', 'qper_col');

Error in pdfbdec (line 51)
xhi_dir = dfbdec_l(xhi, dfilt, nlevs(end));

Error in denoisedemo (line 42)
y = pdfbdec(nim, pfilt, dfilt, nlevs);

it generates errors even with the images gives in the Toolbox file.
??? Undefined function or method 'resampc' for input arguments of
type 'double'.

Error in ==> resamp at 44
y = resampc(x, type, shift, extmod);

Error in ==> qpdec at 32
y = resamp(x, 2);

Error in ==> fbdec_l at 41
[p0, p1] = qpdec(x, type2);

Error in ==> dfbdec_l at 38
[x0, x1] = fbdec_l(x, f, 'q', '1r', 'qper_col');

Error in ==> pdfbdec at 50
xhi_dir = dfbdec_l(xhi, dfilt, nlevs(end));

Error in ==> decdemo at 68
coeffs = pdfbdec( double(im), pfilter, dfilter, nlevels );

how can I fix ?

Nimisha

resampc.m

this file is missing.

Please mail me..

Sorry to bother. I was trying to understand decdemo.m that is provide in the toolbox as a demo. but it seem to generate a error like the one below:

Undefined function 'resamp' for input arguments of type 'double'.

Error in qpdec (line 32)
y = resamp(x, 2);

Error in fbdec_l (line 41)
[p0, p1] = qpdec(x, type2);

Error in dfbdec_l (line 38)
[x0, x1] = fbdec_l(x, f, 'q', '1r', 'qper_col');

Error in pdfbdec (line 50)
xhi_dir = dfbdec_l(xhi, dfilt, nlevs(end));

Error in Test_Coding (line 11)
coeffs = pdfbdec( double(im), pfilter, dfilter, nlevels );

Please can some one help

Yan Liu

it generates errors when I use an image of size(300*400) or larger.

Error using -
Matrix dimensions must agree.

Error in fbdec_l (line 52)
y0 = (1 / sqrt(2)) * (p0 - sefilter2(p1, f, f, extmod, [1, 1]));

Error in dfbdec_l (line 60)
[y{2*k}, y{2*k-1}] = fbdec_l(y_old{k}, f, 'p', i,
'per');

Error in pdfbdec (line 50)
xhi_dir = dfbdec_l(xhi, dfilt, nlevs(end));

Error in ctsm (line 23)
lcoeffs = pdfbdec(L, pfilt, dfilt, nlevel);

Yan Liu

it generates errors when I use an image of size(300*400) or larger.

Error using -
Matrix dimensions must agree.

Error in fbdec_l (line 52)
y0 = (1 / sqrt(2)) * (p0 - sefilter2(p1, f, f, extmod, [1, 1]));

Error in dfbdec_l (line 60)
[y{2*k}, y{2*k-1}] = fbdec_l(y_old{k}, f, 'p', i,
'per');

Error in pdfbdec (line 50)
xhi_dir = dfbdec_l(xhi, dfilt, nlevs(end));

Error in ctsm (line 23)
lcoeffs = pdfbdec(L, pfilt, dfilt, nlevel);

baran ad

Hi, I had the same problem with resamc.c mex file and I tried to install SDK 7.1 for windows7 to get that function running. But it can not be successfully installed! I do not know why? I also have .NET framework 4 as SDK prerequisites. What can be the problem?

how to install contourlet toolbox in matlab and how it can further be used??? need help for using this toolbox.

dharma

dharma (view profile)

nirmal

nirmal (view profile)

@swathi

It works not only for image of size (512x512), but also for all images with size as power of two (like 256, 1024 etc). So you need to resize the image before processing.

swathi s

This toolbox denoises image of particular size(512*512). how to resolve this problem i need to denoise images of all size

mohammad

Yunas Qazi

@ram
most probably you problem seems to be the path issue, after assuring the paths are correct
kindly check for the gcc version. Either you have a successfully configured GCC compiler or not. If not, I have already pasted a solution for MAC OS X, if you are on windows kindly google through to see how you can install GCC Compiler for your machine else it must work.

ram

ram (view profile)

while compiling mex resampc.c , error occured as

C:\PROGRA~1\MATLAB\R2012A\BIN\MEX.PL: Error: 'resampc.c' not found.

Error using mex (line 206)
Unable to complete successfully.

pls comment to rectify the error...!!

Yunas Qazi

@Othmani to solve this issue/error you need to recompile the file "resample.c" with the folliwing command.

mex resampc.c

but if it still gives you an error like :

/Applications/MATLAB_R2011b.app/bin/mex: line 305: gcc-4.2: command not found

you need to go through the following link :
http://www.mathworks.com/support/solutions/en/data/1-FR6LXJ/

As I am on Mac, so for Mac user's the following page will be very helpful
http://www.cs.nott.ac.uk/~mfv/page1/page12/files/341537a3ad8054555eb838ac0db831a8-1.html

And after these steps the files worked perfectly,
thank you Minh Do for the excellent work.

Othmani

it generates errors even with the images gives in the Toolbox file.
??? Undefined function or method 'resampc' for input arguments of
type 'double'.

Error in ==> resamp at 44
y = resampc(x, type, shift, extmod);

Error in ==> qpdec at 32
y = resamp(x, 2);

Error in ==> fbdec_l at 41
[p0, p1] = qpdec(x, type2);

Error in ==> dfbdec_l at 38
[x0, x1] = fbdec_l(x, f, 'q', '1r', 'qper_col');

Error in ==> pdfbdec at 50
xhi_dir = dfbdec_l(xhi, dfilt, nlevs(end));

Error in ==> decdemo at 68
coeffs = pdfbdec( double(im), pfilter, dfilter, nlevels );

how can I fix ?

Enrique

Thanks! It is a peace of art!

Enrique

dong sanchai

gilly liang

thank you very much

brindha rajamanickam

Very useful

Zohaib Khan

A Good set of tools. Works very well!!!

shijie zhang

I think it's pretty good!!Thank you so much for providing such a dood platform.

Wei wang

saber saleh

Xianhua Han

Sam Samoul

Hi
This is very nice work , i have a problem i don't know how to add the contourlet toolbox to my Matlab Toolbox and execute it from Command window without changing the directory of Matlab Can anybody help me in this

Sam Samoul

Please, can i find a help maual for using the toolbox of contourlet

guna sekar

fine

Mubeen Ghafoor

Bao Zaochao

Minh Do, Thank you very much! My tutor have constructed a Non_tensor product filter banks 4 years ago. Its so resemble to your works! So I'm very interesting in Contourlets. I think I 'll make useful of this Toolbox! By the way, I'm from China!

ying zhao

ice echo

thank you very much

sangwoong park

Thank you so much. Recently I am reading your papers. I guess I can solve several questions by using and analysing this toolbox. - sangwoong from korea

Pascal Getreuer

This toolbox is excellent. Everything is fast, clean, and thoroughly documented. I will certainly benefit from it. Thank you very much for your submission.

MATLAB Release
MATLAB 7 (R14)
Acknowledgements

Inspired: PDTDFB toolbox

MATLAB Online Live Editor Challenge

Win cash prizes and have your live script featured on our website

Learn more

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video