split_connected: Split pixset into connected components

Description Usage Arguments Value Author(s) See Also

View source: R/pixset.R

Description

Compute connected components (using "label"), then split into as many sets as there are components. Useful for segmentation

Usage

1

Arguments

px

a pixset

...

further arguments passed to label

Value

a list of pixsets px <- isoblur(grayscale(boats),5) > .75 plot(px) spl <- split_connected(px) plot(spl[[1]]) px <- isoblur(grayscale(boats),5) > .75 plot(px) spl <- split_connected(px) plot(spl[[1]])

Author(s)

Simon Barthelme

See Also

label


imager documentation built on May 30, 2018, 9:04 a.m.