当前位置:首页 > 代码 > 正文

contourlet变换代码(Contourlet)

admin 发布:2022-12-19 22:01 156


本篇文章给大家谈谈contourlet变换代码,以及Contourlet对应的知识点,希望对各位有所帮助,不要忘了收藏本站喔。

本文目录一览:

什么是contourlet变换?能有详细资料吗?

Contourlet变换由拉普拉斯塔形变换(LPT)和方向滤波器组(DFB)组成,拉普拉斯塔形变换对图像进行多尺度分解,以“捕获”点奇异并产生逼近子图和细节子图。其中逼近子图是由原始图像经过二维低通滤波和下抽样产生。逼近子图再经过上抽样和低通滤波后形成与原始图像尺寸相同的低频分量。原始图像减去这个低频分量形成细节子图。然后,对细节子图应用方向滤波器组,以“捕获”方向信息,并将分布在同方向上的奇异点合成为一个系数。此过程可在逼近子图上迭代进行,可实现图像的多尺度、多方向分解,而这就是具有双迭代结构的滤波器组。

NSSC是什么.

=Naval Ships Command 海军舰船系统司令部[美

NSSC:National Strategy to Secure Cyberspace 确保网络的国家战略

NSSC:North Suburban Service Council (New Jersey) 北近郊服务委员会(新泽西州)

NSSC:National Space Science Centre (UK) 国家太空科学中心(英国)

NSSC:National Soil Survey Center 国家土壤调查中心

NSSC:Naval Submarine Support Center 海军潜艇支援中心

NSSC:Never Self-Synchronizing Code 从来没有Self-Synchronizing代码

NSSC:NAVAIR Systems and Software Support Center (Patuxent River, Maryland) NAVAIR系统和软件支持中心(写河,马里兰)

NSSC:National Secondary Student Council 国家二级学生会

NSSC:Naval Sea Systems Command 海军海系统命令

NSSC:National Senior Service Corps 国家高级服务公司

NSSC:Naval Submarine Support Command 海军潜艇支援命令

NSSC:Naval Sea Support Center 海军海支持中心

NSSC:Normal Size, Shape, and Consistency 正常的大小、形状和一致性

NSSC:Neutral Sulfite Semi-Chemical 中性亚硫酸盐半化学

NSSC:National School Safety Center 全国校园安全的中心

NSSC:NORAD Space Surveillance Center 空间监视中心三号

NSSC:NAPCO Security Systems, Inc. 新机场工程统筹署除了安全系统有限公司

NSSC:Neutral Sulfite Semi Chemical 中性亚硫酸盐半化学

如何进行图像的contourlet分解

将你需要的工具箱放在随便的一个文件夹里,比如文件夹的名字就是contourlet,然后把你的MATLAB打开,选择File-Set Path-Add Folder,然后选择contourlet文件夹,选好后按Save键保存,应该就能在MATLAB里面直接调用该工具箱里的任意函数了。

这个工具箱里的函数可以在matlab中直接调用,但好像不能用help查看该函数的用法。

clear all;

clc;

%设定参数

pfilt = '9-7'; % choose LP decomposition filter

dfilt = 'pkva'; % choose DFB decomposition filter

nlevs = [0, 0, 4, 4, 5]; % Number of levels for DFB at each pyramidal level

% nlevs: vector of numbers of directional filter bank decomposition levels

% at each pyramidal level (from coarse to fine scale).

th = 3; % lead to 3*sigma threshold denoising

rho=3;

% 加载图像

im = imread('lena512.bmp');

im = double(im)/256 ;

sig = std(im(:));

sigma = sig / rho;

% Contourlet 变换

% 分解

y = pdfbdec(im, pfilt, dfilt, nlevs);

[c, s] = pdfb2vec(y);

nvar = pdfb_nest(size(im,1), size(im, 2), pfilt, dfilt, nlevs); %nstd = pdfb_nest(nrows, ncols, pfilt, dfilt, nlevs)

cth = th * sigma * sqrt(nvar);

% 系数处理

c = c .* (abs(c) cth);

% 重构

y = vec2pdfb(c, s);

cim = pdfbrec(y, pfilt, dfilt);

%显示图像

range = [0, 1];

colormap(gray);

subplot(1,1,1),imagesc(cim(41:168, 181:308), range); axis image off

colormap(gray);

set(gca, 'FontSize', 8);

title('Contourlets decomposition', 'FontSize', 10)

关于contourlet变换代码和Contourlet的介绍到此就结束了,不知道你从中找到你需要的信息了吗 ?如果你还想了解更多这方面的信息,记得收藏关注本站。

版权说明:如非注明,本站文章均为 AH站长 原创,转载请注明出处和附带本文链接;

本文地址:http://ahzz.com.cn/post/26484.html


取消回复欢迎 发表评论:

分享到

温馨提示

下载成功了么?或者链接失效了?

联系我们反馈

立即下载