Hi!

I may have misunderstood your question, but have you looked at
ImageBufAlgo.computePixelStats() ?

On Wed, Jan 22, 2020 at 3:51 PM Alexis PRAYEZ <apra...@brunchstudio.tv>
wrote:

> Hi all,
>
> I am looking for a way of doing a "max" operation on 2 or more ImageBuf,
> in python. There are add(), sub() and over() but no min/max functions. I
> can get the pixels of each buf as numpy arrays then do my op then back into
> a buffer, but I was wondering if anyone add a better way !
>
> Have a great day !
>
> --
>
>
> Alexis Prayez - Pipeline
>
> 41 rue de l'Echiquier - 75010 PARIS
> <http://maps.google.com/maps?q=41+rue+%C3%A9chiqiuer+75010>
> http://www.brunchstudio.tv/
>
> STATEMENT OF CONFIDENTIALITY
> The information contained in this electronic message and any attachments
> to this message are intended for the exclusive use of the addressee(s) and
> may contain confidential or privileged information.
> If you are not the intended recipient, you are hereby notified that any
> dissemination, distribution or copying of this e-mail and any attachment(s)
> is strictly prohibited. Please reply to the sender and destroy all copies
> of this message and any attachments from your system.
>
> Please consider the environment before printing this e-mail.
> _______________________________________________
> Oiio-dev mailing list
> Oiio-dev@lists.openimageio.org
> http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org
>


-- 
-Daniel
_______________________________________________
Oiio-dev mailing list
Oiio-dev@lists.openimageio.org
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org

Reply via email to