Compact and parametric shape representation by a tree of sigmoid functions for automatic shape modeling,