MTFInitAlloc

Allocates memory and initializes the MTF structure.

Syntax

IppStatus ippsMTFInitAlloc_8u(IppMTFState_8u** ppMTFState);

Parameters

ppMTFState

Double pointer to the MTF transform structure.

Description

The function ippsMTFInitAlloc is declared in the ippdc.h file. This function allocates memory and initializes the MTF structure that contains required parameters for the MTF transform. This structure is used by the functions ippsMTFFwd and ippsMTFInv.

Code example  shows how to use the function ippsMTFInitAlloc_8u.

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

Indicates an error if ppMTFState pointer is NULL.

ippMemAllocErr

Indicates an error if no memory is allocated.

Submit feedback on this help topic

Copyright © 2000 - 2011, Intel Corporation. All rights reserved.