skeletonize: Skeletonize a binary segmentation.

Description Usage Arguments Value Author(s) Examples

View source: R/skeletonize.R

Description

Employ a topologically constrained label propagation tool in order to thin an existing segmentation into a skeleton. The function will perform better if the initial segmentation is well-composed.

Usage

1
skeletonize(x, laplacianThreshold = 0.25, propagationOption = 1)

Arguments

x

input binary image

laplacianThreshold

between zero and one, controls the speed image

propagationOption

either 0 (none), 1 (well-composed) or 2 (topological) constraint

Value

output binary image

Author(s)

Avants BB

Examples

1
2
img = antsImageRead( getANTsRData( 'r16') ) %>% thresholdImage( "Otsu", 3 )
skel = skeletonize( thresholdImage( img, 3, 3 ) )

neuroconductor-devel/ANTsR documentation built on April 1, 2021, 1:02 p.m.