Automated construction of 3D statistical shape models