Hi
Depending on your scope look at:
the "save" function to save it as MATLAB workspace variable in a file.
the "imwrite" function to save it in a standard image format.
or "fopen" and "fwrite" to store in your own binary format.
Regards
On Mon, 01 Mar 2010 12:39:15 +0100, wrote:
> Hi,
>
> I want to store the binary value generated by the following code in
> a file. Can you tell the coding for that ?
>
> I = imread('samy','jpeg');
> level = graythresh(I);
> BW = im2bw(I,level);
> BW contains binary values. How can I store it ib a file?
>
> Thanks.
>
> Swamy