Back to Adaptive Vision Library website
You are here: Start » Function Reference » Box » DilateBox
Performs a morphological dilation on a box using box kernel.
Header: | AVL.h |
---|
Syntax
C++
C#
void avl::DilateBox ( const avl::Box& inBox, const int inRadiusX, atl::Optional<int> inRadiusY, avl::Box& outBox )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inBox | const Box& | Input box | |||
inRadiusX | const int | 0 - | 1 | Horizontal radius of the box kernel | |
inRadiusY | Optional<int> | 0 - | NIL | Vertical radius of the box kernel | |
outBox | Box& | Dilated box |
Description
Performs a morphological dilation on a box using box kernel.
Examples
In-place Processing
This function supports in-place data processing - you can pass the same reference to inBox and outBox
See Also
- ResizeBox_Relative – Resizes a box to relatively defined dimensions.
- ResizeRegion – Enlarges or shrinks a region to new dimensions.