登录
首页 » c » VC图像边缘检测源代码

VC图像边缘检测源代码

于 2023-06-23 发布 文件大小:971.89 kB
0 122
下载积分: 2 下载次数: 1

代码说明:

纯c语言,Function: read_ppm_image * Purpose: This function reads in an image in PPM format. The image can be * read in from either a file or from standard input. The image is only read * from standard input when infilename = NULL. Because the PPM format includes * the number of columns and the number of rows in the image, these are read * from the file. Memory to store the image is allocated in this function. * All comments in the header are discarded in the process of reading the * image. Upon failure, this function returns 0, upon sucess it returns 1.

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

发表评论

0 个回复

  • example6_TIM
    本例展示了如何设置TIM,用它来测量一个外部输入信号的频率和占空比。 TIM2时钟设置为72MHz,预分频设置为0,TIM2计数器时钟可表达为: TIM2 counter clock = TIMxCLK / (Prescaler +1) = 72 MHz,因此可测量的最小频率值为1100Hz。 设置TIM2工作在PWM输入模式(PWM Input Mode),把外部信号作为输入连接到TIM2通道2。 利用TIM2计数器中断来测量信号的频率和占空比。在TIM2_IRQHandler中,计算信号的频率和占空比,方法如下: 变量"Frequency"为由下式得到的外部信号频率: Frequency = TIM2 counter clock / TIM2_CCR2 单位Hz 变量"Duty_Cycle"为由下式得到的外部信号占空比: Duty_Cycle = (TIM2_CCR1*100)/(TIM2_CCR2) 单位 (This example shows how to set up the TIM, and use it to measure the frequency and duty cycle of an external input signal. TIM2 clock set to 72MHz and the prescaler is set to 0, TIM2 is counter clock can be expressed as: TIM2 is counter clock = TIMxCLK/(prescaler. Ppls1) = 72 MHz, the minimum measurable frequency value of 1100 Hz. Set TIM2 PWM input mode (PWM Input Mode), the external signal as an input connected to the the TIM2 Channel 2. TIM2 counter interrupt signal to measure frequency and duty cycle. Calculate the frequency and duty cycle of the signal in TIM2_IRQHandler as follows: variable " Frequency" on the grounds of the external signal frequency by the following formula: Frequency = TIM2 is counter clock/TIM2_CCR2 unit Hz variable Duty_Cycle " on the grounds of the following formula to get external duty cycle: Duty_Cycle = (TIM2_CCR1* 100)/(TIM2_CCR2) in )
    2012-05-18 18:28:47下载
    积分:1
  • des
    des经典加密算法,实现数据交互过程中的保密(des classical encryption algorithm, data confidentiality during the interaction)
    2013-12-19 18:38:55下载
    积分:1
  • kejian
    Visual C,很不错的一本书,对想学C加加的人有一定的帮助(Visual C++, very good book on the people who want to learn C there is some help)
    2010-12-02 21:22:38下载
    积分:1
  • binary-search
    此代码为折半查找算法,适用于有序表,欢迎各位下载(This code is the binary search algorithm for ordered lists )
    2011-07-06 15:50:17下载
    积分:1
  • Delphi direct X图形与游戏程序设计.pdf,带标签目录版
    Delphi direct X图形与游戏程序设计.pdf,带标签目录版-Delphi direct X graphics and game programming. Pdf, tagged version directory
    2022-03-23 19:31:47下载
    积分:1
  • 基于51单片机的温度火灾烟雾报警器
    说明:  温度烟雾防灾系统,51单片机作为控制器,有DS18B20,MQ-2(Temperature smoke disaster prevention, 51 single chip microcomputer)
    2020-08-25 11:05:27下载
    积分:1
  • 本软件是一款用C#编写的打字软件 简单易懂 相信我 没错的
    本软件是一款用C#编写的打字软件 简单易懂 相信我 没错的-The software used is a C# Prepared typing software easy-to-understand Believe me wrong
    2022-03-19 20:39:56下载
    积分:1
  • 仰邦LED控制卡Demo
    该程序是一个仰邦LED卡的Demo,主要是有连接控制卡、通过控制卡向LED发送文字、通过控制卡展示表格,注意该程序使用的是LedDynamicArea.dll动态链接库实现的,如果你有什么新的想法,可以在https://xian689.com沟通
    2020-02-25下载
    积分:1
  • MSP430F5529_ADS1292-v
    说明:  msp430 驱动ADS1292的程序,电子设计大赛程序(MSP430 driver ads1292 program, electronic design competition program)
    2020-10-05 22:57:38下载
    积分:1
  • XqbkEyyv
    matlab-M文件库 可用于学习Matlab 标准化编程(matlab m file)
    2009-03-01 16:52:27下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载