【方法】——【一維測量】
1、3d_coordinates 3D坐標
Measure slanted object in world coordinate
在世界坐標系中測量傾斜的物體
2、align_measurements 對齊測量
Inspect individual razor blades using shape-based matching to align ROIs for the measure tool
使用基於形狀的匹配來對齊測量工具的ROI,檢查各個刀片
3、calibration_aimdpm_1_2006
Apply a reflectance calibration before inspecting the print quality of 2D data codes
在檢查二維數據代碼的打印質量之前應用反射校准
4、camera_calibration_external 相機外部標定
Measure positions on a caliper rule using camera calibration
使用相機標定后在卡尺上測量位置
注:運行此示例前先運行camera_calibration_internal
5、camera_calibration_multi_image 多張圖像進行相機標定
Calibration the camera and measure positions on acaliper rule
進行相機標定並在卡鉗上測量位置
6、camera_calibration_single_image 單張圖像進行相機標定
Calibrate the camera with a single image only and mesure positions on caliper rule
僅使用一張圖像進行相機標定,並在卡鉗上測量點位
7、check_smd_tilt 檢測SMD傾斜
Check if SMDs are tilted
檢測貼片是否傾斜
8、close_contour_gaps 閉合輪廓間隙
Close gaps in extracted straight contours
閉合提取的直線輪廓中的間隙
9、correct_measure_direction 修正測量方向
Automatically correct the orientation of measure object
自動校正測量矩形的方向
10、count_fish_sticks 數魚棒
Perform acompleteness check for fish sticks
對魚棒進行完整性檢查,一是計數、二是檢測魚棒的寬度
11、create_drawing_object_rectangle2 創建可移動的角度測量矩形
Measure straight edges interactively within a rectangle using a drawing object
使用圖形對象在矩形內交互測量直邊
12、fuse 保險絲
Measure the thickness of a fuse wire
測量保險絲的厚度
13、fuzzy_measure_pin 模糊測量pin針
Measure pins of an IC using fuzzy measuring
用模糊測量法測量集成電路的引腳
14、fuzzy_measure_switch 模糊測量開關
Determine the width of and the distance between the pins of a switch with a fuzzy measure object
用模糊測量對象確定開關管腳的寬度和間距
16、gen_measure_arc 測量圓弧
Measure edges perpendicular to a given arc
測量垂直於給定弧的邊緣
17、gen_measure_rectangle2 測量矩形
Measure edges perpendicular to a given arc
測量垂直於給定直線的邊緣
18、inspect_bottle_label_360_degrss 360度檢測酒瓶標簽
Combine four images of bottle into a mosaic image that shows the unrolled label of the bottle
將瓶子360的四個相機的圖像組合成一張圖像,顯示瓶子的展開標簽
19、measure_arc 圓環測量
Measure the width of a metal part along a circulara arc
沿圓弧測量金屬零件的寬度
20、measure_caliper 卡尺測量
Measure the distance between the pitch lines of a caliper
測量卡鉗節線之間的距離
21、measure_fill_level 測量填充量
Inspect the fill level of ampoules
檢查玻璃瓶的裝填量
22、measure_ic_leads 測量IC引線
Measure leads of an IC
測量IC的引線
23、measure_Icd_cells 測量LCD單元
Measure the dimensions of frames that separate the cells of an LCD display
測量LCD顯示屏的分割單元,測量支架的尺寸
24、measure_pin 測量Pin
Measure pins of IC 測量IC的pin角
25、measure_ring 測量齒寬
Determine the width of cogs with a circular measure object
用圓形測量對象確定齒槽的寬度
26、measure_stamping_part 測量圓、矩形、直線、圓環等特征
Measure circles、rectangles、and lines of a stamping part using an aligned metroloy model(calibrated)
使用對齊的Metroloy模型測量沖壓件的圓、矩形和線條(已校准)
27、measure_switch 測量開關
Determine the width of and the distance between the pins of a swicth
確定開關銷的寬度和間距
28、measure_tft_cells 測量TFT單元
Measure the dimensions of the RGB cells of a TFT LCD display
測量TFT LCD顯示器的RGB單元的尺寸
29、pm_measure_board 芯片定位+測量
Locate IC on a board and measure pin distances
在板上定位IC並測量pin距離
30、two_camera_calibration 兩個相機標定
Perform high precision mosaicking using aspecial calibration object
兩個相機使用標定板執行高精度圖像拼接
31、world_coordinates_line_scan 測量世界坐標下的線掃描距離
Measure distance between the pitch lines of a caliper rule in a line scan image using camera calibration
用相機標定,測量線掃描圖像中卡尺的螺距線之間的距離
【方法】——【幾何測量】
1、3d_position_of_rectangle 矩形物體3D姿態
Esitimate 3D pose of rectangular objects
估計矩形物體的三維姿態
2、angle_ll 線線夾角
輸出的是弧度,需要tuple_deg轉為角度,角度轉為弧度是tuple_rad
注意角度有正有負,這與輸入的點的兩個點的前后順序有關
Calculate the angle between two lines
計算兩條線的夾角
3、angle_lx 線與水平軸的夾角,順時針從0開始依次是-30、-60、-90、-120、-150、-180、150、120、90、60、30、0
Calculate the angle between a line and the vertical axis
計算直線和垂直軸之間的角度
4、apply_bead_inspection_model 膠路檢測模型 bead:小水珠、膠路
Check correct position and thickness of adhesive beads using the bead inspection model
使用膠條檢查模型檢查膠條的正確位置和厚度,檢測斷膠、溢膠、太厚、太薄
5、apply_distance_transform_xld 應用距離變換輪廓
兩個操作符都測量兩個輪廓之間的點距離
Compare the runtime of apply distance transform and distance contours xld
比較應用距離變換和距離輪廓XLD的運行時間,apply_distance_transform_xld更快一點
6、apply_metrology_model 計量型模板
Measure circular and rectangular pads using a metrology model
使用計量模型測量圓形和矩形襯
7、apply_metrology_model_diamond 計量型模板計算鑽石角度
Measure the angle of a diamoud's cut using a metrology model
使用計量模型測量鑽石切割的角度
8、calibration_aimdpm_1_2006
Apply a reflectance calibration before inspecting the print quality of 2D data codes
在檢查二維碼打印質量前應用反射校准
9、check_soft_cheese 檢測軟奶酪 cheese:奶酪
Check content of soft cheese packages
檢查軟奶酪包裝的含量
一個盤子內有六個奶酪,六個奶酪中兩個屬於辣椒粉paprika,四個屬於奶油cream,兩個屬於火腿ham,同品種的奶酪鏡像放置,要求檢測對應奶酪的個數、奶酪的位置有沒有放錯
10、detect_brochure_pages 檢測手冊頁
Find pages of articles in a picture database
create_uncalib_descriptor_model find_uncalib_descriptor_model
在圖片數據庫中查找文章頁
對三張活頁紙張創建模板,然后從不同角度不同光照去依此篩選
11、distance_cc_min
Calculate the distance between two contours
計算兩個輪廓之間的距離
12、distance_cc_min_points
Calculate the distance between two contours and return the points on the contours between which the distance was compured
計算兩個輪廓之間的距離,並返回計算距離的輪廓上的點。
13、distance_lr line與region的距離
Calculate the distance between a line and a region
計算直線和區域之間的距離
返回region距離直線最近點與最遠點到直線垂線段的距離
14、distance_pc point與contour的距離(包括最大與最小距離)
Determine the minimun and maximum radius of drill holes by calculating the distance between a point and a contour
通過計算點與輪廓之間的距離,確定鑽孔的最小和最大半徑
點point位鑽孔的中心點,輪廓contour為鑽孔圓周上的輪廓
15、distance_pl 點線距離
Calculate the distance between point and a line
可以計算多個點到直線的距離
16、distance_pp 點點距離
Calculate the distance between two points
可以計算兩個點的距離
17、distance_pr 點至region距離
Calculate the distance between a point and a region
計算一個點到Region的最大最小距離
18、distance_ps
Calculate the distance between a point and a line segment
計算一個點到一條直線段的最大最小距離
其實就是點距離直線段兩個端點的距離,肯定有一個最大,有一個最小
19、distance_sl
Calculate the distance between a line segment and a line
計算直線段與一條直線的最大最小距離
其實就是直線段兩個端點距離直線的兩個距離
20、distance_sr 線段到區域的距離
Calculate the distance between a line segment and a region
線段到區域的最大最小距離
21、distance_ss 線段到線段的距離
Calculate the distance between line segments
計算兩條線段到線段之間的距離
22、find_ncc_model_defocused_precision 自動對焦
Examine ncc matchs in images with different foucuses of the lens
檢查鏡頭不同焦點圖像中的NCC匹配
23、get_rectangle_pose_barcode 得到條碼矩形位置
Estimate 3D pose of bar codes
估計條碼的三維位置
24、inspect_3d_surface_intersections 檢查3D物體表面交叉部分
Check the angle and the dimensions of mouting tabs by inspecting planar intersections of the 3D object
通過檢查三維物體的平面交叉點,檢查安裝凸耳的角度和尺寸。
25、inspect_bottle_label_360_degree 檢查玻璃瓶標簽
Combine four images of a bottle into a mosaic image that shows the unrolled label of the bottle
將瓶子的四個圖像組合成馬賽克圖像,顯示瓶子的展開標簽。
26、inspect_frame_width 檢查框線寬度
Check the width of a phone camera frame by calculating the point-wise distance between two xld contours
通過計算兩個輪廓線的點寬度,檢查手機攝像頭的邊框寬度
27、intersection_contours 輪廓線交集
Calculate the intersection points of lines,circles,and xld contours
計算線、圓和XLD輪廓的交點
28、measure_circles 測量圓
Get radii and positions of circular shapes
獲取圓形的半徑和位置
29、measure_grid 測量格點
Get junctions of a grid that separates keys
獲取分隔鍵的網格的連接點
30、measure_lcd_cells 測量LCD單元尺寸
Measure the dimensions of frames that separate the cells of an LCD display
測量分隔LCD顯示單元的幀的尺寸
31、measure_metal_part_extended 測量金屬零件
Measure several features of a metal part
測量金屬零件的幾何特征
32、measure_metal_part_first_example 測量金屬零件的的圓
Measure several features of a metal part
測量金屬零件的幾何特征
33、measure_metal_part_id 測量金屬零件Id
Inspect metal part for missing or deviating circular shapes
檢查金屬零件是否丟失或偏離圓形特征
34、measure_ring 測量齒寬
Determine the width of cogs with a circular measure object
用圓形測量對象確定齒槽的寬度
35、measure_screw 測量螺絲的直徑
Measure several feature of a screw
測量螺釘的幾個特征
36、measure_stamping_part 測量標定板
Measure circles,rectangles,and lines of a stamping part using an aligned metroloy medel(calibrated)
標定測量標定板的圓、矩形和線條
37、pose_of_known_3d_object 3D物體的位置姿態
Determine pose of object by extracting three or more reference points
通過提取三個或更多參考點來確定物體的姿態
38、projection_pl 點到線的投影
Project a point onto a line
點到線的投影
39、scene_flow_globe 場景流球體
Calculate the 3D scene flow between two stereo image pairs to recover the motion of an object in 3D
計算兩個立體圖像對之間的三維場景流,以恢復三維物體的運動。