Applies splines to smooth the stepwise fiber paths produced by good.fibes, with the function ns from splines.
fibers.smoothed(fib.list, df)The original fiber path from good.fibes
The curved, smoothed fiber paths
A list of fibers with $fiber.points, produced by good.fibes or one of the cleaning and processing functions (e.g., fuse.fibers).
The degrees of freedom passed to splines2::nsp. Knots equal to df - 1 - intercept are set as breakpoints in the spline curve. A straight line path has a df of 1.
J. Arbour
Arbour, J. In Prep. GoodFibes: an R package for the detection of muscle fibers from diceCT scans.
good.fibes