ImageVerifierCode 换一换
格式:PDF , 页数:59 ,大小:2.66MB ,
资源ID:4887179      下载积分:14 金币
快捷注册下载
登录下载
邮箱/手机:
温馨提示:
快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。 如填写123,账号就是123,密码也是123。
特别说明:
请自助下载,系统不会自动发送文件的哦; 如果您已付费,想二次下载,请登录后访问:我的下载记录
支付方式: 支付宝    微信支付   
验证码:   换一换

开通VIP
 

温馨提示:由于个人手机设置不同,如果发现不能下载,请复制以下地址【https://www.zixin.com.cn/docdown/4887179.html】到电脑端继续下载(重复下载【60天内】不扣币)。

已注册用户请登录:
账号:
密码:
验证码:   换一换
  忘记密码?
三方登录: 微信登录   QQ登录  

开通VIP折扣优惠下载文档

            查看会员权益                  [ 下载后找不到文档?]

填表反馈(24小时):  下载求助     关注领币    退款申请

开具发票请登录PC端进行申请

   平台协调中心        【在线客服】        免费申请共赢上传

权利声明

1、咨信平台为文档C2C交易模式,即用户上传的文档直接被用户下载,收益归上传人(含作者)所有;本站仅是提供信息存储空间和展示预览,仅对用户上传内容的表现方式做保护处理,对上载内容不做任何修改或编辑。所展示的作品文档包括内容和图片全部来源于网络用户和作者上传投稿,我们不确定上传用户享有完全著作权,根据《信息网络传播权保护条例》,如果侵犯了您的版权、权益或隐私,请联系我们,核实后会尽快下架及时删除,并可随时和客服了解处理情况,尊重保护知识产权我们共同努力。
2、文档的总页数、文档格式和文档大小以系统显示为准(内容中显示的页数不一定正确),网站客服只以系统显示的页数、文件格式、文档大小作为仲裁依据,个别因单元格分列造成显示页码不一将协商解决,平台无法对文档的真实性、完整性、权威性、准确性、专业性及其观点立场做任何保证或承诺,下载前须认真查看,确认无误后再购买,务必慎重购买;若有违法违纪将进行移交司法处理,若涉侵权平台将进行基本处罚并下架。
3、本站所有内容均由用户上传,付费前请自行鉴别,如您付费,意味着您已接受本站规则且自行承担风险,本站不进行额外附加服务,虚拟产品一经售出概不退款(未进行购买下载可退充值款),文档一经付费(服务费)、不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
4、如你看到网页展示的文档有www.zixin.com.cn水印,是因预览和防盗链等技术需要对页面进行转换压缩成图而已,我们并不对上传的文档进行任何编辑或修改,文档下载后都不会有水印标识(原文档上传前个别存留的除外),下载后原文更清晰;试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓;PPT和DOC文档可被视为“模板”,允许上传人保留章节、目录结构的情况下删减部份的内容;PDF文档不管是原文档转换或图片扫描而得,本站不作要求视为允许,下载前可先查看【教您几个在下载文档中可以更好的避免被坑】。
5、本文档所展示的图片、画像、字体、音乐的版权可能需版权方额外授权,请谨慎使用;网站提供的党政主题相关内容(国旗、国徽、党徽--等)目的在于配合国家政策宣传,仅限个人学习分享使用,禁止用于任何广告和商用目的。
6、文档遇到问题,请及时联系平台进行协调解决,联系【微信客服】、【QQ客服】,若有其他问题请点击或扫码反馈【服务填表】;文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“【版权申诉】”,意见反馈和侵权处理邮箱:1219186828@qq.com;也可以拔打客服电话:0574-28810668;投诉电话:18658249818。

注意事项

