I’m using NvBufferTransform() to scale an image with format NvBufferColorFormat_GRAY8. I’m finding that the intensities in the image are changing unexpectedly. For example, solid black regions in the image with intensity 0 should continue to have intensity 0 after the transformation, but instead, they have intensity 84. I’ve tested with both the NvBufferTransform_Filter_5_Tap and NvBufferTransform_Filter_Nearest filters and upscaling and downscaling, and all exhibit this behavior.
Does anyone know what might be causing this unusual behavior?