Constrained Marginal Space Learning for Efficient 3D Anatomical Structure Detection in Medical Images