关键词不能为空

当前您在: 主页 > 英语 >

MatroImagingLibraryMIL双语手册

作者:高考题库网
来源:https://www.bjmy2z.cn/gaokao
2021-02-08 02:34
tags:

-

2021年2月8日发(作者:曼)












































MIL GUIDE



Including


Active


MIL



Overview



Matrox Imaging Library (MIL) is a modular


programming


library


with commands for image capture, image processing,


pattern



recognition, blob analysis, edge extraction and analysis, measurement, character recognition, 1D and 2D code


r


e


ading,


calibration,


graphics, 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


ar


chiving.




This guide has been designed to complement the Matrox Imaging Library (MIL) brochure by providing a list


of benchmarks


on 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 ActiveMIL. For additional information


on MIL commands and paramet


er


s,


as



well


as ActiveMIL control


methods, events, and properties,


refer


to the MIL and ActiveMIL Command Reference


r


espectiv


el


y


.






















Application


Control



Blob


Analysis


Edge


Finder



Geometric



Model Finder



Matrox


Imaging


Library (MIL)


and ActiveMIL



Buffer Control


Calibration


Code


Reader


Digitizer Control


Display



Graphics


Image Processing


Measurement


OCR


Pattern Matching


String


Reader






Matrox Cr


onos


Plus



Board-Level Driver


s



Matrox


Meteor-II



fami


l


y



Matrox


Orion


family



Future



Matrox Hardware



Matrox


Corona-II



IEEE


1394*


IIDC


Driver








Matrox


Morphis


family





Matrox


Solios


family





Matrox Helios


family




Matrox


Odysse


y


fami


l


y


**



MIL/ActiveMIL has a common API across Matrox Imaging's entire hardware line.



* Matrox Meteor- II/1394, 4Sight-II or third-party adapter


.



**


Matrox


Odyssey


family supported through Matrox


Odyssey


SDK.




Table


of



Contents





Overview




MIL/ActiveMIL Benchmarks




MIL


Command Listing


and Description





1D and 2D


Code


Reader modul


e



1D and 2D code symbologies


Composite code symbologies



Application and System modul


es




Blob analysis modul


e




Blob


f


eatur


es




Buffer


and Data generation modul


es




Calibration modul


e




Digitizer modul


e




Display modul


e




Edge


Finder modul


e




Edge


f


eatur


es




Function


De


v


e


l< /p>


oper's


T


oolkit




Geometric Model Finder modul


e




Graphics modul


e




Image processing modul


e




Measurement modul


e




OCR


modul


e




Pattern matching modul


e




String Reader modul


e




Thread modul


e




Programming


Examples




Blob analysis


Calibration



Camera auto-focus



Capture and display a video sequence


Code


Reader


Digitizer allocation and


c


ontr


o


l



Displaying a MIL buffer


under Windows


Edge


Finder



Geometric Model Finder



Image processing (convolution)


Measurement



Multi-buffered image capture and processing



OCR


Pattern matching


String Reader


W


a


t


e


r


shed


segmentation



ActiveMIL Control Listing


and Description



Application and System


c


ontr


o


l



BlobAnalysis


c


ontr


o


l

< p>


Blob features and


results



Calibration


c


ontr


o


l



CharacterRecognition


c


ontr


o


l



Code


c


ontr


o


l



Digitizer


c


ontr


o


l



Display


c


ontr


o


l



EdgeFinder


c


ontr< /p>


o


l



EdgeFinder features and


results



GraphicsContext c


ontr


o


l



Image


c


ontr


o


l



ImageProcessing


c


ontr


o


l



Measurement


c


ontr


o


l



ModelFinder


c


ontr


o


l



PatternMatching


c


ontr


o


l



StringReader


control*



Threading


c


ontr


o


l



*Available


as of Processing Pack


1.



1



4



7



7



8



9



10



11



12



14



15



15



16



16



18



19



20



21



23



24



25



26



27



28



29



31



33



34



35



36



37



39



41



42



44



47




4


9



51



54



55



56



57



58



59



60



62



64



65



66



67



68



69



72



74



76



77



79



MIL/ActiveMIL


Benchmarks



The following


benchmarks


provide


a


performance overview


for a range of imaging


operations


running on different


platforms.


A brief


description


of all


functions, parameters


and images


used are included. Note that the


benchmarks


assume


full


processor


and


memor



y


bandwidth ., no other


system activity),


and include command overheads.



Note:


Operations executed


on 512 x 512 images


1


.






Image Processing



Point-to-point


Add two 8-bit


images


and


store results


in an 8-bit


destination


image.


Edge


Detection


(< /p>


s


ob


e


l


)



Perform


an edge detection


(sobel)


on an 8-bit


source


image and


store results


in an 8-bit


destination


image.


Convolution


