- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page