Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

<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.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top