MmeasSetMarker()函数
Synopsis
Set a marker parameter.
Format
void MmeasSetMarker(MarkerId, ParamToSet, FirstValue, SecondValue)
记录分享,MIL5.1版本的Mmeas测量分析,测量分析主要分析物体的边,可以运用在定位边,或量测边上。MIl5.1提供了两种量测方式,边,条纹。
Synopsis
Set a marker parameter.
Format
void MmeasSetMarker(MarkerId, ParamToSet, FirstValue, SecondValue)
Synopsis
Save a marker to disk.
Format
void MmeasSaveMarker(FileName, MarkerId, ControlFlag)
Synopsis
Restore a marker from disk.
Format
MIL_ID MmeasRestoreMarker(FileName, SystemId, ControlFlag, MarkerIdPtr)
Synopsis
Inquire about a marker, result, or context buffer.
Format
long MmeasInquire(MeasId, ParamToInquire, FirstValuePtr, SecondValuePtr)
Synopsis
Free a measurement buffer (marker, result or context).
Format
void MmeasFree(MeasId)
Synopsis
Get the results of measurements taken.
Format
void MmeasGetResult(MarkerOrMeasResultId, ResultType, FirstResultPtr, SecondResultPtr)
Synopsis
Find a marker in an image and take its measurements.
Format
void MmeasFindMarker(ContextId, ImageBufId, MarkerId, MeasurementList)
Synopsis
Set a measurement context control parameter.
Format
void MmeasControl(ContextId, ParamToSet, Value)
Synopsis
Calculate measurements, using two markers.
Format
void MmeasCalculate(ContextId, Marker1Id, Marker2Id, MeasResultId, MeasurementList)
Synopsis
Allocate a measurement result buffer.
Format
MIL_ID MmeasAllocResult(SystemId, ResultType, MeasResultIdPtr)