How to store the data of image to a text file in Matlab?

Status
Not open for further replies.

Cutey

Member level 2
Joined
Nov 6, 2009
Messages
51
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,607
Hi ppl
when I read an image in the matlab environment it will be as a matrix in the command windows and as a matrix in the workspace..how can I store this data of image to a file.txt?
 

image in matlab

plz any one can help me?
 

Re: image in matlab

Cutey said:
Hi ppl
when I read an image in the matlab environment it will be as a matrix in the command windows and as a matrix in the workspace..how can I store this data of image to a file.txt?

first open the image using let o=imread('image location\name.jpg')...... the assign this value to other variable using p=i; and store dis as a m file wid a name eg. image.m
again if u want to use this data simply write - load image
 

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