(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.


Convolution


(5 x 5


)



Same


as


above except


with a 5 x 5 kernel.


Convolution


(11 x 11


)



Same


as


above except


with a 11 x 11 kernel.


E


r


o


s


i


on/D


il


a


t


i


on


(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.

E


r


o


s


i


on/D


il


a

t


i


on


(3 x 3,


predefined,


g


r


a


y


s


c

< p>
a


l


e


)



Same


as


above except


perform a


grayscale


operation.


E


r


o


s

i


on/D


il


a


t


i


on


(3 x 3,


u


s


e


r


-d


e


f


i


n


e


d


, 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


image.


E


r

< br>o


s


i


on/D


il


a


t


i

< br>on


(3 x 3,


u


s< /p>


e


r


-d


e


f


i


n


e


d


,


g


r

< p>
a


y


s


c


a


l


e


)


Same


as


above except


perform a


grayscale erosion/dilation


operation.


E


r


o


s


i< /p>


on/D


il


a


t


i


on


(5 x 5,


u


s


e


r


-d


e


f


i


n


e


d


, binary)


Perform


a binary


erosion/dilation


on a 1-bit


source


image using an arbitrary


5 x 5


structuring


element and


store results


in a 1-bit


destination


image.


E


r

< br>o


s


i


on/D


il


a


t


i

< br>on


(5 x 5,


u


s< /p>


e


r


-d


e


f


i


n


e


d


,


g


r

< p>
a


y


s


c


a


l


e


)


Same


as


above except


perform a


grayscale


erosion/dilation.


LUT map


Perform


a point-to-point LUT mapping operation for an 8-bit


source


image and


store results


in an 8-bit


destination


image.


Hi


s


t


og


r


a

< br>m


Calculate


the histogram of an 8-bit


source


image and


store result


in a 32-bit buffer.


Lossy JPEG Compression


(monochrome)


Perform


lossy JPEG compression


on an 8-bit


source


image and


store results


in an 8-bit


destination


image.




ms




ms



ms





ms



ms


2








ms




ms




ms


ms


ms


2












ms


ms


ms


ms


ms


2






ms



ms




ms




ms



ms


2












ms


ms


ms


ms


ms


2












ms


ms


ms


ms


ms


2





ms



ms




ms




ms




ms


2












ms


ms


ms


ms


ms


2





ms



ms




ms




ms




ms


2












ms


ms


ms


ms


ms


2




ms




ms




ms




ms




ms


2












ms


ms


ms


ms


ms


2








ms



ms




ms



ms


ms











ms


ms


ms


ms


ms








Image


Processing


(cont.)



Lossless JPEG Compression


(monochrome)


Perform


lossless JPEG compression


on an 8-bit


source


image and


store results


in an 8-bit


destination


image.



ms



ms






ms



ms






ms



ms






ms



ms






ms



ms


Rotate


(


30


°


)



Rotate by


30


°



an 8-bit


source


image and


store results


in 8-bit


destination


image.


Warp Polynomial


Warping using a


first-order


polynomial mapping with


nearest


neighbor interpolation on an 8-bit


source


image and


store results


in an 8-bit


destination


image.



ms



ms



ms



ms



ms



Geometric


Model


Finder


3,


4



Find a Model (1 model, 1


occurrence, very


high


speed,


limited


s


c


a


li


ng)



Find a


single


128 x 128 model in an 8-bit image. The whole image is


searched


for a model rotated within 0-360°



and


scaled


within 90-110% using the


highest


speed (lowest robustness


and


accuracy)


setting.







ms







ms







ms







ms






ms


Find a Model (1 model, 1


occurrence,


medium


speed,


limited


s< /p>


c


a


li


ng)



Find a


single


128 x 128 model in an 8-bit image. The whole image is


searched


for a model rotated within 0-360°



and


scaled


within 90-110% using medium


speed


setting.



ms



ms



ms



ms


ms


Find a Model (1 model, 1


occurrence,


medium


speed,


max.


s


c


a


li


ng)



Find a


single


128 x 128 model in an 8-bit image. The whole image is


searched


for a model rotated within 0-360°



and


scaled


within 50-200% using medium


speed


setting.



ms



ms



ms



ms


ms


Find M


od


e

< br>l


s


(1 model, 4


occurrences,


medium


speed,


limited


s< /p>


c


a


li


ng)



Same


as


above except


find four


occurrences


of a


single


128 x 128 model.


ms



ms




ms



ms




ms



ms




ms



ms




ms



ms


Find M


od


e


l


s


(4 m


od


e


l


s


, 4


occurrences,


medium


speed,


limited


s


c


a


li


ng)



Same


as


above except


find a


single occurrence


of four 128 x 128 models.



Pattern


Matching


(


Normalized



Grayscale


Correlation


)



3,


4



Find 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.



ms





ms





ms





ms





ms


Find a Model


(128 x 128, -5°


to


+


5

< br>°


)



Find a 128 x 128 model located at




in an 8-bit


grayscale


image. The whole image is


searched


for a a model


rotated within


+/-5


°


.




ms




ms




ms




ms




ms


Find a Model (32 x 32, non-rotated)


As


above except


perform a pattern match of a 32 x 32 model.


ms



ms




ms



ms




ms



ms




ms



ms




ms



ms


Find a Model (32 x 32,


-5°



to


+


5


°


)



As


above except


perform a pattern match of a 32 x 32 model.







Edge Finder


(4000


edge elements or edgels)


4



Extract


c


on


t


ou


r


s



Extract


thin line


cr


e


s


t


s



ms


ms




ms


ms




ms


ms




ms


ms




ms


ms


Blob Analysis


(100


blobs


that


occupy


25% of


area)


4




Calculate


Area


Calculate


Area and


Binary Center


of Gravity


Calculate


Area and


Grayscale Center


of Gravity



ms


ms


ms








ms


ms


ms








ms


ms


ms








ms


ms


ms








ms


ms


ms


Measurement



Find an


E


dg


e



Locate


an edge in a 16 x 4


measurement


region of an 8-bit image.



ms


ms


ms


ms


ms


Find Multiple


S


t


r


i


p


e


s



Locate


24


stripes


in a 128 x 16


measurement


region of an 8-bit image.



ms



ms



ms



ms



ms



String Reader



String


Reading


Read


a 6


character


string using a 28


character


font within a 512 x 512 image region.





ms


ms


ms


ms


ms




OCR



OCR


Reading


Read


an unknown string of


twelve


33 x 21


characters


(no grammar


rules)


within a 404 x 54 image region.



ms




ms




ms




ms




ms


Verification


Verify


that a known string of 12


SEMI


font


characters


(33 x 21) within a 404 x 54 image region can be read


properly.



ms




ms




ms




ms




ms


Bar and Matrix


Code


Recognition




Bar


Code


Reading


Read


a EAN13 bar code (no rotation).



ms





ms





ms





ms





ms


DataMatrix Reading


Read


a DataMatrix code.



1. Benchmarks for larger images do not


necessarily


scale linearly due to CPU cache effects.


2. Performed using PA.


3. Faster search


speeds


can be obtained


by reducing accuracy.


4. Search


speeds


will vary with image


content.



ms



ms



ms



ms



ms


MIL


指令简介



MIL


Command Listing


and Description



This section provides an overview of each MIL module and a brief description of each MIL command. For a complete 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


r


ead


(and write) various 1D and 2D code symbologies.



指令


Commands



McodeAlloc()



形参


Command paramet


er


s



SystemId,


CodeType,


ControlFlag, CodeIdPtr



功能


Description



分配一个条形码对象



Allocate a code object.


控制一个条形码对象



Control a code object.


释放一个条形码对象



Free a code object.


从读写操作中获得一个结果



Get a result from a read or write operation.


查询条形码的参数设置



Inquire about a code object parameter setting.


从图中读取特定类型的条形码



Read a specific type of code in an image.


从磁盘文件中恢复从前保存的条形码对象



Restore a code object previously saved to a file.


将特定的条形码对象保存到磁盘文件中



Save the specified code object in a file.


从(到)文件或内存中加载、恢复或者保存条形码对象



Load, restore, or save a code object from/to a file or


memory.


从源图像中计算不同质量等级的条形码



Compute the different quality-grades of the code in the


specified source image.



ASCII


码的格式进行编码



Encode an ASCII string.


McodeControl()



CodeId, ControlType,


ControlValue



Mc< /p>


odeF


r


ee()


McodeGetResult()



CodeId


CodeId, ResultType,


ResultPtr



McodeInquire()



CodeId, InquireType,


UserV


arPtr




McodeRead()



CodeId,


ImageBufId, ControlFlag



Mc


od eRes


t


o


r


e


()




FileName,


SystemId,


ControlFlag, CodeIdPtr



McodeSave()



FileName,


CodeId,


ControlFlag



McodeStream()


MemPtrOrFileName, SystemId


Operation,


StreamType,

< p>
V


e


r


sion


ControlFlag, CodeIdPtr,


SizeByteVarPtr




McodeVerify()



CodeId,


ImageBufId, String,


ControlFlag



McodeWrite()



CodeId,


ImageBufId,


String, ControlFlag


1


维和


2


维条形码编码机制



1D and 2D code symbologies


对 于指令


McodeAlloc()



编 码的方式包括以下几种类型:



For the


McodeAlloc()


command, the code


type(s)


that can be


r


ead


or written


include(s):



编码类型


Code


Type



编码方式


Encoding


Type



标准编码方式



Standard encoding type


标准编码方式



Standard encoding type


ASCII


编码,标准编码



ASCII encoding, Standard encoding type


ASCII


编码



ASCII encoding


ASCII


编码



ASCII encoding


纠错


Error


Correction



无纠错



No error correction


无纠错



No error correction


无纠错;检验位错误



No error correction; check-digit error


correction


检验位纠错



Check-digit error correction


检验位纠错



Check-digit error correction



BC412



Codabar



Code39



Code93




Code128


(UCC/EAN128)


Continued...


1D and 2D code


symbologies


(cont.)




For the


McodeAlloc()


command, the code


type(s)


that can be


r


ead


or written


include(s):



编码类型


Code


Type



编码方式


Encoding


Type




Numeric encoding, Alpha encoding,


AlphaNumericPunc encoding,


AlphaNumeric


encoding,


ASCII


encoding,


IS08


encoding


EAN8


EAN13




纠错


Error


Correction




Dat


aMatrix



10, 40, 50, 60, 70,


80,90, 100, 110, 120,


130,


140


or


200


error


c


orr


ection




Check-digit error


c


orr


ection


Check-digit error


c


orr


ection



Numeric encoding


Numeric encoding


Numeric encoding


Encoding


mode 2, 3, 4, 5, 6


Standard encoding type


Standard encoding type


Numeric encoding


Numeric encoding


Numeric encoding


QR


code Model 1, 2 encoding


RSS


14,


RSS


14 Stacked,


RSS


14 Stacked Omni,


RSS


14 Truncated,


RSS


Expanded


RSS Expanded


Stacked,


RSS


Limited encoding.


Numeric encoding


Numeric encoding


Interleaved 2/5


Maxicode


MicroPDF417


PDF417


Pharma


Planet


Po< /p>


s


tnet



QR


RSS


No error


correction;


check-digit


error


c


orr


ecion



Reed


Solomon error


c


orr


ection


Reed


Solomon error


c


orr


ection


Reed


Solomon 1


-


8 error


c


orr


ection


No error


c


orr


ection


Check-digit error


c


orr


ection


Check-digit error


c


orr


ection


Lowest-level


QR,


Low-level QR,


High-level


QR,


Highest-level QR


Check-digit error


c


orr


ection


UPC-A


UPC-E



Check-digit error


c


orr


ection


Check-digit error


c


orr


ection


复合编码机制



Composite


code symbologies


这是一种


1


维和


2


维的复合编码类型< /p>



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


or



MicroPDF417).


应用和系统模块



Application and


System


modules


分别用于初始化和控制


MIL


应用环境和系统(帧捕获器板块,视觉处理板块或者主系统)。应用(


Application


)模块包括集成调试


功 能,系统资源补偿,命令线程和相关活动和定时器功能的控制。



Used to initialize


and control


the MIL application environment and system (frame grabber boards, vision processor boards,


or


host system)


r


espectiv


el


y


.


The Application module includes control


of integrated debugging features, system resource


c


ompen-


sation, command threads and related events, as well


as a timer


function.



指令


Commands



形参


Command paramet


er


s



功能


Description



MappAlloc()


InitFlag, ApplicationIdPtr


分配一个


MIL


应用



Allocate a MIL application.


MappAllocDefault()


nitFlag, ApplicationIdPtr, SystemIdPtr,


分配


MIL


默认应用

< br>


DisplayIdPtr, DigIdPtr, ImageBufIdPtr


Allocate MIL application defaults.


MappControl()


ControlType, ControlFlag


控制应用环境的设置



Control an application environment setting.


ApplicationId


释放


M IL


应用



MappFree()


Free a MIL application.


MappFreeDefault()


ApplicationId, SystemId, DisplayId,


释放


MIL


默认应用



DigId


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,


给一个事件创建回调函数(指向函数的指针)



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 hardware system.


MsysControl()


SystemId, ControlType, ControlFlag


控制系统的行为



Control system behavior.


MsysF


r

< p>
ee()



SystemId


释放系统



Free a system.


MsysHookFuntion()



SystemId, HookType,


给一个系统时间创建回调函数



HookHandlerPtr, UserDataPtr


Hook a function to a system event.


MsysInquire()



SystemId, ParamToInquire,


查询系统参数设置



UserVarPtr


Inquire about a system parameter setting.



Blob


分析模块



Blob analysis


module


用于鉴定和测量图像中的连通域(


blobs




Used to identify and measure connected components (blobs) in an image.


指令


Commands






形参


Command paramet


er


s



SystemId,


F


eatur< /p>


eLis


tIdPtr



SystemId,


Bl


obResIdPtr



BlobIdentImageId, GrayImageId,


FeatureListId, BlobResId


BlobResId, Procmode,


V


alue


MblobAll


ocF


eatur


eLis

< br>t()



MblobAllocResult()


MblobCalculate()


MblobContr


ol()



功能


Description



分配一个


blob


分析特征列表



Allocate a blob analysis feature list.


分配一个


blob


分析结 果指针



Allocate a blob analysis result buffer.


执行


blob


分析计算



Perform blob analysis calculations.


控制


blo b


分析处理方式的设置



Control a blob analysis processing mode setting.


在图像指针上绘制特定的


blob


结果特征



Draw features of specified blob results in an


image buffer.


绘制满足特定标准的斑点(


blobs


),比如移除不


想要的连通域或高亮显示想要的斑点(


blobs




Draw blobs that meet a specified fill criterion.


释放


blob


分析结果指针或特征列表



Free the blob analysis result buffer or the feature


list.


在指定的位置获得


blob


编号



Get the label value of a blob at a specific position.


获得现在包括的斑点(


blobs


)的个数



Get the number of currently included blobs.


读取包括的连通域的特征值



Read feature values of the included blobs.


获得单一连通域的特征值



Read the feature value of a single blob.


获得< /p>


blob


行程编码信息



Get the blob run-length encoding information.


查询


blob

分析的处理方式



Inquire about a blob analysis processing mode.


绘制带有标签的图像



Draw a labeled image.


复制满足特定条件的斑点(


b lobs


)到新图像内存



Reconstruct blobs (or blob holes) in an image


buffer.


为计算和结果恢复选择斑点(< /p>


blobs




Select blobs for calculations and result retrieval.


选择需要计算的特征,特征值见下页



Select feature(s) to be calculated. See complete


feature list on the following page.


向特征列表中添加包络角



Add Feret angle to the feature list.


向特征列表中添加特定矩计算



Add specified moment calculations to the feature


list.


MblobDraw()


MblobFill()


GraphContId,


ResultId, DestImageId,


Operation, Label, ControlFlag


BlobResId, DestImageBufId,


Crit


eria,


V


alue


Mbl

< br>obF


r


ee()



MblobGetLabel()


MblobGetNumber()


MblobGetResult()


MblobGetResultSingle()


MblobGetRuns()


MblobInquir


e()





Bl


obId



BlobResId,


XPos, YPos,


LabelV


arPtr



BlobResId, CountVarPtr


BlobResId, Feature,


T


a


r


getArr


ayPtr


BlobResId, LabelVal,


F


eatur


e,

< br>T


a


r


getArr

< p>
ayPtr


BlobResId, LabelVal, ArrayType,


RunXPtr,


RunYPtr,


RunLengthPtr


BlobResId,


InquireType,


UserV


arPtr



BlobResId, DestImageBufId, Mode


SrcImageBufId, SeedImageBufId,


DestImageBufId,


Operation,


ProcMode



MblobLabel()


MblobReconstruct()



MblobSelect()


MblobSelectFeature()


MblobSelectFeret()


MblobSelectMoment()


BlobResId, Operation,


F


eatur


e,


Condition,


CondLow,


CondHigh


FeatureListId,


F


eatur


e



FeatureListId, Angle


FeatureListId,


MomType,


XMomOrder,


YMomOrder


Blob


特征



Blob


features


对于< /p>


MblobSelectFeature()


指令,以下特征可以 被计算:



For the MblobSelectFeature() command, the feature(s) that can be


c


a


l


culat


ed


include(s):



M_AREA, the number of foreground pixels in a blob.




一个


bl ob


(斑点)块中的前景像素个数



M_BOX_X_MIN, M_BOX_Y_MIN, M_BOX_X_MAX, M_BOX_Y_MAX, the coordinates of the extreme left, top, right and bottom


pixels, respectively, of a blob.



分别 计算在一个


blob


块中最左、上、右和下方的像素

< p>


M_BREADTH, a measure of the true breadth of an object.



物体的宽度



M_CHAIN_INDEX, this is the index which differentiates chains in a blob.



不同链的索引



M_CHAIN_Y, M_CHAIN_X, these are the x and y coordinates of each chained pixel.



每个链索引的< /p>


X



Y


坐标



M_COMPACTNESS, a minimum for a circle and is derived from the perimeter and area.



紧密度


< p>
等于


p


2


/



4


π


A

< br>)


p


为周长


A


为面积



M_CONVEX_PERIMETER, an approximation of the perimeter of the convex hull of a blob.



一个


blob


凸包的周长近似值



M_ELONGATION, equal to M_LENGTH over M_BREADTH.


伸长率



等于长度与宽度的比值



M_EULER_NUMBER, the number of blobs minus the number of holes.


欧拉数


blob


的数量减去空洞的数量



M_FERET_X, M_FERET_Y, the dimensions of the minimum bounding box of a blob in the horizontal and vertical directions


(respec-tively).



在水平和垂直方向上,一个


blob


的最小边界框的规模



M_FERET_MIN_DIAMETER, the smallest Feret diameter found after checking a certain number of angles.



在特定方向上最小包络直径



M_FERET_MIN_ANGLE, the angle at which the minimum Feret diameter is found.



找到最小包络直径的角度



M_FERET_MAX_DIAMETER, the largest Feret diameter found after checking a certain number of angles.



在特定方向上最大包络直径



M_FERET_MAX_ANGLE, the angle at which the maximum Feret diameter is found.



找到最大包络直径的角度



M_FERET_MEAN_DIAMETER, the average Feret diameter at all the angles checked.


在所有方向上平均包络直径



M_FERET_ELONGATION, a measure of the shape of a blob.



一个

< br>Blob


伸长率



M_FIRST_POINT_X, M_FIRST_POINT_Y, a unique point for each object, which is always on the perimeter of the object.


最左上角的


X



Y


坐标



M_INTERCEPT _0, _45, _90, _135, the number of times that a transition from background to foreground occurs at the


given angle for the entire blob.



在整个


blob

上,在特定的倾角上,从背景到前景的过多次数



M_LABEL_VALUE, the label value for each blob in an image.



每幅图片中,为每 个


blob


标号



M_LENGTH, a measure of the true length of an object.



测量物体的真实长度



M_NUMBER_OF_CHAINED_PIXELS, this is the number of chained pixels for all blobs or a specified blob.


特定的


blob


或所有


blob


的链像素的数量



M_NUMBER_OF_HOLES, the number of holes in a blob.



Blob


中孔洞的数量



M_NUMBER_OF_RUNS, the total number of horizontal strings of consecutive foreground pixels in a blob.




1



blob


中的水平方向上 ,所有前景像素的总数量



M_PERIMETER, the total length of edges in a blob (including the edges of any holes).



1

< p>


blob


中边缘的总长度(包括孔洞的边缘)< /p>



M_ROUGHNESS, a measure of how rough a blob is.



1

< p>


blob


的粗糙程度



M_X_MIN_AT_Y_MIN, M_X_MAX_AT_Y_MAX, M_Y_MIN_AT_X_MAX, M_Y_MAX_AT_X_MIN, these values, together with


the four box coordinates, give four contact points on the convex perimeter of the object.



结合


box


(框)的


4


个坐标,给出了凸 面体的


4


个接触点





对于灰度图像:



For a grayscale image:


M_MEAN_PIXEL, the mean pixel value in a blob.



1



blob


中的平均像素值



M_MIN_PIXEL, the minimum pixel value found in a blob.



1



blob


中最小的像素值



M_MAX_PIXEL, the maximum pixel value found in a blob.



1



blob


中最大的像素值

< br>


M_SIGMA_PIXEL, the standard deviation of pixel values in a blob.


< /p>


1



blob


中 像素值的标准差



M_SUM_PIXEL, the sum of all pixel values in a blob.



1



blob


中所有像素值之 和



M_SUM_PIXEL_SQUARED, the sum of the squares of each pixel value in a blob.



1



blo b


中所有像素值平方和





以下特征有两种不同定义:二值化(所有像素被认为是相等的 );灰度级(在灰度图中,像素的权重为它们的灰度阶)



The following features have two different definitions: a binary one, where all pixels are considered equal; and a grayscale one,


where pixels are weighted by their value in the gray scale image.


M_CENTER_OF_GRAVITY_X, the x position of the center of gravity of a blob.



1



blob


质心 的


X


坐标



M_CENTER_OF_GRAVITY_Y, the y position of the center of gravity of a blob.


1



blob


质心的


Y


坐标



M_MOMENT_Xn_Ym and M_MOMENT_CENTRAL_Xn_Ym for central moments; coordinates are relative


to each blob’s center


of gravity; ordinary moments use coordinates relative to the image origin.



中心矩和二阶矩



M_AXIS_PRINCIPAL_ANGLE, the angle at which a blob has the least moment of inertia.



主轴线


1


blob


具有最小惯性矩的角度



M_AXIS_SECONDARY_ANGLE, the angle perpendicular to M_AXIS_PRINCIPAL_ANGLE.



次轴线



垂直于主轴的轴线




以下预先设定的值,在一次调用中,用户可以选择所有特征:



The following predefined values let the user select groups of features in a single call:


M_BOX, adds all 4 box features plus x and y Ferets.



添加


4



box


特征加上

< br>X



Y


包络(??)



M_CONTACT_POINTS, adds first point and other contact features.



添加




1< /p>


点和其它接触特征



M_CENTER_OF_GRAVITY, adds both x and y coordinates of the center of gravity.



添加



质心


X



Y


坐标



M_ALL_FEATURES, adds all features (except general Feret and general moment).



添加所有特征(除了一般包络和一般矩)



M_NO_FEATURES, removes all features (except label value).



移除



所有特征(除了标记值)



M_CHAINS, adds all 4 chain features.



添加



所有


4


个链的特征




针对某个特征,用户可以设置以下排序方式,从而在结果检索 时指定


1


个排序关键字:



You can add the following sorting options to a feature to specify it as a sorting key during result retrieval:



M_SORTn_DOWN, specifies the feature as the nth sorting key (in a descending order) where n is an integer between 1 and


3.


指定特征为第


n



1~3< /p>


)排序关键字(降序)



M_SORTn_UP, specifies the feature as the nth sorting key (in an ascending order) where n is an integer between 1 and 3.


指定特征为第

< br>n



1~3


)排序关键字(升序 )



M_NO_SORT, removes the specified sorting key.


移除特定排序关键字




缓存与数据生成模块



Buffer and Data


generation modules


用于分配和控制一个数据缓存区,产生查找表或扭曲函数的数据。缓存区模块包括控制子缓存区、缓存压缩与解压 ,


定制核(用于卷积函数)或者结构元素(用于形态学函数),缓存存档和恢复。



Used to allocate and control


a data buffer, and to generate data for the LUT and the warp function. The Buffer module includes


control


of a child buffer


(ROI),


buffer compression and decompression, custom kernel


or structuring element, and


buffer


archiving and


r


etrie


ving.




命令


Commands


MbufAlloc1d()


MbufAlloc2d()


MbufAllocColor()


MbufBayer()


形参


Command parameters


SystemId, SizeX, Type, Attribute,


BufIdPtr


SystemId, SizeX, SizeY, Type, Attribute,


BufIdPtr


SystemId, SizeBand, SizeX, SizeY, Type,


Attribute, BufIdPtr


SrcImageBufId, DestImageBufId,


WhiteBalanceCoefficientsID,


ControlFlag


ParentBufId, OffX, SizeX, BufIdPtr


MbufChild1d()


MbufChild2d()


ParentBufId, OffX, OffY, SizeX, SizeY,


BufIdPtr


ParentBufId, Band, BufIdPtr


MbufChildColor()


MbufChildColor2d()


ParentBufId, Band, OffX, OffY, SizeX,


SizeY, BufIdPtr


BufferID, OffsetX, OffsetY,SizeX, SizeY


ControlFlag


DestImageBufId, Color



BufId, ControlType, ControlValue


MbufChildMove()


MbufClear()


MbufControl()


MbufControlNeighborhoo


Bufld, OperationFlag, OperationValue


d()


MbufControlRegion()


MbufCopy()


BufId, OffsetX, OffsetY, SizeX, SizeY,


SrcBufId, DestBufId


MbufCopyClip()


SrcBufId, DestBufId, DestOffX,


描述


Description


分配一个一维缓存区



Allocate a 1D data buffer.


分配一个二维缓存区



Allocate a 2D data buffer.


分配色彩数据缓存区



Allocate a color data buffer.

从单通道解码色彩信息,拜耳彩色编码图


像,可进行白平衡校正和伽玛校正




Decode the color information of a single-


band, Bayer color-encoded image.


分配一个一维子缓存区,为父缓存区的一


部分,不是开辟新的缓存区,对子缓存区


的修改将影响到父缓存 区,反之亦然。



Allocate a 1D child data buffer.


分配一个二维子缓存区



Allocate a child buffer from a specific region


of the parent buffer.


从父颜色通道里选择一个通道作为子颜色


数据



Allocate a color-band child data buffer


within a color parent buffer.


从父颜色通道里分配子数据



Allocate a child data buffer within a color


parent buffer.


移动和调整子缓存区的大小



Move and resize a child buffer within the


parent buffer


清除缓冲区到指定颜色



Clears a buffer to a specified color.


控制指定缓存特征



Control specified buffer features.


改变核或者结构元素缓存的 操作类型。当


使用核或结构元素时,该操作设置如何执


行邻域操 作。



Change an operation control type setting of


a kernel buffer or structuring element buffer


控制缓存区的一片区域



Control a specified region of a buffer.


从一个缓存区拷贝数据到另一个缓存区


(可以进行随意的压缩和 格式转换)



Copy data from one buffer to another


(optionally with compression or format


conversion).


拷贝指定区域的数据



DestOffY


MbufCopyColor()


MbufCopyColor2d()


MbufCopyCond()


MbufCopyMask()


MbufCreateColor()


MbufCreate2d()


MbufDiskInquire()




MbufExport()


MbufExportSequence()


MbufFree()


MbufGet1d()


Copy buffer, clipping data outside


destination buffer.


SrcBufId, DestBufId, Band


复制 一幅图像的颜色的一个通道或多个通




Copy one or all bands of an image buffer.


SrcBufId, DestBufId, ScrBand, ScrOffX,



复制一个通道或多个通道的二维区域,用


来从色彩缓存里插入和提取色彩元素



Copy a 2D region of one or all bands of an


image buffer to another buffer.


SrcBufId, DestBufId, CondBufId,


复制满足条件的像素到指定缓存区



Copy conditionally the source buffer to the


destination buffer.


SrcBufId, DestBufId, MaskValue


复制带有模板的缓存区



Copy buffer with mask.


SystemId, SizeBand, SizeX, SizeY, Type,


创建一个颜色缓存



ControlFlag, Pitch, ArrayOfDataPtr


Create a color data buffer.


BufIdPtr


SystemId, SizeX, SizeY, Type, Attribute,


创建一个二维数据缓存区



Create a two-dimensional data buffer.


FileName, ParamToInquire,


查询一个文件中的缓存数据



UserVarPtr


Inquire about the buffer data in a file.


FileName, FileFormat, SrcBufId


导出图像数据到文件



Export a data buffer to a file.


FileName, FileFormatId, BufArrayPtr,



将一系列图像导出成


AVI


视频



Export a sequence of image buffers to an AVI


file.


BufId


释放分配的缓存区



Free a data buffer.


SrcBufId, OffX, SizeX, UserArrayPtr


从一维区域内获取数据,然后放到用户指

< br>定数组



Get data from a 1D area of a buffer and


place it in a user-supplied array.



SrcBufId, OffX, OffY, SizeX,


SizeY, UserArrayPtr


SrcBufId, UserArrayPtr


从二维区域 内获取数据,然后放到用户指定


数组



Get data from a 2D area of a buffer and


place it in a user-supplied array.



MbufGet2d()


MbufGet()


MbufGetArc()


MbufGetColor()


MbufGetColor2d()


从缓存区里获得数据,然 后放到用户指定数




Get data from a buffer and place it in a user-


supplied array.


ImageBufId, XCenter, YCenter, XRad


YRad, StartAngle, EndAngle, NbPixelsPtr,


读取指定 圆弧内的数据,并存储到用户指定


UserArrayPtr


数组



Read the pixels along a specified arc and store


their values in a user-defined array.


SrcBufId, DataFormat, Band,


从缓存区里读取一个或多个通道数据,并存


UserArrayPtr


储到用户指定数组



Get data from one or all bands of a buffer and


place it in a user-supplied array.


SrcBufId, DataFormat, Band, OffX, OffY,


从缓存区里读取一个或多个通道数据,并存


SizeX, SizeY, UserArrayPtr


储到用户指定数组



Get data from a region of one or all bands of a


buffer and place it in a user-supplied array.


MbufGetHookInfo()


MbufHookFunction()


MbufGetLine()


EventId, InfoType, UserVarPtr


BufferId, HookType, HookHandlerPtr,


UserDataPtr


获得一个回调事件的信息



Get information about a hook event.


回调函数接口



Hook a function to a buffer event.


ImageBufId, StartX, StartY, EndX, EndY,


读取理论直线上的像素,计数,并存储到用


Mode, NumPixelsPtr, UserArrayPtr


户指定数组



Read the pixels of a theoretical line between


specified coordinates, count them, and store


them in a user-defined array.


FileName, FileFormat, Operation,


SystemId, BufIdPtr


从文件中导入数据到缓存区



Import data from a file into a data buffer.


MbufImport()


MbufImportSequence()


FileName,


FileFormatId,


Operation,



AVI


视频导出成一系列的图片



SystemId,


BufArrayPtr,


StartImage,


NumberOfImages, ControlFlag


Import a sequence of images from an AVI file


into separate image buffers.


BufId, ParamToInquire, UserVarPtr


FileName, BufId


DestBufId, UserArrayPtr


查询指定缓存区设置信息



Inquire about a data buffer parameter setting.


从文件中加载数据到指定缓存区



Load data from a file into a data buffer.


MbufInquire()


MbufLoad()


MbufPut()


MbufPutColor()


MbufPutColor2d()


MbufPutLine()


MbufPut1d()


将用户自定义图像数组拷贝到特定的


MIL



存区



Put data from a user-supplied array into a data


buffer.


DestBufId, DataFormat, Band,


将用户自定义图像数组拷贝到特定的

< p>
MIL



UserArrayPtr


通道或多通道缓存区



Put data from a user-supplied array into one or


all bands of a data buffer.


DestBufId, DataFormat, Band, OffX, OffY,


将用户自定义图像数组拷贝到特定的


MIL



SizeX, SizeY, UserArrayPtr


通道或多通道缓存区



Put data from a user-supplied array into a


region of one or all bands of a data buffer.


ImageBufId, StartX, StartY, EndX, EndY,


从用户自定义数组中读取数据,并将其写成


Mode, NumbPixelsPtr, UserArrayPtr


一连串像素值



Write a specified series of pixels within


specified coordinates, along a theoretical line.


DestBufId, OffX, SizeX, UserArrayPtr


将用户自定义数组转换成

< br>MIL


指定的一维缓




Put data from a user-supplied array into a 1D


area of a buffer.


DestBufId, OffX, OffY, SizeX, SizeY,


UserArrayPtr


将用户自定义数组转换成


MIL


指定的二维缓




Put data from a user-supplied array into a 2D


area of a buffer.


从文件里恢复数据,然后赋值给自动分配的


缓存



Restore data from a file into an automatically


allocated data buffer.


MbufPut2d()


MbufRestore()


FileName, SystemId, BufIdPtr


MbufSave()


FileName, BufId < /p>


使用


MIL


特定的格式,将缓存的数据存 入文




Save a data buffer in a file, using the MIL


output file format.


MbufTransfer()


SrcBufId, DestBufId, SrcOffX, SrcOffY


SrcBand, DestOffX, DestOffY, DestSizeX


将带有一个通道或多个通道的源数据,通过


DestSizeY DestBand, TransferFunction


转换函数或者转换格式,复制到目标缓存区



TransferType, OperationFlag


Copy a 2D region of one or all bands from the


ExtraParameter


source buffer into a 2D region of one or all


bands in the destination buffer, using a


specified transfer function and transfer type


file format.


LutBufId, Func, a, b, c, StartIndex,


StartXValue, EndIndex


使用特定的函数生成查找表缓存



Generate data into a LUT buffer using a


specified standard mathematical function.


MgenLutFunction()


MgenLutRamp()


MgenWrapParameters()


LutId, StartIndex, StartValue, EndIndex,


为查找表缓存生成一个斜坡数据



EndValue


Generate ramp data into a LUT buffer.


InWarpParameter, OutXLutOrCoef,


为扭曲函数


MimWarp( )


生成系数或查找表



OutYLut, OperationMode,


Generate coefficients or LUTs for use with


Transform,


MimWarp().


Val1, Val2


标定模块



Calibration module


将坐标值和测量值从 像素单位转换成真实单位(毫米),同时具有去除图像畸变的功能



Used to convert coordinates or measurements from pixel to


real-world


units, as well as to correct


distortions


in an image.


指令


Commands






形参


Command paramet


er


s



Mode,


ModeFlag, CalibrationIdPtr


功能


Description



分配


1


个标定对象



Allocate a calibration object.


McalAlloc()


McalAssociate()


t


o/fr


om


CalibrationId, ImageOrDigitizerId,


给图像或相机关联


/


分离一个标定对象



Associate/disassociate a calibration object


ControlFlag an image or digitizer.


McalControl()


Mc


alF


r


ee()



CalibrationId, ControlType,


ControlValue


CalibrationId


控制标定对象的设置



Control a calibration object parameter setting.


释放标定对象



Free a calibration object.


McalGrid()


CalibrationId, SrcImageBufId,


GridOffsetX,


GridOffsetY,


GridOffsetZ,


RowNumber,


ColumnNumber, RowSpacing,


ColumnSpacing, Mode,


ModeFlag


CalibrationOrMilId, InquireType,


UserV


arPtr



使用标定板对图像进行标定



Calibrate your imaging setup using a grid.


Mc


alInquir


e ()



查询标定对象设置或者与相机和图像关联的对象



Inquire about a calibration object setting or about


the calibration object associated to an image or


digitizer.


使用一系列的坐标对图像进行标定



Calibrate your imaging setup using a list of


coordinates.


改变坐标系的原点和方向



Change the origin and/or orientation of a relative


coordinate system.


从标定文件中恢复标定对象



Restore a calibration object from a file.


保存标定文件



Save a calibration object to a file.


Mc

< p>
alLis


t()



CalibrationId, XPixArray,


YPixArray,


XWorldArray,


YWorldArray,


ZWorld, NumPoint,


Mode,


ModeFlag


CalibrationId,


XOffset,


Y


Offset,


ZOffset,


AngularOffset, ControlFlag


McalRelativeOrigin()


McalRes


t


o


r


e


()



FileName, ControlFlag,


CalibrationIdPtr


FileName, CalibrationId,


ControlFlag


MemPtrOrFileName, SystemId,


Operation,


StreamType,

< p>
V


e


r


sion,


ControlFlag, CalibrationIdPtr


SizeByteVarPtr


CalibrationOrMilId,


T


r


ansformT


ype,


X,


Y, ResXPtr,


ResYPtr


McalSave()


McalStream()


McalT


r


ansformCoordina t


e()




/


向文件或内存中加载、恢复或保存


标定对象

< br>


Load, restore, or save a calibration


object from/to a file or a memory.


在真实值(毫米数)与像素值之间转换



Convert coordinates between world and


pixel values.


将一系列的坐标值在真实值(毫 米数)与像


素值之间转换



Convert a list of coordinates between their


world and pixel values.


通过物理上变换去除图像畸变



Physically transform an image to remove


any distortions.


McalT


r


ansformCoordinateLis


t( )



CalibrationOrMilId,


T


r


ansfr


omT


ype,


NumPoints, SrcXPtr, SrcYPtr,


ResXPtr,


ResYPtr


SrcImageBufId,


DestImageBufId,


CalibrationId,


Int


erpolationMode,


OperationType,


ControlFlag < /p>


McalT


r


ansformImage ()


McalT


r


ansformR esult()


CalibrationOrMilId,


T


r


ansformT


ype,


ResultType,


Result, ResResult


将结果在世界和像素坐标系之间转换



Convert a result between world and pixel


value.


Digitizer module



Used to initialize


and control


a digitizer


(image capture


device).


This module includes control


of capture mode


(trigger,



frame/field,


blocking/non- blocking),


image scaling and cropping, input channel, input


LUT,


analog settings (references, hue,


saturation, and brightness) as well


as events for callback functions.


Commands





Command paramet


er


s





Description



Allocate a digitize


r


.



Select the active input channel of a digitize


r


.



Control the specified digitize


r


.



MdigAlloc()


MdigChannel()


MdigControl()


MdigFocus()


SystemId,


DigNum,


Dat


aF


ormat,


InitFlag, DigIdPtr


DigId, Channel


DigId,


ControlType,


V


alue


DigId, DestImageBufId,


Adjust a camera



s


l


ens


motor


to a position which


FocusImageRegionBufId,


FocusHookPtr,


p


r< /p>


ov


i


des


optimum focus.


UserDataPtr, MinPosition,


St


artP


osition,


MaxPosition, MaxPositionVariation,


ProcMode, ResultPtr


DigId


ScrDigId, DestImageBufId


DigId, DestImageBufId


DigId, Flag


DigId


DigId,


HookType,


HookHandl


erPtr,


UserDat


aPtr



DigId,


InquireType,


UserV


arPtr



DigId, LutBufId


DigId, DestImageArrayPtr, ImageCount


Operation, OperationFlag,


HookHandlerPtr,


UserDat


aPtr



DigId,


ReferenceType,


ReferenceLevel


F


r


ee


a digitize


r


.



Grab data from


an input


device


into a


buf f


e


r


.



Grab data continuously from


an input device.


Wait for the end of the grab in


pr


ogr


ess.



Halt a continuous grab from


an input device.


Hook a function to a digitizer


event.


Inquire about a digitizer


parameter setting.


Copy


a LUT buffer to a digitizer


LUT.


Grabs a sequence of images and process them


with a user-defined function as they are grabbed.


Select digitization reference


l


e


v


el.


MdigF


r


ee()



MdigGrab()


MdigGrabContinuous()


MdigGrabWait()


MdigHalt()


MdigHookFunction()


MdigInquire()


MdigLut()


MdigProcess()


MdigReference()



Display


module





Used to initialize


and


c


o ntr


o


l


an image display. This module includes


c

< br>ontr


o


l


of image display windows, graphics overlay, outpu


t



LUT,


image pan, scroll,


and zoom.


Commands



MdispAlloc()


MdispControl()


MdispF


r


ee()



MdispHookFunction()


MdispInquir


e()



MdispLut()


MdispPan()


MdispSelect()


MdispSelectWindow()


MdispZoom()



Command paramet


er


s




Description



Allocate a display.


Control the MIL display.


F


r


ee


a display.


Hook a function to a display event.


Inquire about a display parameter setting.


Copy


a LUT buffer to a display output LUT.


Pan and scroll


a display.


Select an image buffer


to display.


Select an image buffer


to display in a


user-


defined window.


Zoom a display.


SystemId,


DispNum,


DispF


ormat,


InitFlag, DisplayIdPtr


DisplayId,


ControlType,


ControlValue


DisplayId


DisplayId,


HookType,


HookHandl


erPtr,


UserDat


aPtr



DisplayId,


InquireType,


UserV


arPtr



DisplayId, LutBufId


DisplayId,


XOffset,


Y


Offset



DisplayId, ImageBufId


DisplayId, ImageBufId,


ClientWindowHandle


DisplayId, XFactor, YFactor


Edge Finder


module





Used to extract and analyze object contours or thin curvilinear


f


eatur


es.



Commands


MedgeAlloc()


MedgeAllocResult()


MedgeCalculate()


Command parameters



SystemId, EdgeFinderType,


ControlFlag,



Cont


e


xtIdPtr



Description



A


ll


o


c


a

< p>
t


e


an


Edge


Finder


c


ont


e


xt.


SystemId,


ControlFlag, EdgeResultIdPtr, Allocate an


Edge


Finder


result


buff


e

< p>
r


.


ContextId, SourceImageId,


Perform


edge extraction and


f


eatur


e



SourceDeriv1Id,


SourceDeriv2Id,


c


a


l


culations.


SourceDeriv3Id, EdgeResultId,


Contr


o


lFlag


ContextOrResultId, ControlType,



ControlValue


Control an


Edge


Finder context or an


Edge


Finder



result


buff


e


r


.




MedgeControl()




MedgeDraw()



Medg eF


r


ee()



MedgeGetNeighbors()


GraphContId, EdgeResultId,


DestImageId, Draw specific edge features in the destination


Operation,


IndexOrLabel,


ControlFlag



image


buff


e


r


.



ObjectId


F


r


ee


an


Edge


Finder context or an


Edge


Finder


result


buff


e

< p>
r


.





EdgeResultId,


SizeOfArray,


SrcArrayXPtr


Get


edgels from


an


Edge


Finder


result


buffer


SrcArrayYPtr, SrcArrayAnglePtr,



that are the closest neighbors to a list


of


DstArrayXPtr, DstArrayYPtr,


user-specified point


c


oordinat


es.


DstArrayIndexPtr,


Ds


tArr


ayLabelPtr,


ControlFlag


EdgeResultId,


EdgeIndexOrLabelValue,


Get


results


of the included edges from


an Edge


ResultType,


FirstResultArrayPtr,


Finder


result


buff


e

< p>
r


.



SecondResultArrayPtr


ContextOrResultId, InquireType,


UserVarPtr



ContextId, MaskImageId, ControlFlag



Filename,


SystemId,


ControlFlag,



Cont


e


xtIdPtr



FileName, ContextOrResultId,


ControlFlag



Inquire about an


Edge


Finder context or an Edge


Finder


result

buff


e


r


.

< br>


M


ask


r


egions


of the image.


MedgeRes


t


o


r


e


()


< /p>


Res


t


o


r< /p>


e


an


Edge


Finder context from


disk.


Save


an


Edge


Finder context to a file, or save


edge chains and/or edge approximations from


an


Edge


Finder


result


buffer


to a


CAD


(Comput


er-



Aided Design)


fil


e.



Select edges for


c


a


l


culations and


result


r


etrie


v


al.


L


oad, restore, or


save


an


Edge


Finder


c


ont


e


xt


from/to


a file or memory, or


save


c


a


l


culat


ed


edges from


an


Edge


Finder


result


buffer


to a


file or memory in


DXF


f


ormat.



MedgeGetResult()



MedgeInquire()


MedgeMask()




MedgeSave()



MedgeSelect()



MedgeStream()


EdgeResultId,


Operation, Feature,



Condition,


Pa


r


am1,



Pa


r


am2



MemPtrOrFileName, SystemId,


Operation,


StreamType,

< p>
V


e


r


sion,



ControlFlag, ContextOrResultIdPtr,


SizeByteVarPtr




Edge


features




For the


MedgeGetResults()


command, the feature(s) that can be


c


a


l


culat< /p>


ed


include(s):


M_AVERAGE_STRENGTH,


returns


the


average


strength


value of each edge.


M_BOX_X_MAX,


returns


the X-coordinate of each edge's right- most edgel.


M_BOX_X_MIN,


returns


the X-coordinate of each edge's


left-most


edgel.


M_BOX_Y_MAX,


returns


the Y-coordinate of each edge's bottom- most


edgel.


M_BOX_Y_MIN,


returns


the Y-coordinate of each edge's top-most


edgel.


M_BULGES,


returns


the bulge values between vertices.


M_CENTER_OF_GRAVITY,


returns


the coordinates of each edge's center of gravity.


M_CENTER_OF_GRA


V ITY_X,



returns


the X-coordinate of each edge's center of gravity.


M_CENTER_OF_GRAVITY_Y,


returns


the


Y-c


oordinat


e



of each edge's center of gravity.


M_CIRCLE_FIT_CENTER_X,


returns


the X-coordinate of the center of the


cir


cl


e



that is the best fit for each edge.


M_CIRCLE_FIT_CENTER_Y,


returns


the Y-coordinate of the center of the


cir


cl


e



that is the best fit for each edge. Continued...



Edge


features


(continued)



M_CIRCLE_FIT_COVERAGE,


returns


the


c


o


v


e


r


age


of the circle


that is the best fit for each edge.


M_CIRCLE_FIT_ERROR,


returns


the fit error


of the circle


that is the best fit for each edge.


M_CIRCLE_FIT_RADIUS,


returns


the radius of the circle


that is the best fit for each edge.


M_CHAIN,


returns


the coordinates of the


edge(s)'s


edgels.


M_CHAIN_ANGLE,


returns


the direction of the


edge(s)'s


edgels.


M_CHAIN_CODE,


returns


the


edge(s)'s


chain code.


M_CHAIN_INDEX,


returns


the index of the


edge(s)'s


edgels.


M_CHAIN_MAGNITUDE


+


M_CHAIN_ANGLE,


returns


the magnitude values and the angle values of the


edge(s)'s


edgels.


M_CHAIN_MAGNITUDE,


returns


the magnitude values of the


edge(s)'s


edgels.


M_CHAIN_X, Y,


returns


the


X


or Y-coordinates of the


edge(s)'s


edgels.


M_CLOSURE,


Returns the closure of each edge.


M_CONVEX_PERIMETER,


returns


the


convex


elongation of each edge.


M_ELLIPSE_FIT_ANGLE


,


returns


the angle of the ellipse that is the best fit for each edge.


M_ELLIPSE_FIT_CENTER_X, Y,


returns


the


X


or Y-coordinate of the center of the ellipse that is the best fit for each edge.


M_ELLIPSE_FIT_COVERAGE,


returns


the


c


o


v


e


r


age


of the ellipse that is the best fit for each edge.


M_ELLIPSE_FIT_ERROR,


returns


the fit error


of the ellipse that is the best fit for each edge.


M_ELLIPSE_MAJOR_AXIS,


returns


the major axis of the ellipse that is the best fit for each edge.


M_ELLIPSE_MINOR_AXIS,


returns


the minor axis of the ellipse that is the best fit for each edge.


M_FAST_LENGTH,


returns


the fast


l


ength of each edge.


M_FERET_BOX,


returns


the X- and Y-Feret values of each edge.


M_FERET_ELONGATION,


returns


the Feret elongation of each edge.


M_FERET_MAX_ANGLE,


returns


the maximum Feret angle of each chain, in degrees.


M_FERET_MAX_DIAMETER,


returns


the maximum Feret diameter of each edge.


M_FERET_MEAN_DIAMETER,


returns


the


average


Feret diameter at all


the angles checked.


M_FERET_MIN_ANGLE,


returns


the minimum


Feret angle of each chain.


M_FERET_MIN_DIAMETER,


returns


the minimum


Feret diameter of each edge.


M_FERET_X, Y,


returns


the


X


or Y-Feret value of each edge.


M_FIRST_POINT,



returns


the coordinates of each edge's first


point.


M_FIRST_POINT_X, Y,



returns


the


X


or Y-coordinate of each edge's first


point.


M_GENERAL_FERET,



returns


the general Feret of each edge.


M_LABEL_VALUE,


returns


the label


value of each edge in an image.


M_LENGTH,


returns


the


l


ength of each edge.


M_LINE_FIT_A


, _B,


_C,


returns


the A, B or C variable of the line that is the best fit for each edge.


M_LINE_FIT_ERROR,


returns


the fit error


of the line that is the best fit for each edge.


M_MOMENT_ELONGATION,


returns


the moment elongation of each edge.


M_MOMENT_ELONGATION_ANGLE,


returns


the angle of the principle


axis along each edge's moment


el


ongation.


M_NUMBER_OF_CHAINED_EDGELS,


returns


the total number of edgels in the edge(s).


M_NUMBER_OF_CHAINS,


returns


the number of included edges.


M_NUMBER_OF_VERTICES,


returns


the


t


o


t


a


l


number of chain approximation vertices in the edge(s).


M_POSITION,


returns


the X- and Y-position of each edge.


M_POSITION_X, Y,


returns


the


X


or Y-position of each edge.


M_SIZE,


returns


the number of edgels in each edge.


M_STRENGTH,


returns


the


strength


value of each edge.


M_TORTUOSITY,


returns


the tortuosity


measure of each edge.


M_VERTICES,


returns


the coordinates of the chain approximation's


vertices.


M_VERTICES_X, Y,


r


eturns



the


X


or Y-coordinates of the chain approximation's


vertices.


M_X_MAX_AT_Y_MAX,


returns the



maximum X-coordinate at the maximum Y-coordinate of each edge.


M_X_MIN_AT_Y_MIN,


returns the



minimum


X-coordinate at the minimum


Y-coordinate of each edge.


M_Y_MAX_AT_X_MIN,


returns the



maximum Y-coordinate at the minimum


X-coordinate of each edge.


M_Y_MIN_AT_X_MAX,


returns the



minimum


Y-coordinate at the maximum X-coordinate of each edge.


Function Developer



s


T


oolkit



The MIL Function


De

v


e


l


oper's Toolkit allows programmers


to define functions to extend MIL's functionality.


Using this


t


oolkit,


you can implement


functions and integrate them directly into the MIL library,


where they


behave


like standard MIL functions


.,


respecting error


handling and


tr


acing).




Commands





Command paramet


er


s




Description



Allocate a MIL function context for your


user-


defined function.


MfuncAlloc()


FunctionName,


Pa


r


ameterNumber,


SlaveFunctionPtr, Reserved1,


Reserved2,


SlaveFunctionOpcode,


InitFlag,


F


uncIdPtr


FunctionId,


ObjectType,


ObjectPtr


F


unctionId


MfuncAllocId()


MfuncCall()


MfuncErrorReport()


Associate a MIL identifier


with a user-defined


object.


Execute the slave function.


Report an error


message.


FunctionId, ErrorCode,


Err


orMes


sage,


ErrorSubMessage1,


ErrorSubMessage2,


ErrorSubMessage3


F


unctionId


FunctionId, ObjectId


ObjectId, InquireType,


UserV


arPtr



F


unctionId


FunctionId,


Pa


r


a


mInde


x,



Pa


r


amV


alue


FunctionId,


Pa

r


a


mInde


x,



Pa


r


amV

< p>
alue


Pa


r


a


mIs, Requir


edAttribut


e



FunctionId,


Pa


r


a


mInde


x,



Pa


r


amV


alue,


Pa


r


amIs,


Pa


r


amAttribut


e



FunctionId,

Pa


r


a


mInde


x,



Pa


r


amV


alue


FunctionId,


Pa


r


a


mInde


x,



Pa


r


amV


alue


Size,


Attribut


e



FunctionId,


Pa


r


a


mInde


x,



Pa


r


amV


alue


Size,


Attribut


e



F


r


ee


a MIL function


c


ont


e


xt.


F


r


ee


the MIL identifier


associated with a


user-


defined MIL object.


Retrieve information


on a user-defined MIL


object.


Verify


whether parameter checking is


r


equir


ed.



Register a parameter of type double.


Register a MIL_ID paramet< /p>


e


r


.



Register a MIL_ID pointer paramet


er



Register a parameter of type


l


ong.



Register a pointer paramet


e< /p>


r


.



Register a


null-terminated


string


paramet


e


r


.



Mfunc F


r


ee()



MfuncF


r


eeId()



MfuncInquir


e()



MfuncParamCheck()


MfuncParamDouble()


MfuncParamId()


MfuncP


ar


amIdP


oint


er ()



MfuncParamLong()

< br>MfuncP


ar


amP


oin t


er()



MfuncP

< p>
ar


amString()


MfuncParamValue()


FunctionId,


Pa


r


a


mInde


x,



Pa


r


amV


aluePtr



Read


the value of the specified MIL function


par amet


e


r


.



Geometric


Model


Finder


module



Use geometric features ., contours) to find models in an image. This module includes functions to define models,


