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

CCS进行图像处理

于 2023-02-23 发布 文件大小:48.08 kB
0 174
下载积分: 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 个回复

  • OrbitDynamics
    这是我在CSDN上找到的比较好的一个关于卫星轨道动力学的一个源码包,简单易懂,用c++写的,作者是韩冬,向他致敬! 非常好用的程序,学习卫星轨道动力学(This is I find in good CSDN about the dynamics of the satellite s orbit a source packages, easy to understand and use c++ written, the writer is HanDong, paid tribute to him! The program is very nice, learning satellite orbit dynamics)
    2020-12-12 11:09:16下载
    积分:1
  • ADC-3m
    ADC 动态测试 matlab程序 SNR ENOB 还有数据文件(ADC test matlab)
    2012-01-25 07:30:52下载
    积分:1
  • lsm6dsm
    ST的六轴传感器源码是ACC+GYO。此代码已经移植到MTK平台上使用MTK平台是MT2523(ST of six axis sensor source is ACC + GYO.This code has been ported to the MTK platform is MT2523 use MTK platform)
    2017-10-16 14:44:02下载
    积分:1
  • 51黑论坛_s型加减速
    此为S型曲线拟合的步进电机加减速程序,51MCU,keil平台。不是我写的。哈哈(This program is S curve fitting of the step motor add and subtract program. Need 51MCU and KEIL platforms)
    2020-12-31 10:08:59下载
    积分:1
  • 一个简单的MS
    一个简单的MS-AGENT的程序,简单的事例,希望可以抛砖引玉-a simple MS-agent process, the simple stories, hoping to attract
    2023-02-02 13:30:03下载
    积分:1
  • REMOTE
    PIC16F877A+LFN红外接送头+8位led,超简单的原理做红外实验,保证看了就懂,自主研发的哦!不用在看复杂的原理了(PIC16F877A+ LFN head+ 8 bits infrared shuttle led, the principle of infrared super easy to do the experiment, ensure that saw you ll understand, independent research and development! Don t look at the complex principle)
    2012-02-07 17:52:21下载
    积分:1
  • emwin超大界面显示方法
    基于STemWin完成花型显示工作,由于花型界面要求比较大,故采用类似网页界面设计风格实线emwin超大界面显示任务,上传此文档供学习交流
    2022-03-23 10:50:16下载
    积分:1
  • testout-Software-call-matlab
    软件-调用matlab,通过vc++软件编程软件-调用matlab。(Software- call matlab)
    2013-04-03 10:09:29下载
    积分:1
  • jisuanchurudu
    数据结构,c语言 计算数组的出度和入度。(Data structures, arrays calculate the degree and in-degree.)
    2016-05-16 17:22:30下载
    积分:1
  • MFC resource.h 去掉重复资源号
    用MFC 编程时,添加新的控件时,经常会出现资源号重复的现象,一个一个的改非常麻烦,此程序可以自动讲资源号重新编排,去掉重复,只需将resource.h拷贝到bebug中运行即可,VC6.0
    2022-07-01 10:18:17下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载