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

📄 block8.m

📁 将一幅多媒体图像根据各个块的不同特性蔡用不同的编码方式
💻 M
字号:
function block8(oiv88)
global cell_count bit_count total_cell point oiv
%point=cell_count; %total_cell(point+1)=1;%total_cell(point+1)=ovic16(1);
     ovic88=reshape(oiv88,1,64);           
     cu=val_num(ovic88);
 if cu==1
     flag=0; bit_count=bit_count+3+8;total_cell(point+1)=1;
    total_cell(point+2)=0;
     total_cell(point+3)=ovic88(1);               
     cell_count=cell_count+3;point=point+3;
     return
  elseif cu==2
      flag=1;bit_count=bit_count+3;total_cell(point+1)=1;
      total_cell(point+2)=1;point=point+2;
      youcheng(ovic88);
      cell_count=cell_count+2;
      return
 elseif cu==4
      flag=2; bit_count=bit_count+3;total_cell(point+1)=1;
      total_cell(point+2)=2;point=point+2;
      %value8(ovic88);%要修改这里,07/05/24 glotia
     youcheng(ovic88);
      cell_count=cell_count+2;  
      return
 else
       flag=3;bit_count=bit_count+3;
       
     
       for mmm=1:2
           for nnn=1:2
            total_cell(point+1)=1;total_cell(point+2)=3;point=point+2;
              oivc44=oiv88((4*mmm-3):4*mmm,(4*nnn-3):4*nnn);
                   block4(oivc44);
           end
       end
         
         
 end
             
                     
                          
                    
             
                            
                            
                            
                               
                           
                     
                          
                      

⌨️ 快捷键说明

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