EasyImage::OpenBox
Performs an opening on an image (erosion followed by dilation) on a rectangular kernel.
Namespace: Euresys::Open_eVision_2_6
[C++]
void OpenBox(
EROIBW1* sourceImage,
EROIBW1* destinationImage,
OEV_UINT32 halfOfKernelWidth,
OEV_UINT32 halfOfKernelHeight
)
void OpenBox(
EROIBW8* sourceImage,
EROIBW8* destinationImage,
OEV_UINT32 halfOfKernelWidth,
OEV_UINT32 halfOfKernelHeight
)
void OpenBox(
EROIBW16* sourceImage,
EROIBW16* destinationImage,
OEV_UINT32 halfOfKernelWidth,
OEV_UINT32 halfOfKernelHeight
)
void OpenBox(
EROIC24* sourceImage,
EROIC24* destinationImage,
OEV_UINT32 halfOfKernelWidth,
OEV_UINT32 halfOfKernelHeight
)
Parameters
sourceImage
Pointer to the source image/ROI.
destinationImage
Pointer to the destination image/ROI. If
halfOfKernelWidth
Half of the box width minus one, as shown on the picture below (by default,
halfOfKernelHeight
Half of the box height minus one, as shown on the picture below (by default, same as
Remarks
Rectangular kernel of half width = 3 and half height = 2
EasyImage.OpenBox
Performs an opening on an image (erosion followed by dilation) on a rectangular kernel.
Namespace: Euresys.Open_eVision_2_6
[C#]
void OpenBox(
Euresys.Open_eVision_2_6.EROIBW1 sourceImage,
Euresys.Open_eVision_2_6.EROIBW1 destinationImage,
uint halfOfKernelWidth,
uint halfOfKernelHeight
)
void OpenBox(
Euresys.Open_eVision_2_6.EROIBW8 sourceImage,
Euresys.Open_eVision_2_6.EROIBW8 destinationImage,
uint halfOfKernelWidth,
uint halfOfKernelHeight
)
void OpenBox(
Euresys.Open_eVision_2_6.EROIBW16 sourceImage,
Euresys.Open_eVision_2_6.EROIBW16 destinationImage,
uint halfOfKernelWidth,
uint halfOfKernelHeight
)
void OpenBox(
Euresys.Open_eVision_2_6.EROIC24 sourceImage,
Euresys.Open_eVision_2_6.EROIC24 destinationImage,
uint halfOfKernelWidth,
uint halfOfKernelHeight
)
Parameters
sourceImage
Pointer to the source image/ROI.
destinationImage
Pointer to the destination image/ROI. If
halfOfKernelWidth
Half of the box width minus one, as shown on the picture below (by default,
halfOfKernelHeight
Half of the box height minus one, as shown on the picture below (by default, same as
Remarks
Rectangular kernel of half width = 3 and half height = 2