readAmiraSkeleton: Read topological skeleton

View source: R/readAmiraSkeleton.R

readAmiraSkeletonR Documentation

Read topological skeleton

Description

Read topological skeleton file exported from the Amira/Avizo software in ASCII format.

Usage

readAmiraSkeleton(path, removeLoops = T, removeConn = F, maxConn = 10)

Arguments

path

path of the topological skeleton file (exported from Amira/Avizo in ASCII format)

removeLoops

logical: if TRUE, loop skeleton branches (same initial and ending node) are removed

removeConn

logical: if TRUE, removes the nodes (and linked branches) connected to more than maxConn branches

maxConn

maximum number of branches connected to each node; ignored if removeConn = FALSE

Value

A list including: node coordinates (VertexCoordinates), branch coordinates (EdgePointsCoordinates), node-to-node connectivity (EdgeConnectivity), number of 3D points constituting each branch (NumEdgePoints) and thickness at each branch point (Thickness).

Author(s)

Alessio Veneziano


AlessioVeneziano/IndianaBones documentation built on Dec. 2, 2022, 7:35 a.m.