ㄧ、常見育處理影像方法:
1. mean_image or binomial_filter 消除雜訊
2.mediam_image 抑制小斑點或細線
3.smooth_image 平滑圖像
4.anisotropic_diffusion 平滑圖像又保留邊緣 (對大型圖 速度有點慢)
Region:
union1,union2 : 聯集
Intersection: 交集
difference : 相差
complement : 餘集
二、Region 轉換 :
convex hull : 將缺口補齊
outer_circle : 外心園
inner_circle : 內部最大的圓
rectangle1 : 包圍物體的方形 (不可有角度)
rectangle2 : 包圍物體的長方形 (可以有角度)
inner_rectangle1 : 內部最大方型
三、XLD ( eXtended Line Descriptions)
(1). XLD 表示亞像素精度的邊緣輪廓與多邊型
(2).XLD sample (Xld 與 Region)
(3). XLD 與 Region 互相轉換 :gen_contour_region_XLD (Region,XLDObject,"")
(4). XLD 並不是沿著pixel 與 pixel 交接,而是經過插值之後的位置
(5). XLD 的選擇操作
select_shap_xld
select_contours_xld
area_center_xld
(6). XLD合並操作
union_collinear_countours_xld :合併在同一直線的XLD
union_cocircular_countour_xld : 合併在同圓的XLD
union_adjacent_contours_xld : 合併鄰近的XLD
(7).XLD轉換操作
XLD 與 Region 相似
(8). XLD 分割操作
(9). XLD擬合操作 (fit_***_countour_xld) 這是 XLD 的特色
fit_line_countour_xld : 擬合直線
fit_circle_countour_xld : 擬合圓
fit_ellipse_countour_xld : 擬合橢圓
fit_rectangle2_countour_xld : 擬合矩形