3D long bones reconstruction based on level sets