HALCON 算子中文简介
| Brient
目 录
Chapter 1 :Classification................................................................................................. 5
1.1 Gaussian-Mixture-Models................................................................................ 5
1.2 Hyperboxes ...................................................................................................... 7
1.3 Neural-Nets ...................................................................................................... 9
1.4 Support-Vector-Machines .............................................................................. 11
Chapter 2 Control ........................................................................................................ 13
Chapter3 :Develop ...................................................................................................... 15
Chapter 4 :File .............................................................................................................. 18
4.1 Images ............................................................................................................ 18
4.2 Misc ................................................................................................................ 18
4.3 Region ............................................................................................................ 19
4.4 Text ................................................................................................................. 19
4.5 Tuple ............................................................................................................... 20
4.6 XLD ................................................................................................................. 20
Chapter 5:Filter ............................................................................................................ 22
5.1 Arithmetic ...................................................................................................... 22
5.2 Bit ................................................................................................................... 23
5.3 Color ............................................................................................................... 24
5.4 Edges .............................................................................................................. 24
5.5 Enhancement ................................................................................................. 27
5.6 FFT .................................................................................................................. 28
5.7 Geometric-Transformations ........................................................................... 30
5.8 Inpainting ....................................................................................................... 32
5.9 Lines ............................................................................................................... 32
5.10 Match ........................................................................................................... 33
5.11 Misc .............................................................................................................. 33
5.12 Noise ............................................................................................................ 34
5.13 Optical-Flow ................................................................................................. 35
5.14 Points ............................................................................................................ 35
5.15 Smoothing .................................................................................................... 36
5.16 Texture ......................................................................................................... 38
5.17 Wiener-Filter ................................................................................................ 38
Chapter6 :Graphics ...................................................................................................... 40
6.1 Drawing .......................................................................................................... 40
6.2 Gnuplot .......................................................................................................... 42
6.3 LUT ................................................................................................................. 43
6.4 Mouse ............................................................................................................ 44
1
6.5 Output ............................................................................................................ 44
6.6 Parameters ..................................................................................................... 46
6.7 Text ................................................................................................................. 50
6.8 Window .......................................................................................................... 51
Chapter 7 :Image .......................................................................................................... 53
7.1 Access ............................................................................................................. 53
7.2 Acquisition ..................................................................................................... 54
7.3 Channel .......................................................................................................... 55
7.4 Creation .......................................................................................................... 57
7.5 Domain ........................................................................................................... 58
7.6 Features .......................................................................................................... 59
7.7 Format ............................................................................................................ 61
7.8 Manipulation .................................................................................................. 62
7.9 Type-Conversion ............................................................................................. 63
Chapter 8 :Lines ........................................................................................................... 64
8.1 Access ............................................................................................................. 64
8.2 Features .......................................................................................................... 64
Chapter 9 :Matching .................................................................................................... 65
9.1 Component-Based ......................................................................................... 65
9.2 Correlation-Based .......................................................................................... 67
9.3 Gray-Value-Based ........................................................................................... 68
9.4 Shape-Based ................................................................................................... 69
Chapter 10 :Matching-3D ............................................................................................. 72
Chapter 11 :Morphology ...................................................................................... 74
11.1 Gray-Values .................................................................................................. 74
11.2 Region .......................................................................................................... 75
Chapter 12:OCR(光字符识别) ................................................................................ 80
12.1 Hyperboxes .................................................................................................. 80
12.2 Lexica ............................................................................................................ 81
12.3 Neural-Nets(神经网络) .......................................................................... 82
12.4 Support-Vector-Machines (支持矢量机) ............................................... 83
12.5 Tools ............................................................................................................. 85
12.6 Training-Files ................................................................................................ 85
Chapter 13:Object ........................................................................................................ 87
13.1 Information .................................................................................................. 87
13.2 Manipulation ................................................................................................ 87
Chapter 14:Regions ...................................................................................................... 89
14.1 Access ........................................................................................................... 89
2
14.2 Creation ........................................................................................................ 89
14.3 Features........................................................................................................ 91
14.4 Geometric-Transformations ......................................................................... 95
14.5 Sets ............................................................................................................... 96
14.6 Tests.............................................................................................................. 96
14.7 Transformation ............................................................................................. 97
Chapter 15:Segmentation .......................................................................................... 100
15.1 Classification .............................................................................................. 100
15.2 Edges .......................................................................................................... 101
15.3 Regiongrowing ........................................................................................... 101
15.4 Threshold ................................................................................................... 102
15.5 Topography ................................................................................................. 103
Chapter 16:System ..................................................................................................... 106
16.1 Database .................................................................................................... 106
16.2 Error-Handling ............................................................................................ 106
16.3 Information ................................................................................................ 107
16.4 Operating-System ....................................................................................... 108
16.5 Parallelization ............................................................................................. 108
16.6 Parameters ................................................................................................. 109
16.7 Serial ........................................................................................................... 109
16.8 Sockets ....................................................................................................... 110
Chapter 17:Tools ........................................................................................................ 112
17.1 2D-Transformations.................................................................................... 112
17.2 3D-Transformations.................................................................................... 114
17.3 Background-Estimator ............................................................................... 116
17.4 Barcode ...................................................................................................... 117
17.5 Calibration .................................................................................................. 118
17.6 Datacode .................................................................................................... 120
17.7 Fourier-Descriptor ...................................................................................... 122
17.8 Function ..................................................................................................... 122
17.9 Geometry ................................................................................................... 125
17.11 Hough ....................................................................................................... 127
17.12 Image-Comparison ................................................................................... 128
17.13 Kalman-Filter ............................................................................................ 129
17.14 Measure ................................................................................................... 130
17.15 OCV(OpenCircuit Voltage |光学字符校验) ....................................... 132
17.16 Shape-from .............................................................................................. 132
17.17 Stereo ....................................................................................................... 134
3
17.18 Tools-Legacy ............................................................................................. 135
Chapter 18:Tuple ........................................................................................................ 138
18.1 Arithmetic .................................................................................................. 138
18.2 Bit-Operations ............................................................................................ 141
18.3 Comparison ................................................................................................ 142
18.4 Conversion ................................................................................................. 142
18.5 Creation ...................................................................................................... 143
18.6 Element-Order ........................................................................................... 144
18.7 Features...................................................................................................... 144
18.8 Logical-Operations ..................................................................................... 145
18.9 Selection ..................................................................................................... 145
18.10 String-Operators ....................................................................................... 146
Chapter 19:XLD .......................................................................................................... 149
19.1 Access ......................................................................................................... 149
19.2 Creation ...................................................................................................... 149
19.3 Features...................................................................................................... 150
19.4 Geometric-Transformations ....................................................................... 154
19.5 Sets ............................................................................................................. 155
19.6 Transformation ........................................................................................... 156
4
Chapter 1 :Classification
1.1 Gaussian-Mixture-Models
1.add_sample_class_gmm
功能:把一个训练样本添加到一个高斯混合模型的训练数据上。
2.classify_class_gmm
功能:通过一个高斯混合模型来计算一个特征向量的类。
3. clear_all_class_gmm
功能:清除所有高斯混合模型。
4. clear_class_gmm
功能:清除一个高斯混合模型。
5. clear_samples_class_gmm
功能:清除一个高斯混合模型的训练数据。
6. create_class_gmm
功能:为分类创建一个高斯混合模型。
7.evaluate_class_gmm
功能:通过一个高斯混合模型评价一个特征向量。
8. get_params_class_gmm
功能:返回一个高斯混合模型的参数。
9. get_prep_info_class_gmm
功能:计算一个高斯混合模型的预处理特征向量的信息内容。
5
10. get_sample_class_gmm
功能:从一个高斯混合模型的训练数据返回训练样本。
11. get_sample_num_class_gmm
功能:返回存储在一个高斯混合模型的训练数据中的训练样本的数量。
12. read_class_gmm
功能:从一个文件中读取一个高斯混合模型。
13. read_samples_class_gmm
功能:从一个文件中读取一个高斯混合模型的训练数据。
14. train_class_gmm
功能:训练一个高斯混合模型。
15. write_class_gmm
功能:向文件中写入一个高斯混合模型。
16. write_samples_class_gmm
功能:向文件中写入一个高斯混合模型的训练数据。
6
1.2 Hyperboxes
1. clear_sampset
功能:释放一个数据集的内存。
2. close_all_class_box
功能:清除所有分类器。
3. close_class_box
功能:清除分类器。
4. create_class_box
功能:创建一个新的分类器。
5. descript_class_box
功能:分类器的描述。
6. enquire_class_box
功能:为一组属性分类。
7. enquire_reject_class_box
功能:为一组带抑制类的属性分类。
8. get_class_box_param
功能:获取关于现在参数的信息。
9. learn_class_box
功能:训练分类器。
10. learn_sampset_box
功能:用数据组训练分类器。
7