EasyImage::LocalAverage
Computes the average in a rectangular window centered on every pixel.
Namespace: Euresys::Open_eVision
[C++]
void LocalAverage(
EROIBW8* sourceImage,
EROIBW8* destinationImage,
OEV_UINT32 halfWidth,
OEV_UINT32 halfHeight
)
void LocalAverage(
EROIBW16* sourceImage,
EROIBW16* destinationImage,
OEV_UINT32 halfWidth,
OEV_UINT32 halfHeight
)
Parameters
sourceImage
Pointer to the source image/ROI.
destinationImage
Pointer to the destination image/ROI.
halfWidth
Half of the window width minus one.
halfHeight
Half of the window height minus one.
Remarks
The window dimensions can be an arbitrary odd integer.
The running time of this function does not depend on the window size.
EasyImage.LocalAverage
Computes the average in a rectangular window centered on every pixel.
Namespace: Euresys.Open_eVision
[C#]
void LocalAverage(
Euresys.Open_eVision.EROIBW8 sourceImage,
Euresys.Open_eVision.EROIBW8 destinationImage,
uint halfWidth,
uint halfHeight
)
void LocalAverage(
Euresys.Open_eVision.EROIBW16 sourceImage,
Euresys.Open_eVision.EROIBW16 destinationImage,
uint halfWidth,
uint halfHeight
)
Parameters
sourceImage
Pointer to the source image/ROI.
destinationImage
Pointer to the destination image/ROI.
halfWidth
Half of the window width minus one.
halfHeight
Half of the window height minus one.
Remarks
The window dimensions can be an arbitrary odd integer.
The running time of this function does not depend on the window size.