本文(MatroxImagingLibrary(MIL)双语手册.pdf)为本站上传会员【快乐****生活】主动上传,咨信网仅是提供信息存储空间和展示预览,仅对用户上传内容的表现方式做保护处理,对上载内容不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知咨信网(发送邮件至1219186828@qq.com、拔打电话4009-655-100或【 微信客服】、【 QQ客服】),核实后会尽快下架及时删除,并可随时和客服了解处理情况,尊重保护知识产权我们共同努力。
温馨提示:如果因为网速或其他原因下载失败请重新下载,重复下载【60天内】不扣币。 服务填表

MatroxImagingLibrary(MIL)双语手册.pdf

1、MIL 8.0 GUIDEIncluding Active MIL2Edge FinderOverviewMatrox Imaging Library(MIL)is a modular programming library with commands for image capture,image processing,patternrecognition,blob analysis,edge extraction and analysis,measurement,character recognition,1D and 2D code reading,calibration,graphic

2、s,image compression,image display and archiving.Included with MIL is ActiveMIL,a collection of ActiveX controls(OCXs)for managing image capture,processing,analysis,display and archiving.This guide has been designed to complement the Matrox Imaging Library(MIL)brochure by providing a list of benchmar

3、kson different platforms and a comprehensive overview of the MIL and ActiveMIL APIs.Included with the command and parame-ter descriptions of MIL are real programming examples for each module.Also included are brief descriptions of some of the control methods,events and properties available in Active

4、MIL.For additional information on MIL commands and parameters,as well as ActiveMIL control methods,events,and properties,refer to the MIL and ActiveMIL Command Reference respectively.Software ArchitectureMatrox Imaging Library(MIL)and ActiveMILApplication ControlBlob AnalysisBuffer ControlCalibratio

5、nCode ReaderDigitizer ControlDisplayGeometricModel FinderGraphicsImage ProcessingMeasurementOCRPattern MatchingString ReaderBoard-Level DriversMatrox CronosPlusMatrox Meteor-IIfamilyMatrox Orion familyMatrox Corona-IIFutureMatrox HardwareIEEE 1394*IIDC DriverMatrox Morphis familyMatrox Solios family

6、Matrox Helios familyMatrox Odyssey family*MIL/ActiveMIL has a common API across Matrox Imagings entire hardware line.*Matrox Meteor-II/1394,4Sight-II or third-party adapter.*Matrox Odyssey family supported through Matrox Odyssey SDK.3Table ofOverviewContents1MIL/ActiveMIL Benchmarks4MIL Command List

7、ing and Description1D and 2D Code Reader module71D and 2D code symbologies7Composite code symbologies8Application and System modules9Blob analysis module10Blob features11Buffer and Data generation modules12Calibration module14Digitizer module15Display module15Edge Finder module16Edge features16Funct

8、ion Developers Toolkit18Geometric Model Finder module19Graphics module20Image processing module21Measurement module23OCR module24Pattern matching module25String Reader module26Thread module27Programming ExamplesBlob analysis28Calibration 29Camera auto-focus 31Capture and display a video sequence33Co

9、de Reader34Digitizer allocation and control35Displaying a MIL buffer under Windows36Edge Finder 37Geometric Model Finder 39Image processing(convolution)41Measurement 42Multi-buffered image capture and processing 44OCR47Pattern matching 49String Reader51Watershed segmentation 54ActiveMIL Control List

10、ing and DescriptionApplication and System control55BlobAnalysis control56Blob features and results57Calibration control58CharacterRecognition control59Code control60Digitizer control62Display control64EdgeFinder control65EdgeFinder features and results66GraphicsContext control67Image control68ImageP

11、rocessing control69Measurement control72ModelFinder control74PatternMatching control76StringReader control*77Threading control79*Available as of Processing Pack 1.MIL/ActiveMIL BenchmarksThe following benchmarks provide a performance overview for a range of imaging operations running on different pl

12、atforms.A brief description of all functions,parameters and imagesused are included.Note that the benchmarks assume full processor and memor y bandwidth(i.e.,no other system activity),and include command overheads.Note:Operations executed on 512 x 512 images1.Image ProcessingPoint-to-pointAdd two 8-

