boost::gil::dilate
Applies morphological dilation on the input image view using given structuring element. It gives the maximum overlapped value to the pixel overlapping with the center element of structuring element.
Synopsis
template<
typename SrcView,
typename IntOpView,
typename Kernel>
void
dilate(
SrcView const& src_view,
IntOpView const& int_op_view,
Kernel const& ker_mat,
int iterations);
Template Parameters
Name |
Description |
SrcView |
type of source image, models gil::ImageViewConcept. |
IntOpView |
type of output image, models gil::MutableImageViewConcept. |
Kernel |
type of structuring element. |
Parameters
Name |
Description |
src_view |
‐ Source/input image view. |
int_op_view |
‐ view for writing output and performing intermediate operations. |
ker_mat |
‐ Kernel matrix/structuring element containing 0's and 1's which will be used for applying dilation. |
iterations |
‐ Specifies the number of times dilation is to be applied on the input image view. |
Created with MrDocs