EasyImage::BlackTopHatBox
Performs a top-hat filtering on an image (closed image minus source image) on a rectangular kernel.
Namespace: Euresys::Open_eVision
[C++]
void BlackTopHatBox(
EROIBW8* sourceImage,
EROIBW8* destinationImage,
OEV_UINT32 halfOfKernelWidth,
OEV_UINT32 halfOfKernelHeight
)
void BlackTopHatBox(
EROIBW16* sourceImage,
EROIBW16* destinationImage,
OEV_UINT32 halfOfKernelWidth,
OEV_UINT32 halfOfKernelHeight
)
void BlackTopHatBox(
EROIC24* sourceImage,
EROIC24* destinationImage,
OEV_UINT32 halfOfKernelWidth,
OEV_UINT32 halfOfKernelHeight
)
void BlackTopHatBox(
EROIBW8* sourceImage,
const ERegion& region,
EROIBW8* destinationImage,
OEV_UINT32 halfOfKernelWidth,
OEV_UINT32 halfOfKernelHeight
)
void BlackTopHatBox(
EROIBW16* sourceImage,
const ERegion& region,
EROIBW16* destinationImage,
OEV_UINT32 halfOfKernelWidth,
OEV_UINT32 halfOfKernelHeight
)
void BlackTopHatBox(
EROIC24* sourceImage,
const ERegion& region,
EROIC24* destinationImage,
OEV_UINT32 halfOfKernelWidth,
OEV_UINT32 halfOfKernelHeight
)
void BlackTopHatBox(
EROIBW1* sourceImage,
EROIBW1* destinationImage,
OEV_UINT32 halfOfKernelWidth,
OEV_UINT32 halfOfKernelHeight
)
Parameters
sourceImage
Pointer to the source image/ROI.
destinationImage
Pointer to the destination image/ROI. Must not be the same as the source image.
halfOfKernelWidth
Half of the box width minus one (by default,
halfOfKernelHeight
Half of the box height minus one (by default, same as
region
Region to apply the function on.
Remarks
This filter enhances the thin black features.
EasyImage.BlackTopHatBox
Performs a top-hat filtering on an image (closed image minus source image) on a rectangular kernel.
Namespace: Euresys.Open_eVision
[C#]
void BlackTopHatBox(
Euresys.Open_eVision.EROIBW8 sourceImage,
Euresys.Open_eVision.EROIBW8 destinationImage,
uint halfOfKernelWidth,
uint halfOfKernelHeight
)
void BlackTopHatBox(
Euresys.Open_eVision.EROIBW16 sourceImage,
Euresys.Open_eVision.EROIBW16 destinationImage,
uint halfOfKernelWidth,
uint halfOfKernelHeight
)
void BlackTopHatBox(
Euresys.Open_eVision.EROIC24 sourceImage,
Euresys.Open_eVision.EROIC24 destinationImage,
uint halfOfKernelWidth,
uint halfOfKernelHeight
)
void BlackTopHatBox(
Euresys.Open_eVision.EROIBW8 sourceImage,
Euresys.Open_eVision.ERegion region,
Euresys.Open_eVision.EROIBW8 destinationImage,
uint halfOfKernelWidth,
uint halfOfKernelHeight
)
void BlackTopHatBox(
Euresys.Open_eVision.EROIBW16 sourceImage,
Euresys.Open_eVision.ERegion region,
Euresys.Open_eVision.EROIBW16 destinationImage,
uint halfOfKernelWidth,
uint halfOfKernelHeight
)
void BlackTopHatBox(
Euresys.Open_eVision.EROIC24 sourceImage,
Euresys.Open_eVision.ERegion region,
Euresys.Open_eVision.EROIC24 destinationImage,
uint halfOfKernelWidth,
uint halfOfKernelHeight
)
void BlackTopHatBox(
Euresys.Open_eVision.EROIBW1 sourceImage,
Euresys.Open_eVision.EROIBW1 destinationImage,
uint halfOfKernelWidth,
uint halfOfKernelHeight
)
Parameters
sourceImage
Pointer to the source image/ROI.
destinationImage
Pointer to the destination image/ROI. Must not be the same as the source image.
halfOfKernelWidth
Half of the box width minus one (by default,
halfOfKernelHeight
Half of the box height minus one (by default, same as
region
Region to apply the function on.
Remarks
This filter enhances the thin black features.