Image Classification Using Pair-Wise Registration And Machine Learning With Applications to Neuroimaging