abhigopal
Member level 3
Hi,
I used the imread function to read an image matrix of size 256 X 256. The image matrix was easily displayed. But when I wanted to perform some operations to this image, it gave me an error saying that the data type was a uint8 - unsigned 8 bit integer. So i converted everything to double and it worked ok. Now, the resulting matrix after all my operations performed is of double type. When i use imview to view the image, I am getting a plain white image. If i convert it back to unsigned integer, then i am getting all values of my matrix as 255 and hence no image.
What do I do?? Are there some other functions that can be used??
Thanks
Abhi
I used the imread function to read an image matrix of size 256 X 256. The image matrix was easily displayed. But when I wanted to perform some operations to this image, it gave me an error saying that the data type was a uint8 - unsigned 8 bit integer. So i converted everything to double and it worked ok. Now, the resulting matrix after all my operations performed is of double type. When i use imview to view the image, I am getting a plain white image. If i convert it back to unsigned integer, then i am getting all values of my matrix as 255 and hence no image.
What do I do?? Are there some other functions that can be used??
Thanks
Abhi