help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: imwrite


From: Terry Duell
Subject: Re: imwrite
Date: Mon, 07 Nov 2011 16:28:33 +1100
User-agent: Opera Mail/11.52 (Linux)

On Mon, 07 Nov 2011 14:40:02 +1100, Yaowang <address@hidden> wrote:

Dear Mr. /Ms

I processed a image like that:

I=imread("~/Desktop/1149.tiff")
J=ifft(I)
imwrite(J, 1149, ".tiff")

error: invalid conversion from complex matrix to uint8 matrix


J is a complex, imwrite is looking for an int, so I would try...

J = uint8(ifft(I));

or a variation on that theme.


Cheers,
--
Regards,
Terry Duell


reply via email to

[Prev in Thread] Current Thread [Next in Thread]