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.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…