Morphological filter operations available from the Common Vision Blox foundation package. More...
Static Public Member Functions | |
static Image | Erode (Image img, MorphologyMask maskType, Size2D maskSize) |
Perform an erosion operation with a selectable filter mask. More... | |
static Image | Erode (Image img, MorphologyMask maskType, Size2D maskSize, Point2D maskOffset) |
Perform an erosion operation with a selectable filter mask. More... | |
static Image | Erode (Image img, Image mask) |
Performs an erosion operation with a custom filter mask. More... | |
static Image | Erode (Image img, Image mask, Point2D maskOffset) |
Performs an erosion operation with a custom filter mask. More... | |
static Image | Dilate (Image img, MorphologyMask maskType, Size2D maskSize) |
Perform an dilation operation with a selectable filter mask. More... | |
static Image | Dilate (Image img, MorphologyMask maskType, Size2D maskSize, Point2D maskOffset) |
Perform an dilation operation with a selectable filter mask. More... | |
static Image | Dilate (Image img, Image mask) |
Perform an dilation operation with a custom filter mask. More... | |
static Image | Dilate (Image img, Image mask, Point2D maskOffset) |
Perform an dilation operation with a custom filter mask. More... | |
static Image | Open (Image img, MorphologyMask maskType, Size2D maskSize) |
Perform an open operation with a selectable filter mask. More... | |
static Image | Open (Image img, MorphologyMask maskType, Size2D maskSize, Point2D maskOffset) |
Perform an open operation with a selectable filter mask. More... | |
static Image | Open (Image img, Image mask) |
Perform an open operation with a custom filter mask. More... | |
static Image | Open (Image img, Image mask, Point2D maskOffset) |
Perform an open operation with a custom filter mask. More... | |
static Image | Close (Image img, MorphologyMask maskType, Size2D maskSize) |
Perform a close operation with a selectable filter mask. More... | |
static Image | Close (Image img, MorphologyMask maskType, Size2D maskSize, Point2D maskOffset) |
Perform a close operation with a selectable filter mask. More... | |
static Image | Close (Image img, Image mask) |
Perform a close operation with a custom filter mask. More... | |
static Image | Close (Image img, Image mask, Point2D maskOffset) |
Perform a close operation with a custom filter mask. More... | |
static Image | DistanceTransform (ImagePlane plane, FixedFilterSize maskSize, DistanceNorm norm) |
This function calculates (and writes into the output image) the distance to the closest pixel in the source image with the value zero for all nonzero pixels in the input image. Distance is calculated approximatively using a set of principal distances, that is governed by the MaskSize parameter and the distance norm. More... | |
Morphological filter operations available from the Common Vision Blox foundation package.
Perform a close operation with a custom filter mask.
img | Image on which the operation is to be executed. |
mask | Custom filter mask to use.The custom filter mask effective is a CVB image of up to 256x256 pixels where irrelevant pixels have been set to black and pixels that are part of the filter mask have been set to white (255) |
ArgumentNullException | If the input img or mask is null |
ObjectDisposedException | If the input img or mask have been disposed |
Perform a close operation with a custom filter mask.
img | Image on which the operation is to be executed. |
mask | Custom filter mask to use.The custom filter mask effective is a CVB image of up to 256x256 pixels where irrelevant pixels have been set to black and pixels that are part of the filter mask have been set to white (255) |
maskOffset | Offset of the mask reference point relative to the top left pixel of the mask; must lie within the mask |
ArgumentNullException | If the input img or mask is null |
ObjectDisposedException | If the input img or mask have been disposed |
|
static |
Perform a close operation with a selectable filter mask.
img | Image on which the operation is to be executed. |
maskType | Type of erosion mask to be used |
maskSize | Size of the erosion mask |
ArgumentNullException | If the input img is null |
ObjectDisposedException | If the input img has already been disposed |
|
static |
Perform a close operation with a selectable filter mask.
img | Image on which the operation is to be executed. |
maskType | Type of erosion mask to be used |
maskSize | Size of the erosion mask |
maskOffset | Offset of the mask reference point relative to the top left pixel of the mask; must lie within the defined maskSize |
ArgumentNullException | If the input img is null |
ObjectDisposedException | If the input img has already been disposed |
Perform an dilation operation with a custom filter mask.
img | Image on which the operation is to be executed. |
mask | Custom filter mask to use.The custom filter mask effective is a CVB image of up to 256x256 pixels where irrelevant pixels have been set to black and pixels that are part of the filter mask have been set to white (255) |
ArgumentNullException | If the input img or mask is null |
ObjectDisposedException | If the input img or mask have been disposed |
Perform an dilation operation with a custom filter mask.
img | Image on which the operation is to be executed. |
mask | Custom filter mask to use.The custom filter mask effective is a CVB image of up to 256x256 pixels where irrelevant pixels have been set to black and pixels that are part of the filter mask have been set to white (255) |
maskOffset | offset of the mask reference point relative to the top left pixel of the mask; must lie within the mask |
ArgumentNullException | If the input img or mask is null |
ObjectDisposedException | If the input img or mask have been disposed |
|
static |
Perform an dilation operation with a selectable filter mask.
img | Image on which the operation is to be executed. |
maskType | Type of erosion mask to be used |
maskSize | Size of the erosion mask |
ArgumentNullException | If the input img is null |
ObjectDisposedException | If the input img has already been disposed |
|
static |
Perform an dilation operation with a selectable filter mask.
img | Image on which the operation is to be executed. |
maskType | Type of erosion mask to be used |
maskSize | Size of the erosion mask |
maskOffset | Offset of the mask reference point relative to the top left pixel of the mask; must lie within the defined maskSize |
ArgumentNullException | If the input img is null |
ObjectDisposedException | If the input img has already been disposed |
|
static |
This function calculates (and writes into the output image) the distance to the closest pixel in the source image with the value zero for all nonzero pixels in the input image. Distance is calculated approximatively using a set of principal distances, that is governed by the MaskSize parameter and the distance norm.
plane | Image plane on which to calculate. |
maskSize | Mask size to use for the approximator (only 3x3 and 5x5 are acceptable) |
norm | Distance calculation norm to be used |
ObjectDisposedException | If the input plane has already been disposed |
Performs an erosion operation with a custom filter mask.
img | Image on which the operation is to be executed. |
mask | Custom filter mask to use.The custom filter mask effective is a CVB image of up to 256x256 pixels where irrelevant pixels have been set to black and pixels that are part of the filter mask have been set to white (255) |
ArgumentNullException | If the input img or mask is null. |
ObjectDisposedException | If the input img or mask have been disposed. |
Performs an erosion operation with a custom filter mask.
img | Image on which the operation is to be executed. |
mask | Custom filter mask to use.The custom filter mask effective is a CVB image of up to 256x256 pixels, where irrelevant pixels have been set to black and pixels that are part of the filter mask have been set to white (255) |
maskOffset | Offset of the mask reference point relative to the top left pixel of the mask; must lie within the mask |
ArgumentNullException | If the input img or mask is null. |
ObjectDisposedException | If the input img or mask have been disposed. |
|
static |
Perform an erosion operation with a selectable filter mask.
img | Image on which the operation is to be executed. |
maskType | Type of erosion mask to be used. |
maskSize | Size of the erosion mask. |
ArgumentNullException | If the input img is null |
ObjectDisposedException | If the input img has already been disposed |
|
static |
Perform an erosion operation with a selectable filter mask.
img | Image on which the operation is to be executed. |
maskType | Type of erosion mask to be used. |
maskSize | Size of the erosion mask. |
maskOffset | Offset of the mask reference point relative to the top left pixel of the mask; must lie within the defined maskSize . |
ArgumentNullException | If the input img is null |
ObjectDisposedException | If the input img has already been disposed |
Perform an open operation with a custom filter mask.
img | Image on which the operation is to be executed. |
mask | Custom filter mask to use.The custom filter mask effective is a CVB image of up to 256x256 pixels where irrelevant pixels have been set to black and pixels that are part of the filter mask have been set to white (255) |
ArgumentNullException | If the input img or mask is null |
ObjectDisposedException | If the input img or mask have been disposed |
Perform an open operation with a custom filter mask.
img | Image on which the operation is to be executed. |
mask | Custom filter mask to use.The custom filter mask effective is a CVB image of up to 256x256 pixels where irrelevant pixels have been set to black and pixels that are part of the filter mask have been set to white (255) |
maskOffset | Offset of the mask reference point relative to the top left pixel of the mask; must lie within the mask |
ArgumentNullException | If the input img or mask is null |
ObjectDisposedException | If the input img or mask have been disposed |
|
static |
Perform an open operation with a selectable filter mask.
img | Image on which the operation is to be executed. |
maskType | Type of erosion mask to be used |
maskSize | Size of the erosion mask |
ArgumentNullException | If the input img is null |
ObjectDisposedException | If the input img has already been disposed |
|
static |
Perform an open operation with a selectable filter mask.
img | Image on which the operation is to be executed. |
maskType | Type of erosion mask to be used |
maskSize | Size of the erosion mask |
maskOffset | Offset of the mask reference point relative to the top left pixel of the mask; must lie within the defined maskSize |
ArgumentNullException | If the input img is null |
ObjectDisposedException | If the input img has already been disposed |