Skip to main content

components

Function components 

Source
pub fn components(
    data: &[u8],
    width: usize,
    height: usize,
) -> Result<(Vec<u8>, Vec<[i32; 5]>), String>
Expand description

两遍扫描标记八连通域,按首次遇到的分区生成确定标签。