Functions | |
VPIStatus | vpiSubmitImageResampler (VPIStream stream, VPIImage input, VPIImage output, VPIInterpolationType interpolationType, VPIBoundaryCond boundary) |
Runs a generic resampling algorithm on a 2D image. More... | |
Resamples the input image based on the output dimensions.
VPIStatus vpiSubmitImageResampler | ( | VPIStream | stream, |
VPIImage | input, | ||
VPIImage | output, | ||
VPIInterpolationType | interpolationType, | ||
VPIBoundaryCond | boundary | ||
) |
#include <vpi/algo/ImageResampler.h>
Runs a generic resampling algorithm on a 2D image.
The type of the input and output images have to match the image type specified by the payload.
stream | [in] a stream handle |
input | [in] input image |
interpolationType | [in] interpolation type bicubic/bilinear |
boundary | [in] boundary condition zero/clamp |
output | [out] output image |