Hi,
After I create a matrix and try to display it with imshow, only the points with gray level 0 and 256 are displayed correctly. Other points are all displayed as white or balck.But when I use pixval to check the gray level for a particular point, the gray level value is correct. I don't know...