Dimension Reduction And Inferential Procedures For Images