Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.
6708 Discussions

Specifying 'Fill Values' for ippiWarpAffineLinear function in IPP9

Anchit_D_
Beginner
244 Views

Hi,

I am using the ippiWarpAffineLinear function to apply a transform to my image.

Is there a way to specify 'Fill Values' in the output image? By Fill Values I am referring to the pixels in the destination image which are mapped from pixels outside the source image.

Thanks in advance.

-Anchit

0 Kudos
1 Reply
Valentin_K_Intel
Employee
244 Views

Hi Anchit,

To specify 'Fill Values' in the output image, you should set the borderType parameter as ippBorderConst and set the pBorderValue parameter when initializing the IppiWarpSpec structure by the function ippiWarpAffineLinearInit. Then the pixels in the destination image which are mapped from pixels outside the source image are set to the constant value specified in pBorderValue. The data type of pBorderValue is automatically converted from Ipp64f to the data type of the processed images.

Best regards,
Valentin

0 Kudos
Reply