Re: [Pdl-devel] decimate function

2024-06-13 Thread Guillermo P. Ortiz
-Chris > > > On 6/13/2024 8:33 AM, Ed . wrote: > > Hi Guillermo, > > Try https://metacpan.org/pod/PDL::Transform#match ? > > Best regards, > Ed > ---------- > *From:* Guillermo P. Ortiz > > *Sent:* 13 June 2024 12:04 AM > *To:* pdl-devel@lists.

Re: [Pdl-devel] decimate function

2024-06-13 Thread chm
pdl-devel@lists.sourceforge.net ; pdl-gene...@lists.sourceforge.net *Subject:* [Pdl-devel] decimate function Hello everybody, maybe somebody know how to decimate a 2d ndarray through some average and reducing the number of pixels from (Nx,Ny) to (Mx,My), (in a 2D image for example?) where M< N in or

Re: [Pdl-devel] decimate function

2024-06-13 Thread Ed .
Hi Guillermo, Try https://metacpan.org/pod/PDL::Transform#match ? Best regards, Ed From: Guillermo P. Ortiz Sent: 13 June 2024 12:04 AM To: pdl-devel@lists.sourceforge.net ; pdl-gene...@lists.sourceforge.net Subject: [Pdl-devel] decimate function Hello

[Pdl-devel] decimate function

2024-06-12 Thread Guillermo P. Ortiz
Hello everybody, maybe somebody know how to decimate a 2d ndarray through some average and reducing the number of pixels from (Nx,Ny) to (Mx,My), (in a 2D image for example?) where M< N in order to reduce large amounts of data but remaining main information as possible. I can imagine how to use th