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.

matlab image proc doubt

Status
Not open for further replies.

abhigopal

Member level 3
Joined
Dec 21, 2004
Messages
61
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
624
Hi all
I have a doubt! I read an image using imread and this was read as square matrix of class unit8(unsigned 8 bit). But some of the functions i used were not compatible with uint8 and hence I needed to convert everything into double form.

I did this, finished my work and now want to view the processed image. How do I do this. If i use imview directly, then i don't get a proper image. If I try and convert it to uint8, i am getting all the matrix values as 255.What do I do??
Any thoughts?
thanks
abhi[/b]
 

if you want to view an image, you can use the imshow function or imagesc (resolution axes)

I=imread('name.xxx')
figure;imagesc(I)
or
figure;imshow(I)

if u cant view your image after processing use the following nomalization function

o1=I-min(min(I));
o2=o1./max(max(o1));
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top