Hi Alexis!

Yeah, my gut feeling was that you were asking for something else. I'm
afraid I don't know how to that.

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

> Hi Daniel,
>
> Thx for getting back to me, I should have been more precise.
> What I need is more like "add", to get a new ImageBuf composed from inputs
> buffer, but instead of having
> OUT = A + B
> I would like
> OUT = max(A, B)
>
> Cheers !
>
> Le mer. 22 janv. 2020 à 16:12, Daniel Flehner Heen <
> flehnerhee...@gmail.com> a écrit :
>
>> 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
>>
>
>
> --
>
>
> Alexis Prayez - Pipeline / R&D
>
> 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