c


ontr


o


l


search strategy, and


save


and restore models.



Commands





Command paramet


er


s




Description



Allocate a model finder


c


ont


e


xt.


Allocate a model finder


result


buff


e

< p>
r


.



Control a model finder context setting.


Add a model to, or delete model from,


a model


finder


c


ont


e


xt.


Defines a model from


a file and adds it to a


Model Finder


c


ont


e


xt.


MmodAlloc()


MmodAllocResult()


MmodControl()


MmodDefine() < /p>


MmodDefineF


r


omFil< /p>


e()



SystemId, ModelFinderType,


ControlFlag,

Cont


e


xtIdPtr



SystemId,


ControlFlag, ModResultIdPtr


ContextId, Index, ControlType,


ControlValue


ContextId,


ModelType, Pa


r


am1,


Pa


r


am2,



Pa

< p>
r


am3,



Pa


r


am4,



Pa


r


am5



ContextId,


FileType,


Fil


ename,


ControlFlag



MmodDraw()



GraphContId,


ContextOrResultId,


DestImageId, Operation,


Index,


ControlFlag


ContextId,


T


a


r


getImageId,


ModResultId


ObjectId


ResultId, ResultIndex, ResultType,


ResultArrayPtr


ImageBufId, ModelId, FindResultId,


