• 大小: 0.02M
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2021-03-26
  • 语言: Matlab
  • 标签: matlab  

资源简介


说明:该函数的作用是对输入图像做金字塔分解。            level为指定分解图像的层次

资源截图

代码片段和文件信息

function dec_gaussian
%?%?This?function?is?used?to?process?gaussian?decomposion?of?input?image.?%?%?editor?:?denghaibo?
%?%?date???:?2009-4-8?
%?%?DEFINITION?OF?VARIABLES:?%?%?????VARIABLE???????MEANING?%?%?????level?????????decompose?level??%?%?????img???????????input?image?
%?%?????G_LOWER???????extracted?image?
%?%?????DECIM?????????convolved?image?
%?%?????GDEC_level????save?the?decomposed?image?in?each?level?%?%?????GDEC_level?is?a?3-D?matrix?%?%?????size(GDEC_level)=[rowcollevel];??
level=5;%?%?definition?of?decomposition?level??
img=rgb2gray(imread(‘lena.jpg‘));
G0=double(img);%?%?modify?data?class?
%?%?G0?is?the?0th?decomposition?level?
[rowcol]=size(G0);
plate=[14641;41624164;62436246;41624164;14641];
W=plate/256;%?%?definition?of?the?core??
G_LOWER=G0;
GDEC=zeros(rowcollevel);%?%?save?the?Gaussian?decomposition?image??
GDEC=GDEC-1;%?%?the?reason?to?subtract?1?is?used?to?judge?the?edge?of?the?extracted?image;???
for flag=1:level
    G

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件      19181  2015-12-09 14:36  lena.jpg

     文件       1378  2015-12-23 15:22  dec_gaussian.m

----------- ---------  ---------- -----  ----

                20559                    2


评论

共有 条评论