can anyone please help me to analyse each pixel of a raster image using while loop in erdas imagine spatial modeler language ? I have a 4 layered raster image. i need to consider each pixel as a column matrix whose number of rows is equal to the number of layers of the raster image. then the transpose of each pixel matrix is to be find. how to do this in erdas imagine ?