ResultRange


ContextId, Index, MaskBufferId,


MaskType,


ControlFlag


ContextId, ControlFlag


FileName,


SystemId,


ControlFlag,


Cont


e


xtIdPtr



FileName, ContextId, ControlFlag


MemPtrOrFileName, SystemId,


Operation,


StreamType,

< p>
V


e


r


sion


ControlFlag,


Cont


e


xtIdPtr,


SizeByteVarPtr



Draw features of specific models or


r


esult


occurrences in an image


buff


e


r


.



S


ea


r


c


h


for


the model(s) of the specified Model


Finder context in a


target


image buffer or in an


Edge


Finder


result


buff


e

< p>
r


.



F


r


ee


a measurement context, marker, or


r


esult


buff


e


r


.



Get


the model finder


result


values.


Inquire information


from


a specified model


finder


c


ont


e


xt.


Mask


r


egions


of a model


result


buff


e


r


.



Preprocess a model finder


c< /p>


ont


e


xt.


Res


t


o


r


e


a model finder context from


disk.


Save


a model finder context to a


fil


e.



Load, restore, or


save


a Model Finder


c


o nt


e


xt


from/to


a file or a memory


.



MmodFind()


MmodF


r


ee()



MmodGetResult()


MmodInquir


e()



MmodMask()


