Perform binary dilation on 3D images. More...
Go to the source code of this file.
Functions | |
bool | vil3d_binary_dilate (const bool *im, const vcl_ptrdiff_t *offset, unsigned n) |
Return true if any im[offset[k]] is non-zero. | |
bool | vil3d_binary_dilate (const vil3d_image_view< bool > &image, unsigned plane, const vil3d_structuring_element &element, int i0, int j0, int k0) |
Return true if any image pixel under element centred at (i0,j0,k0) is non-zero. | |
void | vil3d_binary_dilate (const vil3d_image_view< bool > &src_image, vil3d_image_view< bool > &dest_image, const vil3d_structuring_element &element) |
Dilates src_image to produce dest_image (assumed single plane). |
Perform binary dilation on 3D images.
Definition in file vil3d_binary_dilate.h.
bool vil3d_binary_dilate | ( | const bool * | im, |
const vcl_ptrdiff_t * | offset, | ||
unsigned | n | ||
) | [inline] |
Return true if any im[offset[k]] is non-zero.
Definition at line 13 of file vil3d_binary_dilate.h.
bool vil3d_binary_dilate | ( | const vil3d_image_view< bool > & | image, |
unsigned | plane, | ||
const vil3d_structuring_element & | element, | ||
int | i0, | ||
int | j0, | ||
int | k0 | ||
) | [inline] |
Return true if any image pixel under element centred at (i0,j0,k0) is non-zero.
Checks boundary overlap
Definition at line 21 of file vil3d_binary_dilate.h.
void vil3d_binary_dilate | ( | const vil3d_image_view< bool > & | src_image, |
vil3d_image_view< bool > & | dest_image, | ||
const vil3d_structuring_element & | element | ||
) |
Dilates src_image to produce dest_image (assumed single plane).
Definition at line 10 of file vil3d_binary_dilate.cxx.