SRHNInit Alloc_PSF3x3, SRHNInitAlloc_PSF2x2

Allocates memory and initializes the internal representation of the PSF table.

Syntax

IppStatus ippiSRHNInitAlloc_PSF3x3(IppiSRHNSpec_PSF3x3** ppPSF, const Ipp32f coeffTab[][9], int tabSize);

IppStatus ippiSRHNInitAlloc_PSF2x2(IppiSRHNSpec_PSF2x2** ppPSF, const Ipp32f coeffTab[][4], int tabSize);

Parameters

ppPSF
Double pointer to the PSF table.
coeffTab
Array containing the input PSF table with the coefficients.
tabSize
The number of elements in the coeffTab.

Description

The functions ippiSRHNInitAlloc_PSF3x3 and ippiSRHNInitAlloc_PSF2x2 are declared in the ippcv.h file. These functions allocate memory and initialize the internal table representation of the 3x3 or 2x2 point spread functions (PSF) respectively.

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

Indicates an error if the ppPSF pointer is NULL.

ippStsSizeErr

Indicates an error if the tabSize is less than or equal to 0.

Submit feedback on this help topic

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