resampling is absolutely required for
a homogeneous spatial noise distribution

Adds spatial noise to the coordinates of the nodes of tree intree. The amplitude of the spatial noise is such that its standard deviation is stde and it is filtered with length constant lambda (not in µm but in nodes on the path...).

Examples:
change the amplitude of the spatial noise (stde)

>> rtree = resample_tree (sample2_tree, 1);

>> jitter_tree (rtree), stde, 10);

TREES

change the length constant of the spatial noise (lambda)

>> jitter_tree (rtree, .35, lambda);

TREES

Creative Commons License
This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 License