EasyImage::Median
Applies a median filter to an image (median of the gray values in a neighborhood). Kernel may be of an arbitrary size except for EROIBW1 where it is always 3*3.
Namespace: Euresys::Open_eVision
[C++]
void Median(
EROIBW8* sourceImage,
EROIBW8* destinationImage,
OEV_UINT32 halfOfKernelWidth,
OEV_UINT32 halfOfKernelHeight
)
void Median(
EROIBW16* sourceImage,
EROIBW16* destinationImage,
OEV_UINT32 halfOfKernelWidth,
OEV_UINT32 halfOfKernelHeight
)
void Median(
EROIC24* sourceImage,
EROIC24* destinationImage,
OEV_UINT32 halfOfKernelWidth,
OEV_UINT32 halfOfKernelHeight
)
void Median(
EROIBW8* sourceImage,
const ERegion& region,
EROIBW8* destinationImage,
OEV_UINT32 halfOfKernelWidth,
OEV_UINT32 halfOfKernelHeight
)
void Median(
EROIBW16* sourceImage,
const ERegion& region,
EROIBW16* destinationImage,
OEV_UINT32 halfOfKernelWidth,
OEV_UINT32 halfOfKernelHeight
)
void Median(
EROIC24* sourceImage,
const ERegion& region,
EROIC24* destinationImage,
OEV_UINT32 halfOfKernelWidth,
OEV_UINT32 halfOfKernelHeight
)
void Median(
EROIBW1* sourceImage,
EROIBW1* destinationImage
)
Parameters
sourceImage
Pointer to the source image/ROI.
destinationImage
Pointer to the destination image/ROI. Must not be the same as source image.
halfOfKernelWidth
Half width of the kernel minus one (by default,
halfOfKernelHeight
Half height of the kernel minus one (by default, same as
region
Region to apply the function on.
EasyImage.Median
Applies a median filter to an image (median of the gray values in a neighborhood). Kernel may be of an arbitrary size except for EROIBW1 where it is always 3*3.
Namespace: Euresys.Open_eVision
[C#]
void Median(
Euresys.Open_eVision.EROIBW8 sourceImage,
Euresys.Open_eVision.EROIBW8 destinationImage,
uint halfOfKernelWidth,
uint halfOfKernelHeight
)
void Median(
Euresys.Open_eVision.EROIBW16 sourceImage,
Euresys.Open_eVision.EROIBW16 destinationImage,
uint halfOfKernelWidth,
uint halfOfKernelHeight
)
void Median(
Euresys.Open_eVision.EROIC24 sourceImage,
Euresys.Open_eVision.EROIC24 destinationImage,
uint halfOfKernelWidth,
uint halfOfKernelHeight
)
void Median(
Euresys.Open_eVision.EROIBW8 sourceImage,
Euresys.Open_eVision.ERegion region,
Euresys.Open_eVision.EROIBW8 destinationImage,
uint halfOfKernelWidth,
uint halfOfKernelHeight
)
void Median(
Euresys.Open_eVision.EROIBW16 sourceImage,
Euresys.Open_eVision.ERegion region,
Euresys.Open_eVision.EROIBW16 destinationImage,
uint halfOfKernelWidth,
uint halfOfKernelHeight
)
void Median(
Euresys.Open_eVision.EROIC24 sourceImage,
Euresys.Open_eVision.ERegion region,
Euresys.Open_eVision.EROIC24 destinationImage,
uint halfOfKernelWidth,
uint halfOfKernelHeight
)
void Median(
Euresys.Open_eVision.EROIBW1 sourceImage,
Euresys.Open_eVision.EROIBW1 destinationImage
)
Parameters
sourceImage
Pointer to the source image/ROI.
destinationImage
Pointer to the destination image/ROI. Must not be the same as source image.
halfOfKernelWidth
Half width of the kernel minus one (by default,
halfOfKernelHeight
Half height of the kernel minus one (by default, same as
region
Region to apply the function on.