• 大小: 75KB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2021-06-13
  • 语言: C/C++
  • 标签: 图像锐化  ccs  

资源简介

ccs的图像锐化工程 添加到ccs中可直接使用 c语言编程

资源截图

代码片段和文件信息


#define IMAGEWIDTH 80
#define IMAGEHEIGHT 80
#define MODEGRAYBAR 0
#define MODEGRAY 1
#define MODEPHOTO1 2
#define MODEPHOTO2 3
#define MODEPHOTO3 4
#define MODEPHOTO4 5

void InitImage(unsigned int nModeunsigned char *pImageint nWidthint nHeight);

unsigned char dbImage[IMAGEWIDTH*IMAGEHEIGHT];
unsigned char dbTargetImage[IMAGEWIDTH*IMAGEHEIGHT];

/* 直方图统计实验程序 */
int main()
{
InitImage(MODEGRAYBARdbImageIMAGEWIDTHIMAGEHEIGHT);
Laplace(IMAGEWIDTHIMAGEHEIGHT);

InitImage(MODEGRAYdbImageIMAGEWIDTHIMAGEHEIGHT); //BreakPoint
Laplace(IMAGEWIDTHIMAGEHEIGHT);

InitImage(MODEPHOTO1dbImageIMAGEWIDTHIMAGEHEIGHT); //BreakPoint
Laplace(IMAGEWIDTHIMAGEHEIGHT);

InitImage(MODEPHOTO2dbImageIMAGEWIDTHIMAGEHEIGHT); //BreakPoint
Laplace(IMAGEWIDTHIMAGEHEIGHT);

InitImage(MODEPHOTO3dbImageIMAGEWIDTHIMAGEHEIGHT); //BreakPoint
Laplace(IMAGEWIDTHIMAGEHEIGHT);

InitImage(MODEPHOTO4dbImageIMAGEWIDTHIMAGEHEIGHT); //BreakPoint
Laplace(IMAGEWIDTHIMAGEHEIGHT);

while (1); //BreakPoint
}


 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2011-05-21 14:01  Lab0803-Sharp\
     文件        7480  2006-03-31 09:55  Lab0803-Sharp\1.bmp
     文件        7480  2006-03-31 09:55  Lab0803-Sharp\2.bmp
     文件        7480  2006-03-31 09:55  Lab0803-Sharp\3.bmp
     文件         676  2011-05-21 13:57  Lab0803-Sharp\cc_build_Debug.log
     目录           0  2011-05-21 14:01  Lab0803-Sharp\Debug\
     文件         537  2011-05-21 13:57  Lab0803-Sharp\Debug.lkf
     文件         414  2006-03-31 09:55  Lab0803-Sharp\Debug.lkv
     文件       17191  2011-05-21 13:57  Lab0803-Sharp\Debug\Histogram.map
     文件      115451  2011-05-21 13:57  Lab0803-Sharp\Debug\Histogram.out
     文件        4305  2011-05-21 13:57  Lab0803-Sharp\Debug\Image.obj
     文件       13272  2011-05-21 13:57  Lab0803-Sharp\Debug\InitImage.obj
     文件        7614  2011-05-21 13:57  Lab0803-Sharp\Debug\Laplace.obj
     文件        3264  2006-03-31 09:55  Lab0803-Sharp\Debug\sobel.obj
     文件        7480  2006-03-31 09:55  Lab0803-Sharp\DSP.BMP
     文件         171  2006-03-31 09:55  Lab0803-Sharp\func.h
     文件        1079  2006-03-31 09:55  Lab0803-Sharp\Image.c
     目录           0  2011-05-21 14:01  Lab0803-Sharp\Image.CS_\
     文件        3072  2011-05-21 13:57  Lab0803-Sharp\Image.CS_\FILE.CDX
     文件         314  2011-05-21 13:57  Lab0803-Sharp\Image.CS_\FILE.DBF
     文件         613  2011-05-21 13:57  Lab0803-Sharp\Image.CS_\FILE.FPT
     文件       13312  2011-05-21 13:57  Lab0803-Sharp\Image.CS_\SYMBOL.CDX
     文件        3181  2011-05-21 13:57  Lab0803-Sharp\Image.CS_\SYMBOL.DBF
     文件        4170  2011-05-21 13:57  Lab0803-Sharp\Image.CS_\SYMBOL.FPT
     文件        1609  2006-03-31 09:55  Lab0803-Sharp\Image.paf
     文件        1679  2011-05-21 13:57  Lab0803-Sharp\Image.paf2
     文件         957  2011-05-18 23:25  Lab0803-Sharp\Image.pjt
     文件        1649  2011-05-21 13:57  Lab0803-Sharp\Image.sbl
     文件        2658  2006-03-31 09:55  Lab0803-Sharp\InitImage.c
     文件        1168  2006-03-31 09:55  Lab0803-Sharp\Laplace.c
     文件          65  2006-03-31 09:55  Lab0803-Sharp\myapp.h
............此处省略2个文件信息

评论

共有 条评论