added matlab code to display raw images