Ready, install the method from https://metacpan.org/pod/PDL::ImageND.

$p->Convolve([1, 2, 1, 2, 4, 2, 1, 2, 1]);
>


According to the function convolve this declaration is of the following way

> $new = convolve $x, $kernel
>
> But when I declare the function in my code the result is wrong.

Can't call method "Convolve" on unblessed reference at gifaninmation.pl
> line 47.
>

I don't know in what part I am confused.






On Fri, Feb 4, 2022 at 8:34 AM Andrew Solomon <and...@geekuni.com> wrote:

> Is this what you're looking for?
>
> https://metacpan.org/pod/PDL::ImageND
>
>
> On Fri, Feb 4, 2022 at 2:30 PM William Torrez Corea <willitc9...@gmail.com>
> wrote:
>
>> I'm using cpanm trying to find a method that contains the function
>> convolve but I only found the method Imager.
>>
>> https://metacpan.org/pod/Imager
>>
>> When I try to declare the method and use it in the code, the result is
>> always wrong.
>>
>> I am using the following libraries:
>>
>>>
>>>
>>>
>>> *#!/usr/local/bin/perl use Image::Magick;use Imager;*
>>
>>
>>
>>
>> --
>>
>> With kindest regards, William.
>>
>> ⢀⣴⠾⠻⢶⣦⠀
>> ⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
>> ⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
>> ⠈⠳⣄⠀⠀⠀⠀
>>
>>
>
> --
> Andrew Solomon
> Director, Geekuni <https://geekuni.com/>
> P: +44 7931 946 062
> E: and...@geekuni.com
>


-- 

With kindest regards, William.

⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀⠀⠀⠀

Reply via email to