Skip to contents

Find connected components in an image

Usage

conn_comp(x, ...)

# S4 method for NeuroVol
conn_comp(
  x,
  threshold = 0,
  cluster_table = TRUE,
  local_maxima = TRUE,
  local_maxima_dist = 15,
  ...
)

Arguments

x

the image object

...

additional arguments

threshold

threshold defining lower intensity bound for image mask

cluster_table

return cluster_table

local_maxima

return table of local maxima

local_maxima_dist

the distance used to define minum distance between local maxima