91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 1KB
    文件類型: .m
    金幣: 1
    下載: 0 次
    發布日期: 2021-01-10
  • 語言: Matlab
  • 標簽: 小波熵??

資源簡介

基于小波分析的小波熵源代碼 用于圖像處理及特征識別

資源截圖

代碼片段和文件信息



n?=?128;
n0?=?[];
name?=?‘lena‘;
if?strcmp(name?‘polygons_blurred‘)
????n0?=?n;
end
M?=?load_image(name?n0);
M?=?rescale(?crop(Mn)?);


options.w?=?8;?%?size?of?the?square
options.T?=?10/256;?%?threshold?for?lagrangian?computation
options.n?=?n;
options.geometry_weight?=?0;?%?price?to?pay?for?the?geometry

%?set?to?0?or?1
options.ti?=?1;

options.use_dct?=?1;?%?to?take?care?of?regular?squares
if?options.ti==1
????options.use_dct?=?0;
end

%%?compute?the?best?geometry?in?each?square
[GL]?=?compute_geometry(?M?options?);


clf;
plot_geometry(G?M?options);


%%?perform?the?transform
options.Jhaar?=?log2(options.w^2);??%?number?of?scale?for?the?bandletization
options.dir?=?1;?%?fwd?transform

評論

共有 條評論