VarianceFilter
Calculates the local variance of an image.
Syntax
Definition:
HRESULT VarianceFilter(
HRESULT hrPrev,
ITcVnImage* ipSrcImage,
ITcVnImage*& ipDestImage,
ULONG nKernelSize,
double fScale = 1,
ETcVnBorderInterpolationMethod eBorderType = BIM_DEFAULT
)Parameters
|
Name |
Type |
Default |
Description |
|---|---|---|---|
|
hrPrev |
|
HRESULT indicating the result of previous operations (If SUCCEEDED(hrPrev) equals false, no operation is executed.) | |
|
ipSrcImage |
|
Source image. Only TCVN_ET_USINT Type is supported. | |
|
ipDestImage |
|
Destination image of type TCVN_ET_UINT (An appropriate destination image will be created if required.) | |
|
nKernelSize |
ULONG |
|
Size of the kernel |
|
fScale |
double |
1 |
Scale factor for the computed variance values |
|
eBorderType |
BIM_DEFAULT |
Image border handling |
Required License
TC3 Vision Base
Return value