dwRectifierWarp set colour of outside pixels

Please provide the following info:
Hardware Platform: [DRIVE AGX Pegasus™ Developer Kit]
Software Version: [DRIVE Software 10]
Host Machine Version: [Ubuntu 18.04]
SDK Manager Version: [1.0.1.5538]

Regarding dwRectifierWarp, when setOutsidePixelsToBlack is true, the pixels outside the original image are set to black on the undistorted image, otherwise interpolated.

Any way of setting the outside pixels to a different colour? Specifically, any way of setting them to have alpha 0?

Use case is to be able to distinguish real pixels that are really black from outside pixels that are black by default.

Hi @sleff,

The black pixels are done by setting texture to cudaAddressModeBorder mode(as below description) so alpha blending isn’t supported. Thanks!


(from Programming Guide :: CUDA Toolkit Documentation)