13、bit images and store results in an 8-bit destination image.0.58 ms0.08 ms0.08 ms0.05 ms0.23 ms2Edge Detection(sobel)Perform an edge detection(sobel)on an 8-bit source image and store results in an 8-bit destination image.1.4 ms0.74 ms0.51 ms0.74 ms0.17 ms2Convolution(3 x 3)Perform a general 3 x 3 co

14、nvolution with arbitrary coefficients on an 8-bit source image and store results in an 8-bit destination image.Results are saturated.1.8 ms1.1 ms0.63 ms0.54 ms0.15 ms2Convolution(5 x 5)Same as above except with a 5 x 5 kernel.4.6 ms2.9 ms1.6 ms1.5 ms0.21 ms2Convolution(11 x 11)Same as above except w

15、ith a 11 x 11 kernel.19.8 ms12.7 ms7.1 ms5.8 ms0.96 ms2Erosion/Dilation(3 x 3,predefined,binary)Perform a binary erosion/dilation on a 1-bit source image using a predefined 3 x 3 structuring element and store results in a 1-bit destination image.0.08 ms0.05 ms0.04 ms0.04 ms0.09 ms2Erosion/Dilation(3

16、 x 3,predefined,grayscale)Same as above except perform a grayscale operation.3.5 ms0.17 ms0.13 ms0.16 ms0.16 ms2Erosion/Dilation(3 x 3,user-defined,binary)Perform a binary erosion/dilation on a 1-bit source image using an arbitrary 3 x 3 structuring element and store results in a 1-bit destination i

17、mage.0.34 ms0.22 ms0.15 ms0.14 ms0.10 ms2Erosion/Dilation(3 x 3,user-defined,grayscale)Same as above except perform a grayscale erosion/dilation operation.0.92 ms0.51 ms0.39 ms0.51 ms0.16 ms2Erosion/Dilation(5 x 5,user-defined,binary)Perform a binary erosion/dilation on a 1-bit source image using an

18、 arbitrary5 x 5 structuring element and store results in a 1-bit destination image.1.4 ms0.88 ms0.58 ms0.55 ms0.09 ms2Erosion/Dilation(5 x 5,user-defined,grayscale)Same as above except perform a grayscale erosion/dilation.1.8 ms1.1 ms0.75 ms1.1 ms0.22 ms2LUT mapPerform a point-to-point LUT mapping o

19、peration for an 8-bit source image and store results in an 8-bit destination image.0.59 ms0.33 ms0.54 ms0.24 ms0.28 ms2HistogramCalculate the histogram of an 8-bit source image and store result in a 32-bit buffer.0.58 ms0.38 ms0.28 ms0.31 ms0.31 msLossy JPEG Compression (monochrome)Perform lossy JPE

20、G compression on an 8-bit source image and store results in an 8-bit destination image.2.5 ms1.6 ms1.2 ms1.5 ms1.5 msMIL/ActiveMIL Benchmarks(cont.)Image Processing(cont.)Lossless JPEG Compression (monochrome)Perform lossless JPEG compression on an 8-bit source image and store results in an 8-bit de

21、stination image.2.9 ms1.9 ms2.2 ms2.3 ms2.3 msRotate(30)Rotate by 30 an 8-bit source image and store results in 8-bit destination image.1.2 ms0.64 ms0.90 ms0.69 ms0.69 msWarp PolynomialWarping using a first-order polynomial mapping with nearest neighbor interpolation on an 8-bit source image and sto

22、re results in an 8-bit destination image.1.2 ms0.64 ms0.90 ms0.69 ms0.69 msGeometric Model Finder 3,4Find a Model(1 model,1 occurrence,very high speed,limited scaling)Find a single 128 x 128 model in an 8-bit image.The whole image is searched for a model rotated within 0-360and scaled within 90-110%

