Location:
Search - void*
Search list
Description: // Canny算子
void Canny(LPBYTE pGray, SIZE sz, double sigma, double dRatLow,
double dRatHigh, LPBYTE pResult)
{
//经过高斯滤波后的图像
LPBYTE pGaussSmooth
pGaussSmooth = new unsigned char[sz.cx*sz.cy]
//x方向导数的指针
int *pGradX
pGradX = new int[sz.cx*sz.cy]
//y方向
int *pGradY
pGradY = new int[sz.cx*sz.cy]
//梯度的幅度
int *pGradMag
pGradMag = new int[sz.cx*sz.cy]
//对原图高斯滤波
GaussianSmooth(sz,pGray,pGaussSmooth,sigma)
//计算方向导数和梯度的幅度
Grad(sz,pGaussSmooth,pGradX,pGradY,pGradMag)
//应用非最大抑制
NonmaxSuppress(pGradMag,pGradX,pGradY,sz,pResult)
//应用Hysteresis,找到所有边界
Hysteresis(pGradMag,sz,dRatLow,dRatHigh,pResult)
delete[] pGradX
pGradX = NULL
delete[] pGradY
pGradY = NULL
-//Canny operator void Canny (LPBYTE pGray. SIZE sz, double sigma, double dRatLow. double dRatHigh. LPBYTE pResult) (//after Gaussian filtering of images LPBYTE pGaussS mooth unsigned pGaussSmooth = new char [sz.cx* sz.cy]// x direction derivative indicators pGradX pGradX int* = new int [ sz.cx* sz.cy]// int* y direction pGradY pGradY = new int [sz.cx* sz.cy]// gradient magnitude int* pGradMag pGradMag = new int [sz.cx* sz.cy]// maximum Gaussian filter to GaussianSmo oth (sz, pGray, pGaussSmooth. sigma)// calculate derivative and the gradient range Grad (sz. pGaussSmooth, pGradX, pGradY. pGradMag)// non-application of the biggest inhibition NonmaxSuppress (pGradMa g, pGradX, pGradY, sz, pResult)// Application Hysteresis, find all border Hysteresis (pGradMag, sz, dRa
Platform: |
Size: 54272 |
Author: 王学金 |
Hits:
Description: void __irq Uart0_TxInt(void)
void __irq Uart0_RxIntOrErr(void)
void __irq Uart0_TxDmaDone(void)
void __irq Uart0_R xDmaOrErr(void)
void __irq Uart0_TxFifo(void)
void __irq Uart0_RxFifoOrErr(void)
void __irq Uart0_AfcTx(void)
void __irq Uart0_AfcRxOrErr(void)
void __sub_Uart0_RxInt(void)
void __sub_Uart0_RxFifo(void)
void __sub_Uart0_RxAfc(void)
void __sub_Uart0_RxErrInt(void)
volatile U16 rx_dncs
volatile U32 rx_point,rx_isdone,rx_filesize,rx_checksum
volatile U32 isDone,isTxInt,isRxInt,tx_cnt,tx_end,rx_cnt,rx_end,afc_err
volatile U8 *txdataPt
volatile U8 *txdataFl
volatile U8 *rxdataPt
volatile U8 *rxdataCk -void __irq Uart0_TxInt (void) void __irq Uart0_RxIntOrErr (void) void __irq Uart0_TxDmaDone (void) void __irq Uart0_R xDmaOrErr (void) void __irq Uart0_TxFifo (void) void __irq Uart0_RxFifoOrErr (void) void __irq Uart0_AfcTx (void) void __irq Uart0_AfcRxOrErr (void) void __sub_Uart0_RxInt (void) void __sub_Uart0_RxFifo (void) void __sub_Uart0_RxAfc (void) void __sub_Uart0_RxErrInt (void) volatile U16 rx_dncs volatile U32 rx_point, rx_isdone, rx_filesize, rx_checksum volatile U32 isDone, isTxInt, isRxInt, tx_cnt, tx_end, rx_cnt, rx_end, afc_err volatile U8* txdataPt volatile U8* txdataFl volatile U8* rxdataPt volatile U8* rxdataCk
Platform: |
Size: 164864 |
Author: wangdepeng |
Hits:
Description: 很多时候我们对VOID很不了解,这篇文章详细描述了VOID的功能。-VOID we often do not understand it, this article described in detail the function of VOID.
Platform: |
Size: 7168 |
Author: 123 |
Hits:
Description: 对void关键字的深刻含义进行解说,,并详述void及void指针类型的使用方法与技巧。-Explain the profound meaning of keyword void.
Platform: |
Size: 8192 |
Author: jevond |
Hits:
Description: protected void Button1_Click
Platform: |
Size: 1024 |
Author: 王建 |
Hits:
Description: C语言void及void指针深层探索,详细地介绍了void型指针的用法。-C language pointer void and the void of deep exploration, a detailed description of the usage of void type pointer.
Platform: |
Size: 3072 |
Author: aohaijun |
Hits:
Description: In the java program, the usage of void methods
Platform: |
Size: 1024 |
Author: 黄翔 |
Hits:
Description: Void file is a void file which contains void void void void
Platform: |
Size: 1024 |
Author: him1 |
Hits:
Description: int main (void)
{
PINSEL0 = (0x00000005)|(0x03<<18) //P0.0 P0.1用作UART
PINSEL1 = 0x00000000 //其余为GPIO
ReadModuleP() // 读参数
SetNetPort()
InitializeInterrupt()
InitNic(0) //RTL8019芯片初始化,在global.c中定义
//WDTC =27662592 //2s
//WDMOD =0X03
printf("Start OK!\n")
while(1)
{
if(WorkMode==CLIENTHOST) //TCP客户端
ClientHostProcess()
if(WorkMode==SERVERHOST) //tcp 服务器
ServerHostProcess()
if(WorkMode==UDPHOST) //UDP 模式
UDPHostProcess()
}
return 0
}
- int main (void)
{
PINSEL0 = (0x00000005)|(0x03<<18) //P0.0 P0.1用作UART
PINSEL1 = 0x00000000 //其余为GPIO
ReadModuleP() // 读参数
SetNetPort()
InitializeInterrupt()
InitNic(0) //RTL8019芯片初始化,在global.c中定义
//WDTC =27662592 //2s
//WDMOD =0X03
printf("Start OK!\n")
while(1)
{
if(WorkMode==CLIENTHOST) //TCP客户端
ClientHostProcess()
if(WorkMode==SERVERHOST) //tcp 服务器
ServerHostProcess()
if(WorkMode==UDPHOST) //UDP 模式
UDPHostProcess()
}
return 0
}
Platform: |
Size: 692224 |
Author: 程教育 |
Hits:
Description: Resize
圖像大小變換
void cvResize( const CvArr* src, CvArr* dst, int interpolation=CV_INTER_LINEAR )
src
輸入圖像.
dst
輸出圖像.
interpolation
插值方法:
* CV_INTER_NN - 最近鄰插值,
* CV_INTER_LINEAR - 雙線性插值 (預設使用)
* CV_INTER_AREA - 使用象素關係重採樣。當圖像縮小時候,該方法可以避免波紋出現。當圖像放大時,類似於 CV_INTER_NN 方法..
* CV_INTER_CUBIC - 立方插值.
函數 cvResize 將圖像 src 改變尺寸得到與 dst 同樣大小。若設定 ROI,函數將按常規支持 ROI. -Resize the image size conversion void cvResize (const CvArr* src, CvArr* dst, int interpolation = CV_INTER_LINEAR) src input image. Dst output image. Interpolation interpolation method:* CV_INTER_NN- nearest neighbor interpolation,* CV_INTER_LINEAR- bilinear interpolation (default use)* CV_INTER_AREA- resampling using pixel relationship. The time when the image reduction, the method avoids ripple appears. When the image is zoomed in, like CV_INTER_NN method ..* CV_INTER_CUBIC- cubic interpolation. Function cvResize change the size of the image src and dst are the same size. If the setting ROI, will be general support functions ROI.
Platform: |
Size: 1024 |
Author: 張天彥 |
Hits:
Description: void timer embedded syatem
Platform: |
Size: 8192 |
Author: prathmesh |
Hits:
Description: C++中关于void指针的深层次探讨,详述讲解了void指针类型的使用方法与技巧。-C++ on the depth of void pointers, detailing the type of void and void pointers to use methods and techniques
Platform: |
Size: 3072 |
Author: fpga |
Hits:
Description: void and void pointer.pdf
Platform: |
Size: 179200 |
Author: Aaron |
Hits:
Description: 抗遗忘记忆软件科学计算遗忘时间防止遗忘信息-void forget
Platform: |
Size: 194560 |
Author: DosRyan |
Hits:
Description: void timer embedded syatem
Platform: |
Size: 9216 |
Author: sistheg |
Hits:
Description: 许多初学者对C/C++诧言中的void及void指针类型丌甚理解,因此在使用上出现了一些错诨。本文将对void关键字的深刻含义迚行解说,并详述void及void指针类型的使用方法不技巧。-Many beginners C/C++ surprised made the void and void pointer type Ji very understanding, so there have been some mistake in the use of the nickname. Profound meaning 迚 line commentary article will void keyword and detailed void and void pointer type to use is not skill.
Platform: |
Size: 223232 |
Author: 帅农民 |
Hits:
Description: Placeholder class for the Java keyword void.
Platform: |
Size: 1024 |
Author: paosunvin |
Hits:
Description: 深入理解C/C++语言void和void指针类型。详细描述其功能及使用方法。-Depth understanding of C/C++ language void and void pointer type. Its function and use described in detail.
Platform: |
Size: 179200 |
Author: 昊天 |
Hits:
Description: 一个空文件,不包含任何功能,txt格式。-its a void program.
Platform: |
Size: 38912 |
Author: wang |
Hits:
Description: STM32F103C8T6自编简单中断程序,以及中断优先级,每行代码都有中文注释,十分好理解-void EXTI_Configuration(void)
{
EXTI_InitTypeDef EXTI_InitStructure
EXTI_ClearITPendingBit(EXTI_Line8)
GPIO_EXTILineConfig(GPIO_PortSourceGPIOB, GPIO_PinSource8)
EXTI_InitStructure.EXTI_Line EXTI_Line8
EXTI_InitStructure.EXTI_Mode EXTI_Mode_Interrupt
EXTI_InitStructure.EXTI_Trigger EXTI_Trigger_Falling
EXTI_InitStructure.EXTI_LineCmd ENABLE
EXTI_Init(&EXTI_InitStructure)
}
Platform: |
Size: 1923072 |
Author: owlcity |
Hits:
« 12
3
4
5
6
7
8
9
10
...
50
»