fibers.smoothed {GoodFibes} | R Documentation |
Smoothing of estimated fiber paths
Description
Applies splines to smooth the stepwise fiber paths produced by good.fibes, with the function ns from splines.
Usage
fibers.smoothed(fib.list, df)
Arguments
fib.list |
A list of fibers with $fiber.points, produced by |
df |
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. |
Value
fiber.points |
The original fiber path from good.fibes |
fiber.smoothed |
The curved, smoothed fiber paths |
Author(s)
J. Arbour
References
Arbour, J. In Prep. GoodFibes: an R package for the detection of muscle fibers from diceCT scans.
See Also
[Package GoodFibes version 0.1.10 Index]