23、using the highest speed(lowest robustness and accuracy)setting.6.2 ms3.7 ms2.8 ms3.4 ms3.4 msFind a Model(1 model,1 occurrence,medium speed,limited scaling)Find a single 128 x 128 model in an 8-bit image.The whole image is searched for a model rotated within 0-360and scaled within 90-110%using mediu

24、m speed setting.15.6 ms10.2 ms6.5 ms8.1 ms8.1 msFind a Model(1 model,1 occurrence,medium speed,max.scaling)Find a single 128 x 128 model in an 8-bit image.The whole image is searched for a model rotated within 0-360and scaled within 50-200%using medium speed setting.16.2 ms10.7 ms7.1 ms8.5 ms8.5 msF

25、ind Models(1 model,4 occurrences,medium speed,limited scaling)Same as above except find four occurrences of a single 128 x 128 model.21.6 ms13.5 ms9.3 ms11.8 ms11.8 msFind Models(4 models,4 occurrences,medium speed,limited scaling)Same as above except find a single occurrence of four 128 x 128 model

26、s.25.6 ms15.7 ms11.1 ms14.2 ms14.2 msPattern Matching(Normalized Grayscale Correlation)3,4Find a Model(128 x 128,non-rotated)Find a 128 x 128 model in an 8-bit grayscale image.The whole image is searched for a model that is not rotated.0.42 ms0.19 ms0.16 ms0.19 ms0.19 msFind a Model(128 x 128,-5 to+

27、5)Find a 128 x 128 model located at 0 in an 8-bit grayscale image.The whole image is searched for a a model rotated within+/-5.1.7 ms0.89 ms0.70 ms0.89 ms0.89 msFind a Model(32 x 32,non-rotated)As above except perform a pattern match of a 32 x 32 model.2.1 ms1.0 ms0.71 ms0.83 ms0.83 msFind a Model(3

28、2 x 32,-5 to+5)As above except perform a pattern match of a 32 x 32 model.3.4 ms1.8 ms1.2 ms1.4 ms1.4 msMIL/ActiveMIL Benchmarks(cont.)Edge Finder(4000 edge elements or edgels)4Extract contours15.4 ms9.0 ms6.2 ms8.0 ms8.0 msExtract thin line crests68.3 ms24.3 ms19.5 ms24.8 ms24.0 msBlob Analysis(100

29、 blobs that occupy 25%of area)4Calculate Area0.24 ms0.15 ms0.15 ms0.12 ms0.12 msCalculate Area and Binary Center of Gravity0.28 ms0.18 ms0.17 ms0.15 ms0.15 msCalculate Area and Grayscale Center of Gravity0.86 ms0.56 ms0.43 ms0.45 ms0.45 msMeasurementFind an EdgeLocate an edge in a 16 x 4 measurement

30、 region of an 8-bit image.0.06 ms0.02 ms0.03 ms0.07 ms0.08 msFind Multiple StripesLocate 24 stripes in a 128 x 16 measurement region of an 8-bit image.0.17 ms0.08 ms0.08 ms0.09 ms0.15 msString ReaderString ReadingRead a 6 character string using a 28 character font within a 512 x 512 image region.OCR

31、42.7 ms26.4 ms20.3 ms25.0 ms25.0 msOCR ReadingRead an unknown string of twelve 33 x 21 characters(no grammar rules)within a 404 x 54 image region.10.6 ms6.6 ms4.9 ms5.8 ms5.8 msVerificationVerify that a known string of 12 SEMI font characters(33 x 21)within a 404 x 54 image region can be read proper

32、ly.4.0 ms0.83 ms0.59 ms0.84 ms0.84 msBar and Matrix Code RecognitionBar Code ReadingRead a EAN13 bar code(no rotation).0.28 ms0.18 ms0.15 ms0.18 ms0.27 msDataMatrix ReadingRead a DataMatrix code.3.7 ms1.6 ms2.1 ms2.2 ms2.3 ms1.Benchmarks for larger images do not necessarily scale linearly due to CPU

