PLoS supp. material by Hermann Cuntz
Tries to derive diameter values for tree intree
based on the underlying image stack stack.
maxR determines a threshold maximum radius
for a segment in the tree
(should be much larger than the maximum radius,
but of course not too large...).
Here applied on a sample tree reconstructed from a sample stack:
>> D = fitD_stack (tree, stack, 50)
This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 License