Image Classification from Generalized Image Distance Features: Application to Detection of Interstitial Disease in Chest Radiogr