Learning to quantify emphysema extent