help-octave
[Top][All Lists]
Advanced

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

Re: conv2 shows error


From: Søren Hauberg
Subject: Re: conv2 shows error
Date: Wed, 06 Jul 2011 22:35:10 +0200

tor, 07 07 2011 kl. 01:56 +0530, skrev Junise Bin Abdul Nazar:
> On Thu, Jul 7, 2011 at 1:37 AM, Søren Hauberg <address@hidden> wrote:
> > Hi
> >
> > Please reply to the list so that others can follow and help (press
> > "Reply to All" instead of "Reply").
> >
> 
> Sorry didn't noted it.
> 
> > tor, 07 07 2011 kl. 01:15 +0530, skrev Junise Bin Abdul Nazar:
> > I'm sorry but I do not understand: is this a question?
> 
> Yes. It was a question.

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.

Søren



reply via email to

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