[MAINT] Fix matrix views.

This PR fixes the matrix view for the image class.