-
CCS进行图像处理
利用ccs对图像进行处理,包括二2值化,反色,和上下颠倒。
/***********************************************************************
** Main Function Program
***********************************************************************/
#include "math.h" //也可以不要
#include "stdio.h"
#define IMAGE_WIDTH 64
#define IMAGE_HEIGTH 64
main()
{
FILE *fi;
int i,j,k;
int y[IMAGE_HEIGTH][IMAGE_WIDTH];
unsigned char id[64];
char m;
k=128; /*k is Threshold Value*/
// fi=fopen("D:TupianLena64.bmp","rb");
fi=fopen("C: imyprojectslab56DSP54X-28-TuxiangchuliTupianLena64.bmp","rb");
/* if(fi==NULL)
{
printf("can not open file Lena64.bmp.
");
exit(1);
&nbs
- 2023-02-23 16:40:03下载
- 积分:1
-
VirtualDesktopRelease
C#实现的虚拟桌面源代码,开源项目源码。(C# source code to achieve the virtual desktop, open source projects)
- 2011-12-24 23:26:14下载
- 积分:1
-
xbsf
小波算法。机械化的提高我们的效率。让我们减少错误率。大家要对她有性心。(Wavelet algorithm. Mechanization to improve our efficiency. Let us reduce the error rate. We have to have sex to her heart.)
- 2013-12-03 21:36:15下载
- 积分:1
-
用VC代码读取BMP文件并显示
用VC代码读取BMP文件并显示(VC code reader and BMP documents show)
- 2005-02-25 12:10:16下载
- 积分:1
-
窗帘
pcf8591AD转换芯片,51单片机控制28BYJ48步进电机(Pcf8591AD conversion chip, 51 single chip computer control 28BYJ48 stepper motor)
- 2020-06-17 12:20:02下载
- 积分:1
-
CRC16aCRCCCITT.c
CRC-16和CRC-CCITT的C程序实现,非常适用。(CRC-16 and CRC-CCITT program。)
- 2013-09-16 11:59:43下载
- 积分:1
-
PIC-DEAL-API
常用的画图API函数的具体使用方法,希望对画图感兴趣的人有所帮助(Commonly used drawing API the specific function to use, I hope to help people who are interested in drawing)
- 2012-01-13 08:23:10下载
- 积分:1
-
basicStruct
Sample use of scruct (C program)
- 2014-09-05 14:49:30下载
- 积分:1
-
matlab
说明: Matlab是科学计算与仿真中常用的工具软件,本文阐述Matlab编程中需要注意的问题!(Matlab is commonly used in scientific computing and simulation software tool, this paper, Matlab programming issues that need attention!)
- 2010-03-31 10:54:46下载
- 积分:1
-
数据库项目讲解
说明: 数据库项目的精确讲解,包括源程序和笔记,讲解了关于数据库项目的主要内容(Precise explanation of database project, including source program and notes)
- 2020-05-15 15:07:42下载
- 积分:1