• 大小: 0.06M
    文件类型: .rar
    金币: 2
    下载: 1 次
    发布日期: 2021-03-27
  • 语言: 其他
  • 标签: 其他  

资源简介


这个是基于DSP 55XX系列的,在我应用的5509上调试运行良好,可以实现图像的锐化。

资源截图

代码片段和文件信息


#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
Lapla

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件       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

     文件        637  2007-01-08 14:22  Lab0803-Sharp\cc_build_Debug.log

     文件      16631  2007-01-08 14:22  Lab0803-Sharp\Debug\Histogram.map

     文件     114754  2007-01-08 14:22  Lab0803-Sharp\Debug\Histogram.out

     文件       4080  2007-01-08 14:22  Lab0803-Sharp\Debug\Image.obj

     文件      12694  2007-01-08 14:22  Lab0803-Sharp\Debug\InitImage.obj

     文件       6873  2007-01-08 14:22  Lab0803-Sharp\Debug\Laplace.obj

     文件       3264  2006-03-31 09:55  Lab0803-Sharp\Debug\sobel.obj

     文件        441  2007-01-08 14:22  Lab0803-Sharp\Debug.lkf

     文件        414  2006-03-31 09:55  Lab0803-Sharp\Debug.lkv

     文件       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

     文件       3072  2007-01-08 14:22  Lab0803-Sharp\Image.CS_\FILE.CDX

     文件        314  2007-01-08 14:22  Lab0803-Sharp\Image.CS_\FILE.DBF

     文件        613  2007-01-08 14:22  Lab0803-Sharp\Image.CS_\FILE.FPT

     文件      13312  2007-01-08 14:22  Lab0803-Sharp\Image.CS_\SYMBOL.CDX

     文件       3181  2007-01-08 14:22  Lab0803-Sharp\Image.CS_\SYMBOL.DBF

     文件       4170  2007-01-08 14:22  Lab0803-Sharp\Image.CS_\SYMBOL.FPT

     文件       1609  2006-03-31 09:55  Lab0803-Sharp\Image.paf

     文件       1653  2007-01-08 14:23  Lab0803-Sharp\Image.paf2

     文件        918  2007-01-08 14:17  Lab0803-Sharp\Image.pjt

     文件       1649  2007-01-08 14:23  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

     文件      12578  2006-03-31 09:55  Lab0803-Sharp\sobel.wks

     文件        647  2006-03-31 09:55  Lab0803-Sharp\VC5509.CMD

............此处省略6个文件信息

评论

共有 条评论