《Matrox Imaging Library(MIL)双语手册》由会员分享,可在线阅读,更多相关《Matrox Imaging Library(MIL)双语手册(59页珍藏版)》请在金锄头文库上搜索。
1、MIL 8.0 GUIDEIncluding Active MILOverviewMatrox 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, graphics
2、, 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 o
3、f benchmarkson 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 avail
4、able in ActiveMIL. 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 ActiveMIL3Application ControlBlob AnalysisBu
5、ffer ControlCalibrationCode ReaderDigitizer ControlDisplayEdge FinderGeometricModel FinderGraphicsImage ProcessingMeasurementOCRPattern MatchingString ReaderBoard-Level DriversMatrox CronosPlusMatrox Meteor-IIfamilyMatrox Orion familyMatrox Corona-IIFutureMatrox HardwareIEEE 1394* IIDC DriverMatrox
6、Morphis familyMatrox Solios familyMatrox 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.Table ofOverviewContents1MIL/A
7、ctiveMIL Benchmarks4MIL Command Listing 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
8、 Finder module16Edge features16Function Developers Toolkit18Geometric Model Finder module19Graphics module20Image processing module21Measurement module23OCR module24Pattern matching module25String Reader module26Thread module27Programming ExamplesBlob analysis28Calibration 29Camera auto-focus 31Capt
9、ure and display a video sequence33Code 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
10、segmentation 54ActiveMIL Control Listing and DescriptionApplication and System control55BlobAnalysis control56Blob features and results57Calibration control58CharacterRecognition control59Code control60Digitizer control62Display control64EdgeFinder control65EdgeFinder features and results66GraphicsC
11、ontext control67Image control68ImageProcessing 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 imagi
12、ng operations running on different platforms. 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 imag
13、es1.Image ProcessingPoint-to-pointAdd two 8-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
14、ms2Convolution (3 x 3)Perform a general 3 x 3 convolution 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 with a 11 x 11 kernel.19.8 ms12.7 ms7.1 ms5.8 ms