close

Let's suppose that Region to be a mask of a gray-level image after the threshold process.

Here is an example of how to get all the rows and columns of the Region in Halcon.

get_region_points (Region, Rows, Columns)
tuple_sort_index (Columns, Indices)

NewCol:=Columns[Indices]

NewRow:=Rows[Indices]

arrow
arrow
    全站熱搜

    me1237guy 發表在 痞客邦 留言(0) 人氣()