MmodPreprocess()


MmodRes


t


o

< br>r


e


()



MmodSave()


MmodStream()


Graphics


module



Used to create drawings and text annotations in an image. This module provides a set of graphics primitives


(arc, circle,


line,


and rectangle), control


of


c


o


l


or


(foreground, background, fill),


and text (font,


c


o


l


or,


size).



Commands





Command paramet


er


s




Description



Allocate a graphics


c


ont


e


xt.


Draw an


ar


c.



MgraAlloc()


MgraArc()


SystemId,


GraphContIdPtr


GraphContId,


DestImageBufId,


XCenter,


Y


Cent


er,


XRad,


YRad,


StartAngle, EndAngle


GraphContId,


DestImageBufId,


XCenter,


Y


Cent


er,



XRad,


YRad,


StartAngle, EndAngle


GraphContId,


Back


gr


oundCol


or



GraphContId,


DestImageBufId


GraphContId, Fo


r


e gr


oundCol


or



GraphContId, ControlType,


Contr


ol



GraphContId,


DestImageBufId, XPos,


YPos


GraphContId,


DestImageBufId,


NumberOfDots,


XPosArray,


YPosArray,


ControlFlag


GraphContId,


DestImageBufId,


XStart, YStart


GraphContId,


FontName


GraphContId,


