halcon拓展系列—《halcon精髓之Blob分析篇》

Matlab的精髓是矩陣運算(線性代數),halcon的精髓是Blob分析,本節主要將三個Blob分析中常用的閾值處理及其拓展,首先我們列舉一下Blob的用途

1)定位

threshold

binary_threshold

dyn_threshold

auto_threshold

按照排列的順序靈活度越來越高,運用難度越來越大,能夠完成的定位效果也會越來越穩定

2)形態學分析

dilation_circle

dilation_rectangle1

erosion_circle

erosion_rectangle1

opening_cirlcle

opening_rectangle1

closing_circle

closing_rectangle1

smallest_rectangle2

select_shape

shape_trans

...

3)顏色分割

decompose3 

trans_from_rgb

將RGB顏色空間轉換到其他顏色空間,以突出某種顏色的對比度,比如“yiq”顏色空間對於黃色有很好的對比度

List of values: 'argyb', 'cielab', 'cielchab', 'cielchuv', 'cieluv', 'ciexyz', 'ciexyz2', 'ciexyz3', 'ciexyz4', 'hls', 'hsi', 'hsv', 'i1i2i3', 'ihs', 'lms', 'yiq', 'yuv'

reduce_domain (Image, Rectangle3, ImageReduced1)
decompose3 (ImageReduced1, Image1, Image2, Image3)
tr
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章