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

📄 block8.m

📁 将一幅多媒体图像根据各个块的不同特性蔡用不同的编码方式
💻 M
字号:
function block8(oiv88)
global cell_count bit_count total_cell
point=cell_count; total_cell(point+1)=uint8(1);%total_cell(point+1)=ovic16(1);
     ovic88=reshape(oiv88,1,64);           
     cu=val_num(ovic88);
 if cu==1
     flag='00'; bit_count=bit_count+3+8;
     point=point+1;total_cell(point)=uint8(00);
     total_cell(point+1)=ovic88(1);               
     cell_count=cell_count+3;
     return
  elseif cu==2
      flag='01';bit_count=bit_count+3;
      point=point+1;total_cell(point)=uint8(01);
      youcheng(ovic88);
      cell_count=cell_count+2  ;
      return
 elseif cu==4
      flag='10'; bit_count=bit_count+3;
      point=point+1;total_cell(point)=uint8(10);
      value8(ovic88);
      cell_count=cell_count+2;  
      return
 else
       flag='11';bit_count=bit_count+3;
       point=point+1;total_cell(point)=uint8(11);
     
       for m=1:2
           for n=1:2
              oivc44=oiv((4*m-3):4*m,(4*n-3):4*n);
                   block4(oivc44);
           end
       end
         
         
 end
             
                     
                          
                    
             
                            
                            
                            
                               
                           
                     
                          
                      

⌨️ 快捷键说明

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