XFontScale,


YFontScale


GraphContId


GraphContId,


InquireType,


UserV


arPtr



GraphContId,


DestImageBufId, XStart,


YStart, XEnd,


YEnd


GraphContId,


DestImageBufId,


NumberOfLines, XStartArray,


YStartArray,


XEndArray,


YEndArray


ControlFlag


GraphContId,


DestImageBufId, XStart,


YStart, XEnd,


YEnd


GraphContId,


DestImageBufId, XStart,


YStart, XEnd,


YEnd


GraphContId,


DestImageBufId, XStart,


YStart,


String


MgraArcFill()


Draw a filled


elliptic


ar


c.



MgraBackColor()


MgraClear()


MgraColor()


MgraContr


ol()



MgraDot()


MgraDots()


Sets the background


c


o


l


or


of a graphics


c


ont


e


xt.


Clear an image buffer to a specified


foreground


c


o


l


o


r

< br>.



Sets the foreground


c


o


l


or


of a graphics


c


ont


e


xt.


Control the specified graphics


c


ont

< p>
e


xt.


Draw a dot.


Draw one or more dots


MgraFill()


MgraFont()


MgraFontScale()


Mgr

aF


r


ee()



MgraInquir


e()



MgraLine()


MgraLines()


Perform


a boundary-type seed


