Multiclass feature learning for hyperspectral image classification: sparse and hierarchical solutions