3D reconstruction of appletrees for mechanical pruning