fill.



Associate a text font with a graphics


c


o nt


e


xt.


Set the font scale of a graphics


c


on t


e


xt.


F


r


ee


a graphics


c


ont


e


xt.


Inquire about the graphics paramet


er


s.



Draw a


line.



Draw one or more lines.


MgraRect()


MgraRectFill()


MgraText()


Draw a


r


ectangl


e.



Draw a filled


r


ec tangl


e.



Write


t


e


xt.


图像处理模块



Image


processing


module


用来执行以下图像处理:滤波、形态学操作、点到点操作、图像分割和统计学操作。该模块还包括几何学变换、 色彩空


间变换和域变换



Used to perform


filtering,


morphological,


point-to- point, segmentation, and statistical


operations on an image. This module als


o



includes geometric,


c


o


l


o


r


space, and domain transforms,


as well


as other image processing


primitiv


es.




指令


Commands




形参


Command paramet


er


s



SystemId, NbEntries, ResultType,


ImResultIdPtr


Src1ImageBufId, Src2ImageBufId,


DestImageBufId, Operation


Src1ImageBufId, Src2ImageBufId,


Src3ImageBufId, Src4ImageBufId,


Src5ImageBufId, DestImageBufId,


Operation, OperationFlag


SrcImageBufId, DestImageBufId,


Condition, CondLow, CondHigh


SrcImageBufId, DestImageBufId,


Condition, CondLow, CondHigh,


WriteLow, WriteHigh


SrcImageBufId, DestImageBufId,


NbIteration, ProcMode



功能


Description



分配图像处理内存



Allocate an image processing


result


b uff


e


r


.



点到点的算术操作



Perform


a point-to-point arithmetic


operation.


多幅图片点到点的操作



Perform


a point-to-point arithmetic


operation


using multiple


source images.


点到点的二值阈值变换



Perform


a point-to-point binary


thr


esholding


operation.


点到点的裁剪变换



Perform


a point-to-point clipping operation.


二值或灰度图像的闭操作



Perform


a binary or grayscale


cl


osing-type


morphological


operation.


3*3


的二值连通性映射



Perform


a 3 by 3 binary connectivity mapping.


色彩变换



Perform


a


c


o


l


or


conversion.


一般卷积变换



Perform


a general convolution operation.


计算两幅图像不同像素点的个数



Count the number of pixels that differ in each


image.


产生一系列的交错图像队列从 非交错相机采集到的


一系列图像



Produce a sequence of deinterlaced images


fr


om


a sequence of images acquired from


an


int


erlac


ed


c


amer


a.



二值或灰度图的膨胀操作



Perform


a binary or grayscale dilation-type


morphological


operation.


最短距离变换



Perform


a distance


transformation.



执行特定边缘检测,产生梯度或梯度角



Perform a specific edge detection operation


and produce a gradient intensity and/or gradient


angle image.


图像腐蚀



Perform


an erosion-type morphological


operation.


寻找图像中最小或最大像素值



Find an image buffer



s


extremes (minimum


and/or


maximum pixel values)


MimAll


ocResult()



MimArith()


MimArithMultipl


e()



MimBinarize()


MimClip()


MimClose()


MimConnectMap()


MimConvert()


MimConvolve()


MimCountDifference()


SrcImageBufId, DestImageBufId,


LutBufld


SrcImageId, DestImageId,


ConversionType


SrcImageBufId, DestImageBufId,


KernelBufId


Src1ImageBufId, Src2ImageBufId,


ImResultId


ContextId, SrcImageArrayPtr,


DstImageArrayPtr, SrcImageCount,


DstImageCount, ControlFlag


M imDeint


erlac


e()*



MimDilat


e()



SrcImageBufId, DestImageBufId,


NbIteration, ProcMode


MimDistance()


MimEdgeDetect()


ScrImageBufld, DestImageBufld,


DistanceTransform


SrcImageBufId,


DestIntensityImageBufId,


DestAngleImageBufId, KernelId,


ControlFlag, Threshold


