Similar Items: A multi-scale classification framework for pathological image diagnosis