Image and energy matrix index.