SrcImageBufId, DestImageBufId,


NbIteration, ProcMode


SrcImageBufId, ExtremeImResultld,


ExtremeType


MimErode()


MimFindExtreme()


MimFlip()


ScrImageId, DestImageId,


Operation, OpFlag


水平或垂直翻转



Perform a horizontal or vertical image-flipping


rotation.


释放图像处理结果指针



Free an image processing result buffer.


MimF


r


ee()



ImResultId


MimGetResult()


ImResultId, ResultType,


UserArrayPtr


ImResultId, OffEntry, NbEntries,


ResultType, UserArrayPtr


从图像处理指针中获得值



Get values from an image processing result buffer.


将图像处理结果放入一位数组



Get values from a 1D region of an image processing


result buffer.


生成灰度直方图



Generate the intensity histogram of an image buffer.


MimGetResult1d()


MimHis

< p>
t


ogr


am()




SrcImageBufId, HistImResultId


*


未完



待续







Image


processing


module


(continued)



Commands



MimHis


t


ogr


amEqualize()



MimInquir


e()




Command paramet


er


s




Description



直方图均衡化



Perform


a histogram


equalization of an image.


查询图像处理结果指针的参数设置



Inquire about an image processing


result


buffer



parameter setting.


SrcImageBufId, DestImageBufId,


Method, Alpha, Min, Max


BufId,


InquireType,


UserV


arPtr



MimLabel()


SrcImageBufId, DestImageBufId,


ProcMode


SrcImageBufId, EventImResultId,


Condition,


CondLow,


CondHigh


标记图像中的对象(比如标记


blob




Label objects in an image


buff


e


r


.



寻找满足特定条件的像素坐标和值



Find pixel coordinates or values that satisfies a


specified


c


ondition.


执行点到点的查找表遍历操作



Perform


a point-to-point LUT mapping operation.


使用用户自定义核,执行形态学转换



包括膨胀、


腐蚀、加粗、变细或击中或击不中



Perform


a morphological


transformation


using


a user-defined


k


ernel.



执行二值或灰度开操作



Perform


a binary or grayscale opening-type


morphological


operation.


角度展开成矩形平面



矩形转换成角度



Perform


a


polar-to-rectangular


or


r


ect


angular-


to-polar


tr


ansforms.


Project a 2D image into 1D.


Perform


a


rank


filter


on the pixels in an image.


Resize


an image.


MimLocateEvent()


MimLutMap()


SrcImageBufId, DestImageBufId,


LutBufId


SrcImageBufId,


Des


tImageBufld,


StructElemBufId,


Operation,


NBIteration, ProcMode


MimMorphic()


MimOpen()


SrcImageBufId, DestImageBufId,


NbIteration, ProcMode


SrcImageBufId, DestImageBufId,


CenterPosX, CenterPosY,


StartRadius,


EndRadius,


StartAngle, EndAngle,


OperationMode,


Int


erpolationMode,


DestSizeXPtr,


DestSizeYPtr


SrcImageBufId,


Pr


ojImResultId,


P r


ojAngl


e


< br>S


r


cImageBufId,


DestImageBufId,


StructElemBufId,


Rank, ProcMode


SrcImageBufId, DestImageBufId,


ScaleFactorX,


ScaleFactorY,


Int


erpolationMode


S


r


cImageBufId,


DestImageBufId,


Angle,


SrcCenX, SrcCenY,


DstCenX,


DstCenY,


Int


erpolationMode


SrcImageBufId, DestImageBufId,


BitsToShift


SrcImageId, StatResultId, StatType,


Condition,


CondLow,


CondHigh,


SrcImageBufId, DestImageBufId


NbIteration, ProcMode


S

< p>
r


cImageBufId,


DestImageBufId


NbIteration, ProcMode


SrcImageRBufId,


SrcImageIBufId,


DestImageRBufId,


DestImageIBufId


T


r


ansformT


ype,


ControlFlag


SrcImageBufId, DestImageBufId,


XDisplacement, YDisplacement,


Int


erpolationMode


S


r


cImageId,


DestImageId,


WarpParam1Id,


WarpParam2Id,


OperationMode,


Int


erpolationT


ype



MimPolarT


r


ansform()


MimPr


oject()



MimRank()


MimResize()


MimRotate()


Rotate an image.


MimShift()


MimStat()


MimThick()


MimThin()


MimT


r


ansform()


Perform


a point-to-point bit


shift.



Calculate a variety of statistics


on the sour


c


e


image.


Perform


a binary or grayscale


thick


ening


operation on an image.


Perform


a binary or grayscale thinning


operation on an image.


Perform


a Fast Fourier transform


(FFT)


or a


Discrete


Cosine


transform


(DCT).


Translate an image in


X


and/or


Y


displac


e


ment.


MimT


r


anslat

e()



MimWarp()


Perform


a warping.


MimWatershed


SrcImageId, MarkerImageId,


DestImageId, MinimumVariation,


ControlFlag


S


r


cImageBufld,


Des


tImageBufld,



OperationFlag


Perform


a watershed


transformation.



MimZoneOfInfluence()



Perform


a


zone


of influence detection.





Measurement module



Used to


l< /p>


o


c


a


t


e


and measure edges or stripes within


an image. Also used to take measurements between points,


edges,


or


stripes. This module includes functions to


save


or


restore


markers ., points,


edges,


or


s


tripes).



Commands


MmeasAllocContext()


MmeasAllocMarker()



MmeasAllocResult()


MmeasCalculate()


MmeasControl()


MmeasDraw()



MmeasFindMarker()



MmeasF


r

ee()




MmeasGetResult()



MmeasGetResultSingle()



MmeasInquire()



M measRes


t


o


r


e


Mark


er()



MmeasSaveMarker()


MmeasSetMarker()


Command parameters



Description



Systemld, ControlFlag, ContextldPtr




Allocate a measurement


c


ont


e


xt.


Systemld, MarkerType, ControlFlag,



Allocate a measurement


mark


e


r


.



Mark


erldPtr



Systemld,


ResultType,


MeasResultldPtr



Allocate a measurement


result


buff


e

< p>
r


.


C


ontextld, Marker1ld,


Marker2ld,



Calculate measurements between two


marker


s.



MeasResultld, MeasurementLis


t



Contextld,


ControlType,


Value



Control a measurement parameter setting.


GraphContId,


MarkerOrResultId,



D


r


aw


features of specific markers


or


r


esult



DestImageId, Operation,


Index,


occurrences in an image


buff


e


r

< p>
.


ControlFlag


Contextld, ImageBufld, Markerld,



Find a marker


in an image and take the specified


MeasurementList



m


ea


s


u


r


ements.


Measld


F


r


ee


a measurement context, marker, or


r


esult


buff


e


r


.



MarkerOrMeasResultld, ResultType,


Get


the


results


of measurements


t


a


k


en.



FirstResultArrayPtr,


SecondResultArrayPtr


MarkerOrMeasResultId, ResultType,


Get


a single


result


from


a multiple


marker


or


its



FirstResultArrayPtr,



result


buff


e

< p>
r


.


SecondResultArrayPtr, ResultIndex


Measld, lnquireType,


Fir


s


t


V


aluePtr ,


Inquire about a measurement context,


marker,


SecondValuePtr



or


result


buff


e


r


.

< p>


FileName, Systemld, ControlFlag,



Res


t


o


r


e


a marker


from


disk.


Mark


erldPtr



FileName, Markerld,


ControlFlag



Save


a marker


to disk.


Markerld,


CharacteristicToSet,


Set a marker


characteristic


parame t


e


r


.


< /p>


Fir


s


t


V< /p>


alue, SecondValue

-


-


-


-


-


-


-


-



本文更新与2021-02-08 02:34,由作者提供,不代表本网站立场,转载请注明出处:https://www.bjmy2z.cn/gaokao/611451.html

MatroImagingLibraryMIL双语手册的相关文章

  • 余华爱情经典语录,余华爱情句子

    余华的经典语录——余华《第七天》40、我不怕死,一点都不怕,只怕再也不能看见你——余华《第七天》4可是我再也没遇到一个像福贵这样令我难忘的人了,对自己的经历如此清楚,

    语文
  • 心情低落的图片压抑,心情低落的图片发朋友圈

    心情压抑的图片(心太累没人理解的说说带图片)1、有时候很想找个人倾诉一下,却又不知从何说起,最终是什么也不说,只想快点睡过去,告诉自己,明天就好了。有时候,突然会觉得

    语文
  • 经典古训100句图片大全,古训名言警句

    古代经典励志名言100句译:好的药物味苦但对治病有利;忠言劝诫的话听起来不顺耳却对人的行为有利。3良言一句三冬暖,恶语伤人六月寒。喷泉的高度不会超过它的源头;一个人的事

    语文
  • 关于青春奋斗的名人名言鲁迅,关于青年奋斗的名言鲁迅

    鲁迅名言名句大全励志1、世上本没有路,走的人多了自然便成了路。下面是我整理的鲁迅先生的名言名句大全,希望对你有所帮助!当生存时,还是将遭践踏,将遭删刈,直至于死亡而

    语文
  • 三国群英单机版手游礼包码,三国群英手机单机版攻略

    三国群英传7五神兽洞有什么用那是多一个武将技能。青龙飞升召唤出东方的守护兽,神兽之一的青龙。玄武怒流召唤出北方的守护兽,神兽之一的玄武。白虎傲啸召唤出西方的守护兽,

    语文
  • 不收费的情感挽回专家电话,情感挽回免费咨询

    免费的情感挽回机构(揭秘情感挽回机构骗局)1、牛牛(化名)向上海市公安局金山分局报案,称自己为了挽回与女友的感情,被一家名为“实花教育咨询”的情感咨询机构诈骗4万余元。

    语文