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

  • 大小: 2KB
    文件類型: .m
    金幣: 1
    下載: 0 次
    發(fā)布日期: 2021-05-23
  • 語(yǔ)言: Matlab
  • 標(biāo)簽: 無(wú)損壓縮??

資源簡(jiǎn)介

還可以,自己寫的關(guān)于霍夫曼編碼的MATLAB程序設(shè)計(jì)

資源截圖

代碼片段和文件信息

clear
f0=imread(‘football.jpg‘);
subplot(121)
imshow(uint8(f0));
xlabel(‘\fontsize{16}原始圖像‘);

f=abs(f0/4)-10;
[MN]=size(f);

p=zeros(161);

for?t=1:61
count=0;
for?i=1:M
for?j=1:N
if?f(ij)==t-1
count=count+1;
end
end
end
p(t)=count;p0=p;
end

core=cell(611);
sign=zeros(61);

for?hh=1:60
re=M*N;
for?t=1:61
if?(p(t)0)
re=p(t);
end
end
t=1;
while?(p(t)~=re)&(t<61)
t=t+1;
end
if?sign(t1)==0
core{t}=‘0‘;
else
core{t}=[‘0‘core{t}];
i=1;
while?(sign(ti)~=0)&(i<61)
core{sign(ti)}=[‘0‘core{sign(ti)}];
i=i+1;
end
end
p(t)=0;
cou=t;

re1=M*N;
for?t=1:61
if?(p(t)0)
re1=p(t);
end
end
t=1;
while?(p(t)~=re1)&(t<61)
t=t+1;
end
if?sign(t1)==0
core{t}=‘1‘;
else
core{t}=[‘1‘core{t}];
i=1;
while?(sign(ti)~=0)&(i<61)
core{sign(ti)}=[‘1‘core{sign(ti)}];
i=

評(píng)論

共有 條評(píng)論