<1x65536 double> to <256x256 uint8> conversion in matlab

Status
Not open for further replies.

kregmi

Newbie level 2
Joined
Sep 24, 2013
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
11
Hi All,
I am trying to process images in Matlab. I could compute all those but I got the final result in <1x65536 double> and got problem while displaying image as image should have been in 256x256 uint8 format. I am finding problem in converting the types.
Hope to get fruitful suggestions.
Thanks in advance.
Krishna
 

Hi;
You can use "reshape" function to make 1x65536 vector to a 256x256 matrix.
And **broken link removed** display a double matix as an image (uint).

hope helps
 

thanks for your help.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…