⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 fdct_usfft_demo_disp.m

📁 This directory includes matlab interface of the curvelet transform using usfft. Basic functions
💻 M
字号:
disp(' ');disp('fdct_usfft_demo_disp.m -- Displays the curvelet coefficients of an image');disp(' ');disp('1. The low frequency (coarse scale) coefficients are stored at');disp('   the center of the display.') disp(['2. The Cartesian concentric coronae show the coefficients at different']); disp('   scales; the outer coronae correspond to higher frequencies.');disp(['3. There are four strips associated to each corona, corresponding to']);disp('   the four cardinal points; these are further subdivided in angular panels.');     disp(['4. Each panel represent coefficients at a specified scale and along']);disp('   the orientation suggested by the position of the panel.');disp(' ');% fdct_usfft_demo_disp.m -- Displays the curvelet coefficients of an image%generate imagen = 512;X = zeros(n,n);ix = ((-n/2):(n/2-1))' * ones(1,n);iy = ones(n,1) * ((-n/2):(n/2-1));ix = ix./n; iy = iy./n;X = ((ix.^2 + iy.^2) <= .33^2) .* exp( - 2.*ix.^2 - 2.*iy.^2 ); alpha = pi/2 + pi/8;X = (cos(alpha).*ix + sin(alpha).*iy >= 0).*exp(-16.*ix.^2- 16.*iy.^2 );%forward curvelet transformdisp('Take curvelet transform: fdct_usfft');tic; C = fdct_usfft(X,0); toc;%generate curvelet image (a complex array)img = fdct_usfft_dispcoef(C);%display original image and the curvelet coefficient imagesubplot(1,2,1); colormap gray; imagesc(X); axis('image'); title('original image');subplot(1,2,2); colormap gray; imagesc(abs(img)); axis('image'); title('log of curvelet coefficients');

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -