Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Anchit_D_
Beginner
30 Views

Specifying 'Fill Values' for ippiWarpAffineLinear function in IPP9

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
30 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

Reply