Pixel Iterator


Hi! I am writing an application in Python. I have a function that normalizes pixel values in an image to ensure the values do not exceed 1 or are below 0. At the moment I am using OpenImageIO's get_pixels() and set_pixels(), but it is very slow. Are there any pixel iterators in OCIO that may have better performance?

Join ocio-dev@lists.aswf.io to automatically receive all group messages.