Learning Adaptive Filter Banks for Hierarchical Image Representation