Back to Adaptive Vision Studio website

You are here: Start » Filter Reference » Image » Image Local Transforms » ErodeImage_AnyKernel

ErodeImage_AnyKernel


Module: FoundationPro

Replaces each pixel with the minimum of pixels within an arbitrary kernel.

Name Type Description
inImage Image Input image
inRoi Region* Range of outImage pixels to be computed
inSourceRoi Region* Range of inImage pixels to be considered in computations
inBorderColor Pixel* Color of the imaginary pixels outside the image boundaries
inKernel Region Kernel shape (any)
inKernelAnchor Location* A location within inKernel, defining its center
outImage Image Output image

Hardware Acceleration

This operation is optimized for SSE2 technology for pixels of types: all formats (when inSourceRoi = NIL and inBorderColor = NIL).

This operation supports automatic parallelization for multicore and multiprocessor systems.

This operation supports processing on OpenCL compatible device (when inRoi=NIL, inSourceRoi=NIL, inBorderColor=NIL).

Errors

This filter can throw an exception to report error. Read how to deal with errors in Error Handling.

List of possible exceptions:

Error type Description
DomainError Empty kernel on input in ErodeImage_AnyKernel.
DomainError Region exceeds an input image in ErodeImage_AnyKernel.

Complexity Level

This filter is available on Advanced Complexity Level.

Filter Group

This filter is member of ErodeImage filter group.