[Top][All Lists]

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

Re: conv2 shows error

From: Junise Bin Abdul Nazar
Subject: Re: conv2 shows error
Date: Thu, 7 Jul 2011 02:17:54 +0530

On Thu, Jul 7, 2011 at 2:05 AM, Søren Hauberg <address@hidden> wrote:
> I have to confess that I didn't understand the question then :-(

> The 'conv2' function requires the input to be of class 'double', hence
> the solution to your problem is to either change your data to doubles
> (using the 'double' function) or to use another function than 'conv2' to
> achieve your goal. If you have the 'image' package from Octave-Forge
> installed then you can use the 'imfilter' function instead of 'conv2'.
> This works like 'conv2' except it also works with e.g. 'uint8' data.

It worked with 'imfilter'.


Junise Safvan

9746 283 383

reply via email to

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