登录
首页 » c » CCS进行图像处理

CCS进行图像处理

于 2023-02-23 发布 文件大小:48.08 kB
0 143
下载积分: 2 下载次数: 1

代码说明:

利用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

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • SDOpenGL
    利用openGl实现VC中二维界面与三位界面之间的转换,即可以再二维界面上画图,也可以在三维界面上画图。(Using OpenGL to acheive the function in VC of conversation between 2-dimension interface and 3-dimension-interface.)
    2012-04-23 10:10:51下载
    积分:1
  • TexasHoldemPoker
    c++ Texas holdem poker source code
    2014-01-01 09:26:28下载
    积分:1
  • EEPROM
    STC12C5A60S2单片机的EEPROM实验,它可以实现掉电数据不丢失(STC12C5A60S2 microcontroller EEPROM experiment, it can achieve the power-down data is not lost)
    2014-04-03 20:11:24下载
    积分:1
  • MSP430f149pwm
    说明:  180度舵机和360度舵机控制: 0.5ms-2.5ms 1ms-2ms(180 degree steering gear and 360 degree steering gear control: 0.5ms-2.5ms 1ms-2ms)
    2021-03-08 16:09:28下载
    积分:1
  • ldp代码包协议包处理
    针对ldp协议动态分配标签,协议包的处理,通过hello报文,发送请求和响应进行处理,查找路由方式近视分发标签方式
    2022-11-01 11:55:03下载
    积分:1
  • The-sum-of-Multinomial
    数据结构中的一元多项式相加,多于考研算法实现很重要。后续部分将在后期上传!(The sum of Multinomial)
    2011-05-09 15:47:30下载
    积分:1
  • The_oscilloscope_GUI
    简易数字示波器MATLAB实现,我自己写的,非常简陋,练习程序,还望见谅(Simple digital oscilloscope MATLAB implementation, I wrote it myself, very simple, exercise procedures, but also look forward to forgive me.)
    2018-10-22 22:04:46下载
    积分:1
  • 16路计数器stc89C52rc程序
    记录从IO口的脉冲数,并通过485芯片传递出去。本例主要是验证单片机485通讯
    2022-02-06 23:38:00下载
    积分:1
  • main
    本程序描述了有导师学习神经网络回归拟合的一般方法,简单易懂(This procedure describes the teacher learning neural network and the method of regression fitting, easy to understand)
    2014-11-06 15:31:46下载
    积分:1
  • AllTime_EA_v3.2
    说明:  这款EA本身准确率高,并且操作手法很科学,包含海龟交易,布林线等八种交易策略。(This EA has high accuracy and scientific operation, including eight trading strategies, such as Turtle trading and Brin Line.)
    2020-06-24 05:00:01下载
    积分:1
  • 696516资源总数
  • 106658会员总数
  • 16今日下载