- 1、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
15 双线性插值(15 bilinear interpolation)
15 双线性插值(15 bilinear interpolation) #包括“指针。” #包括“数据/核心/ core_c。” #包括“数据/ imgproc / imgproc_c。” #包括“数据/ highgui / highgui_c。” #包括“数据/遗产/兼容。HPP” #包括“数据/ objdetect / objdetect。HPP” #语用评论(库,“opencv_core220d。库”) #语用评论(库,“opencv_highgui220d。库”) #语用评论(库,“opencv_imgproc220d。库”) #语用评论(库,“opencv_legacy220d。库”) #语用评论(库,“opencv_objdetect220d。库”) / /支持三通道图像的缩放 无效resizeworkingbitmap(IplImage *,IplImage * B,int BX,INT) { unsigned char率= 0,= 0 = 0 PTBR,PTCR,邮递测试分解报告= 0,pixelvaluer = 0; unsigned char PTAG = 0,ptbg = 0,= 0 ptdg PTCG,= 0,pixelvalueg = 0; unsigned char PTAB = 0,ptbb = 0,= 0 = 0 PTCB,点目标数据库,pixelvalueb = 0; unsigned int spixelcoladdr = 0,spixelrowaddr = 0; unsigned int coldelta = 0,rowdelta = 0,scalev = 0 = 0,量表; unsigned int contribaandbr = 0,contribcanddr = 0; unsigned int contribaandbg = 0,contribcanddg = 0; unsigned int contribaandbb = 0,contribcanddb = 0; unsigned int contribtem【2048×3】;/ /图像最大宽度是2048px unsigned int spixelcolnum = 0,spixelrownum = 0,destcol = 0,destrow = 0; int i = 0; / /计算原图与目标图像之间的比例 量表=(- 宽度 8)/ / /水平比例BX; scalev =(a -高度 8)/;/ /垂直比例 / /目标图像的第一行 对于(destcol = 0;destcol BX;destcol + +) { / /原图和当前像素的水平距离 spixelcoladdr = destcol *量表; / /点和当前像素的水平距离 printf(“spixelcoladdr = %d,”,SpixelColAddr); coldelta = spixelcoladdr 255; printf(“col = %d”,coldelta); / /点序号 spixelcolnum =(spixelcoladdr - coldelta) 8; printf(“spixelcolnum = %d\n”,SpixelColNum); / /得到一点的RGB PTAB =一个-数据[ 3×spixelrownum * -宽度+ 3 * spixelcolnum ]; printf(“PTAB = %d,”,PtAB); 显示出一个-数据[ = 3×spixelrownum * -宽度+ 3 * spixelcolnum + 1 ]; printf(“PTAG = %d,”,PtAG); 率=一个-数据[ 3×spixelrownum * -宽度+ 3 * spixelcolnum + 2 ]; printf(“率= %d\n”,PtAR); / /得到B,C,D点的RGB 如果((spixelcolnum + 1)一宽度) { ptbb =一个-数据[ 3×spixelrownum * -宽度+ 3 *(spixelcolnum + 1)]; ptbg =一个-数据[ 3×spixelrownum * -宽度+ 3 *(spixelcolnum + 1)+ 1 ]; PTBR =一数据[ 3×spixelrownum * -宽度+ 3 *(spixelcolnum + 1)+ 2 ]; PTCB = a - imagedata [3 * (spixelrownum + 1) * - width + 3 * spixelcolnum]; Ptcg = a - imagedata [3 * (spixelrownum + 1) * - w
您可能关注的文档
- 03-3-1回归企业本质(03-3-1 regression, enterprise, essence).doc
- 03g101-1勘误、调整、增补(03g101-1 Corrigendum, adjustment, additions).doc
- 03栈的基本操作之括号匹配,进制转换(03, the basic operation of the stack bracket matching, hexadecimal conversion).doc
- 0321中国文化概论-08年1月自考试题整合答案(0321 introduction to Chinese culture, -08 January self test questions integrated answer).doc
- 00部分常用卫星天线接收器密码(出厂初始密码)(The 00 part is the password of common satellite antenna receiver (initial password)).doc
- 03级给水排水(03 stage water supply and drainage).doc
- 013 i++和++i的效率差别(013 efficiency difference between i++ and ++i).doc
- 04-05年下学期七年级单元同步测试地理巴西a卷(附答案)(04-05 next semester, unit seven, simultaneous testing, geography Brazil a (with answers)).doc
- 04养生论(04 health preserving theory).doc
- 04技术分析精要(Analysis of 04 key technology).doc
- 15.字符串排序(15. string sorting).doc
- 14秋《英汉-汉英翻译》作业4(14 autumn Chinese English Chinese translation work 4).doc
- 150部必看的电影,小资文艺必看(150 must see movies, petty bourgeois literature must see).doc
- 15个收藏多年的笑话(15 collections of jokes for years).doc
- 15分钟规定时间内完胜英语四六级快速阅读(15 minutes, within the specified time to win the English 46 speed reading).doc
- 16中层管理高级研修班(16 intermediate management senior seminar).doc
- 162.流的读写(Read and write in 162. streams).doc
- 16位二进制转换为bcd码的c51汇编程序(16 bit binary converted to BCD code C51 assembler).doc
- 16mn钢板焊接(16Mn steel plate welding).doc
- 16各类民用建筑设计规范(16 specifications for the design of civil buildings).doc
最近下载
- 护理事业近五年发展规划(2026-2030).pdf VIP
- 虚体医学丛书:医说解集——昆明新空间1025实验室.pdf VIP
- 跨学科实践活动10 调查我国航天科技领域中新型材料、新型能源的应用-九年级化学下册(人教版2024).pptx VIP
- 2024中国可再生能源大会:大型伞梯式陆基高空风力发电技术研究.docx
- 特发性与继发性三叉神经痛诊疗专家共识(2025版).pptx VIP
- 工艺管道施工方案.pdf VIP
- 《像山那样思考》课件.ppt VIP
- 工艺管道施工方案.doc VIP
- 分析石油地质勘探与储层评价方法.docx VIP
- DB11T 891-2012 居住建筑节能设计标准.pdf VIP
文档评论(0)