Intel IPP Integration Wrappers Developer Guide and Reference

ID 751823
Date 1/18/2023
Public
Document Table of Contents

class IwiResizeParams

The IwiResizeParams class stores Resize optional parameters and consists of the following methods and operators:

Methods

IwiResizeParams()

Default constructor.

IwiResizeParams();

IwiResizeParams() with Parameters

Constructor with all parameters.

IwiResizeParams(
        Ipp32u antialiasing,   
        Ipp32f cubicBVal,      
        Ipp32f cubicCVal,       
        Ipp32u lanczosLobes     
    );

Parameters

cubicBVal

The first parameter for Cubic filters.

cubicCVal

The second parameter for Cubic filters.

lanczosLobes

Parameter for Lanczos filter. Supported values: 2 or 3.

antialising

If equal to 0 (default) - use resize without antialiasing, any other value - use resize with antialiasing. Use antialiasing to minimize moire artifacts when reducing the size of an image.

Constructor for ippCubic:

IwiResizeParams(
        Ipp32u antialiasing,  
        Ipp32f cubicBVal,      
        Ipp32f cubicCVal       
    );

Constructor for ippLanczos:

IwiResizeParams(
        Ipp32u antialiasing,   
        Ipp32u lanczosLobes     
    );

Operators

Assignment operator for the Resize C structure:

inline operator ::IwiResizeParams* () const;