33、 cache effects.2.Performed using PA.3.Faster search speeds can be obtained by reducing accuracy.4.Search speeds will vary with image content.7MIL 指令简介指令简介MIL Command Listing and DescriptionThis section provides an overview of each MIL module and a brief description of each MIL command.For a complete

34、 description of the syntax and use of each command,refer to the MIL Command Reference manual.1 维和维和 2 维条形码识别模块维条形码识别模块1D and 2D Code Reader module用于读写各种 1 维和 2 维条形码及编码机制Used to read(and write)various 1D and 2D code symbologies.指令指令 Commands形参形参 Command parameters功能功能 DescriptionMcodeAlloc()SystemId,

35、CodeType,ControlFlag,CodeIdPtr分配一个条形码对象分配一个条形码对象Allocate a code object.McodeControl()CodeId,ControlType,ControlValue控制一个条形码对象控制一个条形码对象Control a code object.McodeFree()CodeId释放一个条形码对象释放一个条形码对象Free a code object.McodeGetResult()CodeId,ResultType,ResultPtr从读写操作中获得一个结果从读写操作中获得一个结果Get a result from a rea

36、d or write operation.McodeInquire()CodeId,InquireType,UserVarPtr查询条形码的参数设置查询条形码的参数设置Inquire about a code object parameter setting.McodeRead()CodeId,ImageBufId,ControlFlag从图中读取特定类型的条形码从图中读取特定类型的条形码Read a specific type of code in an image.McodeRestore()FileName,SystemId,ControlFlag,CodeIdPtr从磁盘文件中恢复从前

37、保存的条形码对象从磁盘文件中恢复从前保存的条形码对象Restore a code object previously saved to a file.McodeSave()FileName,CodeId,ControlFlag将特定的条形码对象保存到磁盘文件中将特定的条形码对象保存到磁盘文件中Save the specified code object in a file.McodeStream()MemPtrOrFileName,SystemId Operation,StreamType,Version ControlFlag,CodeIdPtr,SizeByteVarPtr从(到)文件或内

38、存中加载、恢复或者保存条形码对象从(到)文件或内存中加载、恢复或者保存条形码对象Load,restore,or save a code object from/to a file or memory.McodeVerify()CodeId,ImageBufId,String,ControlFlag从源图像中计算不同质量等级的条形码从源图像中计算不同质量等级的条形码Compute the different quality-grades of the code in the specified source image.McodeWrite()CodeId,ImageBufId,String,C

39、ontrolFlag以以 ASCII 码的格式进行编码码的格式进行编码Encode an ASCII string.1 维和维和 2 维条形码编码机制维条形码编码机制1D and 2D code symbologies对于指令McodeAlloc(),编码的方式包括以下几种类型:For the McodeAlloc()command,the code type(s)that can be read or written include(s):编码类型编码类型Code Type编码方式编码方式Encoding Type纠错纠错 Error CorrectionBC412标标准准编码编码方式方式S

40、tandard encoding type无纠错无纠错No error correctionCodabar标准编码方式标准编码方式Standard encoding type无纠错无纠错No error correctionCode39ASCII 编码,标准编码编码,标准编码ASCII encoding,Standard encoding type无无纠错纠错;检验检验位位错误错误No error correction;check-digit error correctionCode93ASCII 编码编码ASCII encoding检验检验位位纠错纠错Check-digit error co

41、rrectionCode128(UCC/EAN128)Continued.ASCII 编码编码ASCII encoding检验检验位位纠错纠错Check-digit error correction81D and 2D code symbologies(cont.)For the McodeAlloc()command,the code type(s)that can be read or written include(s):编码类型编码类型Code Type编码方式编码方式Encoding Type纠错纠错 Error CorrectionNumeric encoding,Alpha en

