• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

《zw版·Halcon-delphi系列原创教程》Halcon分类函数009,Measure,测量函数 ...

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

《zw版·Halcon-delphi系列原创教程》 Halcon分类函数009,Measure,测量函数


为方便阅读,在不影响说明的前提下,笔者对函数进行了简化:

  • :: 用符号“**”,替换:“procedure”
  • :: 用大写字母“X”,替换:“IHUntypedObjectX”
  • :: 省略了字符:“const”、“OleVariant”

【示例】 说明

函数:

procedure AddNoiseWhiteContourXld( const Contours: IHUntypedObjectX; out NoisyContours: IHUntypedObjectX; NumRegrPoints: OleVariant; Amp: OleVariant);

简化后为:

** AddNoiseWhiteContourXld( Contours: X; out NoisyContours: X; NumRegrPoints, Amp);

 

 1 ** AddMetrologyObjectCircleMeasure( MetrologyHandle, Row, Column, Radius, MeasureLength1, MeasureLength2, MeasureSigma, MeasureThreshold, GenParamName, GenParamValue, out Index); 
 2 说明,  add_metrology_object_circle_measure (  :  :  MetrologyHandle, Row,Column, Radius, MeasureLength1, MeasureLength2, MeasureSigma,MeasureThreshold, GenParamName, GenParamValue :  Index )
 3 
 4 ** AddMetrologyObjectEllipseMeasure( MetrologyHandle, Row, Column, Phi, Radius1, Radius2, MeasureLength1, MeasureLength2, MeasureSigma, MeasureThreshold, GenParamName, GenParamValue, out Index); 
 5 说明,  增加一个椭圆或弧形物体,到测量模型当中
 6 
 7 ** AddMetrologyObjectLineMeasure( MetrologyHandle, RowBegin, ColumnBegin, RowEnd, ColumnEnd, MeasureLength1, MeasureLength2, MeasureSigma, MeasureThreshold, GenParamName, GenParamValue, out Index); 
 8 说明,  增加一个线型物体,到测量模型当中
 9 
10 ** AddMetrologyObjectRectangle2Measure( MetrologyHandle, Row, Column, Phi, Length1, Length2, MeasureLength1, MeasureLength2, MeasureSigma, MeasureThreshold, GenParamName, GenParamValue, out Index); 
11 说明,  增加一个矩形物体,到测量模型当中
12 
13 ** CloseAllMeasures; 
14 说明,  close_all_measures,清除所有测试对象。
15 
16 ** CloseMeasure( MeasureHandle); 
17 说明,  close_measure,清除一个测试对象。
18 
19 ** DeserializeMeasure( SerializedItemHandle, out MeasureHandle); 
20 说明,  测量数据转换
21 
22 ** FilterKalman( Dimension, Model, Measurement, PredictionIn, out PredictionOut, out Estimate); 
23 说明,  filter_kalman,借助Kalman(卡尔曼)滤波器估测系统的当前状态。
24 
25 ** FuzzyMeasurePairing( Image: X; MeasureHandle, Sigma, AmpThresh, FuzzyThresh, Transition, Pairing, NumPairs, out RowEdgeFirst, out ColumnEdgeFirst, out AmplitudeFirst, out RowEdgeSecond, out ColumnEdgeSecond, out AmplitudeSecond, out RowPairCenter, out ColumnPairCenter, out FuzzyScore, out IntraDistance); 
26 说明,  fuzzy_measure_pairing,提取与矩形或环状弧垂直的直线边缘。
27 
28 ** FuzzyMeasurePairs( Image: X; MeasureHandle, Sigma, AmpThresh, FuzzyThresh, Transition, out RowEdgeFirst, out ColumnEdgeFirst, out AmplitudeFirst, out RowEdgeSecond, out ColumnEdgeSecond, out AmplitudeSecond, out RowEdgeCenter, out ColumnEdgeCenter, out FuzzyScore, out IntraDistance, out InterDistance);
29 
30 ** FuzzyMeasurePos( Image: X; MeasureHandle, Sigma, AmpThresh, FuzzyThresh, Transition, out RowEdge, out ColumnEdge, out Amplitude, out FuzzyScore, out Distance);
31 
32 ** GenMeasureArc( CenterRow, CenterCol, Radius, AngleStart, AngleExtent, AnnulusRadius, Width, Height, Interpolation, out MeasureHandle);
33 
34 ** GenMeasureRectangle2( Row, Column, Phi, Length1, Length2, Width, Height, Interpolation, out MeasureHandle);
35 
36 ** GetMetrologyObjectMeasures( out Contour: X; MetrologyHandle, Indices, Transition, out Row, out Column); 
37 说明,  获取计量对象均值参数
38 
39 ** MeasurePairs( Image: X; MeasureHandle, Sigma, Threshold, Transition, Select, out RowEdgeFirst, out ColumnEdgeFirst, out AmplitudeFirst, out RowEdgeSecond, out ColumnEdgeSecond, out AmplitudeSecond, out IntraDistance, out InterDistance); 
40 说明,  measure_pairs,提取与矩形或环状弧垂直的直线边缘。
41 
42 ** MeasurePos( Image: X; MeasureHandle, Sigma, Threshold, Transition, Select, out RowEdge, out ColumnEdge, out Amplitude, out Distance);
43 
44 ** MeasureProfileSheetOfLight( ProfileImage: X; SheetOfLightModelID, MovementPose);
45 
46 ** MeasureProjection( Image: X; MeasureHandle, out GrayValues); 
47 说明,  measure_projection,提取垂直于一个矩形或环状弧的灰度值轮廓,。
48 
49 ** MeasureThresh( Image: X; MeasureHandle, Sigma, Threshold, Select, out RowThresh, out ColumnThresh, out Distance); 
50 说明,  measure_thresh,提取沿着一个矩形或环状弧,特殊灰度值的点。
51 
52 ** ReadKalman( FileName, out Dimension, out Model, out Measurement, out Prediction); 
53 说明,  read_kalman,读取一个卡尔曼滤波器的
54 说明文件。
55 
56 ** ReadMeasure( FileName, out MeasureHandle); 
57 说明,  读取矩阵测量
58 
59 ** ResetFuzzyMeasure( MeasureHandle, SetType); 
60 说明,  reset_fuzzy_measure,重置一个模糊元函数。
61 
62 ** SensorKalman( Dimension, MeasurementIn, out MeasurementOut); 
63 说明,  sensor_kalman,卡尔曼滤波器测量值的交互式输入。
64 
65 ** SerializeMeasure( MeasureHandle, out SerializedItemHandle); 
66 说明,  测量数据序列化
67 
68 ** SetFuzzyMeasure( MeasureHandle, SetType, Function_); 
69 说明,  set_fuzzy_measure,指定一个模糊元函数。
70 
71 ** SetFuzzyMeasureNormPair( MeasureHandle, PairSize, SetType, Function_);
72 
73 ** TranslateMeasure( MeasureHandle, Row, Column); 
74 说明,  translate_measure,转化(解释)一个测试对象。
75 
76 ** UpdateKalman( FileName, DimensionIn, ModelIn, MeasurementIn, out DimensionOut, out ModelOut, out MeasurementOut); 
77 说明,  update_kalman,读取一个卡尔曼滤波器的更新文件。
78 
79 ** WriteMeasure( MeasureHandle, FileName); 
80 说明,  保存计量数据

 


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
Delphi连接sqlite方法总结发布时间:2022-07-18
下一篇:
BAT-关闭电脑、定时关机、重启电脑 - 疯狂delphi发布时间:2022-07-18
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap