[Top][All Lists]

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

Image Processing Toolbox

From: Kurt Hornik
Subject: Image Processing Toolbox
Date: Thu, 30 Jan 1997 10:28:44 +0100

>>>>> On Thu, 30 Jan 97 08:04:58 GMT,
>>>>> address@hidden said:

> Hi,
> Has anybody used the image processing toolbox available from octave's
> contribution archive. I tried to use it on version 1.1.1 and 2.0.2 but
> to no luck. A function called "isreal" has been used in all .m files of
> image toolbox but is not defined anywhere.

You can use e.g.

function y = isreal (x)
  # Usage:  isreal (x)
  # Returns 1 if x is real (scalar, vector or matrix), otherwise 0.
  y = all (all (x == real (x)));

To use imagep, you also need to do the following in conv2.m:

        elseif (strcmp(area, "valid")
Add a `)' where the * is.


reply via email to

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