|
Hi Hassan,
look into "imwrite" and "imread".
-Clare
"Hassan Mahmoud" <fcis2005@hotmail.com> wrote in message <heg66v$mgn$1@fred.mathworks.com>...
> i would like to save the resultant gradual image displayed from imagesec command into file or variable for later processing so that it holds image displayed.
>
> this is my chunk code, i want to save (K) in file or make imshow for it later
> _________________________
> img=im2double(imread('c:\1.tif'));
> [x,y] = gradient(img);
> mag = sqrt(x.*x+y.*y);
> th = atan2(y,x);
> figure ; K=imagesc(th.*mag);
> ____________________________
> how can i save and process image stored in K?
>
> regards.
|