42、coding,10,40,50,60,70,80,90,100,110,120,130,AlphaNumericPunc encoding,140 or 200 error correctionAlphaNumeric encoding,DataMatrixASCII encoding,IS08 encodingEAN8Numeric encodingCheck-digit error correctionEAN13Numeric encodingCheck-digit error correctionInterleaved 2/5Numeric encodingNo error correc

43、tion;check-digit error correcionMaxicodeEncoding mode 2,3,4,5,6Reed Solomon error correctionMicroPDF417Standard encoding typeReed Solomon error correctionPDF417Standard encoding typeReed Solomon 1-8 error correctionPharmaNumeric encodingNo error correctionPlanetNumeric encodingCheck-digit error corr

44、ectionPostnetNumeric encodingCheck-digit error correctionQRQR code Model 1,2 encodingLowest-level QR,Low-level QR,High-level QR,Highest-level QRRSSRSS 14,RSS 14 Stacked,RSS 14 Stacked Omni,RSS 14 Truncated,RSS ExpandedRSS Expanded Stacked,RSS Limited encoding.Check-digit error correctionUPC-ANumeric

45、 encodingCheck-digit error correctionUPC-ENumeric encodingCheck-digit error correction复合编码机制复合编码机制Composite code symbologies这是一种 1 维和 2 维的复合编码类型This code type is a composite of a 1D(RSS,UPC-A,UPC-E,EAN-8,EAN-13,or UCC/EAN128)and a 2D code type(PDF417 orMicroPDF417).9应用和系统模块应用和系统模块Application and Sys

46、tem modules分别用于初始化和控制 MIL 应用环境和系统(帧捕获器板块,视觉处理板块或者主系统)。应用(Application)模块包括集成调试功能,系统资源补偿,命令线程和相关活动和定时器功能的控制。Used to initialize and control the MIL application environment and system(frame grabber boards,vision processor boards,or host system)respectively.The Application module includes control of inte

47、grated debugging features,system resource compen-sation,command threads and related events,as well as a timer function.指令指令 Commands形参形参 Command parameters功能功能 DescriptionMappAlloc()InitFlag,ApplicationIdPtr分配一个分配一个 MIL 应用应用Allocate a MIL application.MappAllocDefault()nitFlag,ApplicationIdPtr,System

48、IdPtr,DisplayIdPtr,DigIdPtr,ImageBufIdPtr分配分配 MIL 默认应用默认应用Allocate MIL application defaults.MappControl()ControlType,ControlFlag控制应用环境的设置控制应用环境的设置Control an application environment setting.MappFree()ApplicationId释放释放 MIL 应用应用Free a MIL application.MappFreeDefault()ApplicationId,SystemId,DisplayId,Di

49、gId释放释放 MIL 默认应用默认应用Free MIL application defaults.MappGetError()ErrorType,ErrorPtr得到错误代码和相关信息得到错误代码和相关信息Get error codes and related information.MappGetHookInfo()EventId,InfoType,UserVarPtr得到回调事件的信息得到回调事件的信息Get information about a hooked event.MappHookFunction()HookType,HookHandlerPtr,给一个事件创建回调函数(指向函

50、数的指针)给一个事件创建回调函数(指向函数的指针)Hook a function to an event.MappInquire()InquireType,UserVarPtr查询应用的参数设置查询应用的参数设置Inquire about the application parameter setting.MappTimer()ControlValue,TimePtr控制控制 MIL 定时器定时器Control the MIL timer.MsysAlloc()SystemTypePtr,SystemNum,InitFlag,分配一个硬件系统分配一个硬件系统Allocate a hardwar

移动网页_全站_页脚广告1

关于我们      便捷服务       自信AI       AI导航        抽奖活动

©2010-2026 宁波自信网络信息技术有限公司  版权所有

客服电话:0574-28810668  投诉电话:18658249818

gongan.png浙公网安备33021202000488号   

icp.png浙ICP备2021020529号-1  |  浙B2-20240490  

关注我们 :微信公众号    抖音    微博    LOFTER 

客服