资源简介

matlab图像处理实例详解(杨丹)源代码

资源截图

代码片段和文件信息

function s=binCode(a)
%求任意整数的二进制码
if a>=0
    s=dec2bin(a);
else
%求a的反码,返回“01”字符串,按位取反
    s=dec2bin(abs(a));
    for t=1:numel(s)
        if s(t)==‘0‘
            s(t)=‘1‘;
        else s(t)=‘0‘;
        end
    end
end

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2013-08-11 20:07  matlabtuxiangchuli\
     目录           0  2013-08-11 20:07  matlabtuxiangchuli\chap10\
     文件        6642  2006-05-29 21:42  matlabtuxiangchuli\chap10\AC_Huff.txt
     文件        3446  2012-11-28 00:46  matlabtuxiangchuli\chap10\Code_Huffman.m
     文件         217  2012-11-28 00:42  matlabtuxiangchuli\chap10\DCT1D.m
     文件         261  2012-11-28 00:41  matlabtuxiangchuli\chap10\DCT2D.m
     文件         506  2012-11-28 00:40  matlabtuxiangchuli\chap10\DCT_Measure.m
     文件         516  2012-11-28 00:45  matlabtuxiangchuli\chap10\FFT1D.m
     文件      277898  2012-11-28 00:59  matlabtuxiangchuli\chap10\JPGCode.txt
     文件         358  2012-11-28 00:45  matlabtuxiangchuli\chap10\SortOE.m
     文件         330  2012-11-28 00:19  matlabtuxiangchuli\chap10\Yucebianma.m
     文件         372  2012-11-28 00:19  matlabtuxiangchuli\chap10\Yucejiema.m
     文件         262  2012-11-28 00:47  matlabtuxiangchuli\chap10\binCode.m
     文件        1304  2012-11-28 01:59  matlabtuxiangchuli\chap10\chap10_10.m
     文件        1610  2012-11-24 21:20  matlabtuxiangchuli\chap10\chap10_2.m
     文件        2511  2012-11-26 22:02  matlabtuxiangchuli\chap10\chap10_3.m
     文件        1031  2012-11-24 21:46  matlabtuxiangchuli\chap10\chap10_5.m
     文件        1468  2012-11-26 23:33  matlabtuxiangchuli\chap10\chap10_7.m
     文件        1498  2012-11-27 22:03  matlabtuxiangchuli\chap10\chap10_8.m
     文件        1347  2012-11-28 01:56  matlabtuxiangchuli\chap10\chap10_9.m
     文件        6190  2006-05-05 14:00  matlabtuxiangchuli\chap10\eye.bmp
     文件      263222  2012-10-30 12:16  matlabtuxiangchuli\chap10\lena.bmp
     目录           0  2013-08-11 20:07  matlabtuxiangchuli\chap11\
     文件        2230  2012-11-04 04:22  matlabtuxiangchuli\chap11\bound2im.m
     文件        5776  2012-11-04 04:00  matlabtuxiangchuli\chap11\boundaries.m
     文件       65240  2000-12-04 13:57  matlabtuxiangchuli\chap11\cameraman.tif
     文件        1856  2012-11-02 09:56  matlabtuxiangchuli\chap11\chap11_1.m
     文件        1097  2012-11-09 12:26  matlabtuxiangchuli\chap11\chap11_10.m
     文件         778  2012-11-09 12:32  matlabtuxiangchuli\chap11\chap11_11.m
     文件        1537  2012-11-05 17:34  matlabtuxiangchuli\chap11\chap11_12.m
     文件        1327  2012-11-09 12:52  matlabtuxiangchuli\chap11\chap11_13.m
............此处省略390个文件信息

评论

共有 条评论