Hello. I have a cryptomatte pass from an exr. When I run the oiio.ImageBufAlgo.resize() call on the exr it produces unwanted artifacts. It seemed to perhaps be related to the filter, but I tried all available filter options and it did not produce acceptable results.
Interestingly, using oiiotool's resize works fine, and accurately reproduces the image at a smaller scale but I need to use the ImageBufAlgo version. Do you have any suggestions for how to match oiio.ImageBufAlgo's resize more closely with oiiotool's resize? I also attempted to use other methods such as ImageBufAlgo's fit(), and resample() but met similar results. To clarify, the line "oiiotool image.exr -resize WidthxHeight" works. But, running oiio.ImageBufAlgo.resize(ImageBuf, roi=roi) does not work, where roi = oiio.ROI(0, WIDTH, 0, HEIGHT, 0, 1, 0, ImageBuf.nchannels) It is also worth noting that none of the other exrs have trouble with resizing with ImageBufAlgo's resize only the cryptomatte pass. Any assistance is appreciated!
_______________________________________________ Oiio-dev mailing list Oiio-dev@lists.openimageio.org http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org