Re: [Pdl-devel] project ordered sequence image

2024-10-24 Thread Ed .
Hi Guillermo, That will depend on how you want to combine each pixel. If you can deal independently with each R/G/B value, then to just add the values together, you'd do: $im = $imn->mv(-1,0)->sumover; Otherwise you'll have to spell out a bit more what you mean by sorting. Another operation

Re: [Pdl-devel] project ordered sequence image

2024-10-24 Thread Ed .
Hi Guillermo, You're welcome? To do the exact thing you're referring to here, you'd need to give an argument of 3, rather than 2, to "reduce", for the zero-based 4th dim. I hope this has in fact solved your problem. If not, please keep asking :-) Best regards, Ed ___

Re: [Pdl-devel] project ordered sequence image

2024-10-24 Thread Ed .
Hi Guillermo, I believe the situation you're describing is you have effectively a series of (3,x,y) images. You mention "reducing", but you haven't said what you mean by that - would it turn that series of images into one image? wpic is intended to write out a single image, so an ndarray with