To a given tree intree with diameter values,
this fits a quadratic tapering using
“quaddiameter_tree”
to best fit the original diameters.
The output is a scaling and an offset value in P0
for direct input to
“quaddiameter_tree”.
See below how well two parameters simply describe
the dendritic quadratic tapering nearly perfectly.
Example 1:
>> tree = resample_tree (sample2_tree, 1, '-d');
>> [P0 qtree] = quadfit_tree (tree); P1
0.3250 1.2880
Example 2:
>> tree = resample_tree (sample_tree, 1, '-d');
>> [P0 qtree] = quadfit_tree (tree); P1
0.2736 1.0336
This work is licensed under a
Creative Commons Attribution-Noncommercial-Share Alike 3.0 License