1维测量就是测长度,一个物体的长度。
2维测量就是在2维空间上测量,圆和矩形。
gen_measure_rectangle2 (TmpCtrl_Row, TmpCtrl_Column, TmpCtrl_Phi, TmpCtrl_Len1, TmpCtrl_Len2, 2464, 2056, 'nearest_neighbor', MsrHandle_Measure_01_0)
* Measure 01: ***************************************************************
* Measure 01: * The code which follows is to be executed once / measurement *
* Measure 01: ***************************************************************
* Measure 01: Load image
read_image (Image, 'D:/20230609-103004-0.bmp')
* Measure 01: Execute measurements
measure_pairs (Image, MsrHandle_Measure_01_0, 1, 40, 'all', 'all', Row1_Measure_01_0, Column1_Measure_01_0, Amplitude1_Measure_01_0, Row2_Measure_01_0, Column2_Measure_01_0, Amplitude2_Measure_01_0, Width_Measure_01_0, Distance_Measure_01_0)
gen_measure_rectangle2 (Row1_Measure_01_0, Column1_Measure_01_0, 0, 100, 20, 512, 512, 'nearest_neighbor', MeasureHandle)
* Measure 01: Do something with the results
* Measure 01: Clear measure when done
close_measure (MsrHandle_Measure_01_0)