Evaluates variance of current block.
IppStatus ippiVariance16x16_8u32s(const Ipp8u* pSrc, Ipp32s srcStep, Ipp32s* pVar);
pSrc |
Pointer to the current block of specified size. |
srcStep |
Step of the current block, specifying width of the block in bytes. |
pVar |
Pointer to block variance. |
This function is declared in the ippvc.h header file. The function ippiVariance16x16_8u32s evaluates variance of all the elements in the current block. The result is stored in integer Var.
Let us denote the pel which lies at the crossing of ith row and jth column of the current block as block[i,j]. Then
ippStsNoErr |
Indicates no error. |
ippStsNullPtrErr |
Indicates an error when at least one input pointer is NULL. |
ippStsStepErr |
Indicates an error when srcStep is less than or equal to zero. |
Copyright © 2000 - 2010, Intel Corporation. All rights reserved.