-
cocos creator的2048游戏源码
cocos creator的2048游戏源码,适合初学者学习,需要下载cocos creator后安装然后根据提示安装完成后,打开这个项目就可以尝试运行。
- 2020-12-05下载
- 积分:1
-
JPDA 雷达目标跟踪算法源程序
JPDA 雷达目标跟踪算法matlab源程序,能实现两个匀速直线运动目标。感谢原作者,希望对大家有所帮助
- 2020-12-12下载
- 积分:1
-
基于MATLAB的车牌识别系统研究(课设参考文献)
以一幅汽车牌照的识别为例,具体介绍了车牌自动识别的原理。整个处理过程分为预处理、边缘提取、车牌定位、字符分割、字符识别五大模块,用MATLAB软件编程来实现每一个部分,最后识别出汽车牌照。在研究的同时对其中出现的问题进行了具体分析,处理。寻找出对于具体的汽车牌照识别过程的最好的方法。
- 2020-12-02下载
- 积分:1
-
一种采用Gabor小波的纹理特征提取方法
采用Gabor小波方法计算不同尺度和方向的能量信息,根据这些信息确定了显著峰集合。根据显著峰集合,确定了纹理特征向量,并且把显著性作为权重引入到相似性度量。72T0 XX XTo1994-2010ChinaAcademicJournalElectronicPublishingHouse.Allrightsreservedhttp://www.cnki.neto1994-2010ChinaAcademicJournalElectronicPublishingHouseAllrightsreservedhttp://www.cnki.net113.845230.8113.844230.78230.76113.843230.74温113842113.84123068230.66113.8400.64230.62方向(p=4)10向(p=4)436.8436.64364436温435.84358435.6435.443524310152025方向(p=3)方向(P=3)698ALa方向(P2)方向(p=2方向(p1)方向(P=1)350300制250方向(P=0)方向p=0)图5一幅颈椎间盘图像,及其在5个尺度下能量信息直方图图6一幅腰椎间盘图像,及其在5个尺度下能量信息直方图Fig 5 Energy histogram of cervical disc image at five scalesFig 6 Energy histogram of lumbar intervertebral disc at five scaleso1994-2010ChinaAcademicJournalElectronicPublishingHouse.alLrightsreservedhttp:/www.cnki.net171816161221212322122522201994-2010ChinaacademicjournalelectronicPublishingHouseAllrightsreservedhttp:www.cnkinet0.9直接 Gabor小波变换方法0.8改进 Gabor小波变换方法0.60.50.40.30.245678图像0.09直接 Gabor小波变换方法改进 Gabor小波变换方法0.07瞬回0.050.040.0I123456789图像图9针对第1组测试集的检索精度和召回率曲线Fig 9 Retrieval precision and recall for first test set0.9直接 Gabor小波变换方法改进 Gabor.小波变换方法0.70.60.40.30.20.1123456789图像0.09[-+直按 Gabor小波变换方法0.08一改进 Gabor小波变换方法0.070.060.050.040.03图10第2组测试集合0.02Fig 10 Second group of test set0.0123456789201994-2010ChinaacademicjournalelectronicPublishingHouseAllrightsreservedhttp:www.cnkinet201994-2010ChinaAcademicJournalElectronicPublishingHouse.Allrightsreservedhttp://www.cnki.net
- 2020-11-03下载
- 积分:1
-
labview中界面跳转
labview中界面跳转的实现方法。界面间的链接,就是运行主界面的按钮控件后,跳转到调用的子界面,然后点击子界面上的返回按钮,跳回主界面。
- 2021-05-06下载
- 积分:1
-
规则采样法产生spwm波
【实例简介】利用规则采样法产生spwm波,在STM32F103上进行了测试,并给出了仿真波形
- 2021-11-07 00:38:19下载
- 积分:1
-
STM32F103RCT6 最小的系统原理图
STM32F103RCT6原理图,最小系统开发板
- 2020-11-28下载
- 积分:1
-
内存乒乓缓存机制和消息分发机制的C代码实现
用C代码实现乒乓内存缓冲机制,具体实用价值,帮助您提高内存响应速度与及时数据的处理。unsigned long writeunsigned long greadunsigned long overflowST TWTMSG QUEUE:/ Helper macros for accessing Msg queues. *#define tWt QUEUE EMPty(a)(((g->write==(q)->gread)? 1: 0)#define twt_ QUeUe full(a)(((((q)->qwrite +1% TIMEWEIGHT TASKQUEUE SIZED)==(q)->gread)?1: 0)米 generate a Msg entity*正常返回消息体的指针,异常返回NULLT TWTMSG* generateMsg(tT-TWTMSG* pmSg=nULL,if(NULL =-(ptMsg malloc(sizeof(T TWTMSG)))return NULL;memset(ptMsg, 0, sizeof(T TWTMSG)return pmSg;destroy a Msgvoid destroy Msg(t TWTMSG ptMsgif(NULL ptMsg->pfDestroyMsg)pt Msg->pfDestroy Msg(ptMsg->pvMsg)if (NULL != pt Msg)free(pmSgfree a Msg Queuevoid freeTWTMsg Que(T TWTMSG QUEUE* ptMsgQif(NULL =ptMsg Afree(ptMsg Q);Init a Msg QT TWTMSG QUEUE* initTWTMsg QueoT TWTMSG QUEUE pmSg Q= NULlif (NULL ==(ptMsgQ malloc(sizeof(T_ TWTMSG QUeue)goto ErrRetmemset(ptMsgQ, 0, sizeof(T TWTMSG QUEUE))return pmSg Q;Errretprintf( initTWTMsg Que Fail! ")freeTWTMsgQue(ptMsg Q)return nullPop a pvMsg packet from a msg packet queues param g is the packet queue from which to pop the pbuf@return pointer to pvMsg packet if available, NULl otherwiseT TWTMSG* TWTMsg Get(T_ TWTMSG QUEUE aT TWTMSG*//*加锁if(TWT_ QUEUE_ EMPTY(a))iReturn a NUll pointer if the queue is emptypmSg=NULL;else is The queue is not empty so return the next frame from itand adjust the read pointer accordinglypmSg=g->pvMsglq >greadg->gread =((q->gread +1)% TIMEWEIGHT_TASKQUEUE_ SIZE)/*解锁return(pmSg);Push a pmSg packet onto a pvMsg packet queue@param p is the pmsg to push onto the packet queue@param g is the packet queue.W @return 0 if successful, -1 if q is fullnt TWTMsg Send(T tWTMSg*p, T TWTMSG QUEUE *qint ret/if(!TWT_ QUEUE FULL(al)iThe queue isn t full so we add the new frame at the currentw write position and move the write pointer.g->pvMsgla->write]=pg- >write =((q->qwrite+1)% TIMEWEIGHT TASKQUEUE SIZE;ret =oThe stack is full so we are throwing away this value. Keep trackof the number of times this happensg->overflow++ret =-1://*解锁return(ret)**米**米来米***来米*半米*米*半米*米求***半*米米求半**米求半**半求半和*米*//消息分发机制//*算法是//*正常返回0,出错返回-1水米米******水*米*水**米*半*水米米冰半**水水*水米米半米冰水*米水水*水*米水水extern int RecToFile MsgProc(T_ MSG_ REC2 FILE* ptMsg);int DispatchMsg(T TWTMSG *ptMsgitif(NULl = ptMsg goto ErrRet/*dispatch msg*/switch(ptMsg->en Msg Type)case TWT PINgPoNgBuff recRecTo File Msg Procl(TMSG_REC2FE) (pmSg->pMsg);/*处理消息*/destroy Msg( pmSg;/*消毁消息breakdefault.printf("Dispatch Msg Msgtype Error! n")break.return 0ErrRetprintf("Dispatch Msg Fail! ";return-1./*buff size*/#defineP| NGPONG_ BUFF BSIZE0X20000//10*1024*1024/*10M*/*ping pong buff*///chargacPINGBUFF[PINGPONG BUFF BSIZE]; /* Ping Buff*///chargacPONGBUFF[PINGPONG_ BUFF BSIZE] *Pong Buff*/水米米*********米*水**米*半*水米米水**冰水*水米米半半水半米冰水*米水水*水*米米//*释放 ping pong buff/必然成功//*无返回木***木*水****本**水*水水*水****本水**水水****水水***本***米*水void Destroy Ping Pong Butt(T PINGPONGBUFF USE DES ptPing Pong Butt)nLoopif (NULL = pt Ping pong buffreturnfor (nLoop=0; nLooptIng BuffUse[nLoop]. pcHeadAddr)free(ptPing Pong ->t Ping BuffUse[nLoop]. pcHeadAddr)free(pt Ping pong Buff)/初始化 ping pong buff返回 pign pong buff的描述指针//*正常返回0,出错返回-1水水水水水水水水水木水木水水水水水木水木水水水水水水水水本水水水水水水水水水本水水水水水水水水水水水水水T PINGPONGBUFF USE DES InitPing Pong Buff(unsigned int n BuffSizeT PINGPONGBUFF USE DES* ptBuffDes=NULLintnLoop/*获取buf描述*if NULL==(ptBuffDes=malloc(sizeof(T PINGPONGBUFF USE DES))))goto ErrRetmemset(pt BuffDes, 0, sizeof(T_PINGPONGBUFF USE_ DES));/*分别初始化ping和pong*/for(nLoop=0; nLooptIng BuffUsenLoop pcHeadAddr =malloc n BuffSize))goto Err Ret;ptBuffDes->tIng BuffUselnLoop] nBuffSize nBuffsizeptBuffDes->tPing BuffUse[nLoop]. oFfsetptBuffDes->tPing BuffUsenLoop) eUseStatus-=BUFF WRITEABLE;pt BuffDes->eCurUseIDBUFF PINGreturn pt BuffDesErrretprintf("lnitPing Pong Buff Fail!");DestroyIng Pong Buff(pt BuffDes)turn null平**米**米*米***来米米*米*米*半米*米米米来*半米平**米米求*来*半求半来*米求*和*米*/*Reset ping pong buff//*正常返回0,出错返回-1米米米米水冰米*米米水**米米冰*米水米米米米水米水*水米米来米米x米来米米水冰来来宋来水米来米来冰#define ResetBuffUse(ptBuffuse)pt BuffUse->oFfset0pt BuffUse->eUseStatus BUFF WRITEABLEgenerate a file rec msg*正常返回消息体的指针,异常返回NULLT_MSG_REC2lGK SenFRMSB(T_BUFF_USE_DES *ptBuffUse, REC_FILE_DESLIST *ptFileListRT MSG REC2FILE KE* ptRFMsg= NULL;if(NULL ==(ptRFMsg malloc(sizeof(T_ MSG REC2 FILE)return nUllptRFMsg- >pt BuffUse pt BuffUseptRFMsg->pt Filelist ptFilelist;return ptRFMsg
- 2020-12-03下载
- 积分:1
-
采用小波变换对信号进行时频分析的MATLAB程序
该文档为MATLAB程序,对时变信号采用小波变换实现时频分析,并详细介绍了频率域和时间域作图时的设置方法,及尺度和频率的对应转换方法。
- 2020-12-03下载
- 积分:1
-
Keil 配色方案 (含预览图) 和(仿VS配色)
【实例简介】网络搜集的十余种keil配色方案,包含预览图和仿VS配色
- 2021-11-19 00:38:48下载
- 积分:1