Perform greyscale dilation on images. More...
Go to the source code of this file.
Functions | |
template<class T > | |
T | vil_greyscale_dilate (const T *im, const vcl_ptrdiff_t *offset, unsigned n) |
Return maximum value of im[offset[k]]. | |
template<class T > | |
T | vil_greyscale_dilate (const vil_image_view< T > &image, unsigned plane, const vil_structuring_element &element, int i0, int j0) |
Return max of pixels under structuring element centred at (i0,j0). | |
template<class T > | |
void | vil_greyscale_dilate (const vil_image_view< T > &src_image, vil_image_view< T > &dest_image, const vil_structuring_element &element) |
Dilates src_image to produce dest_image (assumed single plane). |
Perform greyscale dilation on images.
Definition in file vil_greyscale_dilate.h.
T vil_greyscale_dilate | ( | const T * | im, |
const vcl_ptrdiff_t * | offset, | ||
unsigned | n | ||
) | [inline] |
Return maximum value of im[offset[k]].
Definition at line 13 of file vil_greyscale_dilate.h.
T vil_greyscale_dilate | ( | const vil_image_view< T > & | image, |
unsigned | plane, | ||
const vil_structuring_element & | element, | ||
int | i0, | ||
int | j0 | ||
) | [inline] |
Return max of pixels under structuring element centred at (i0,j0).
Checks boundary overlap. Returns 0 if structuring element is empty.
Definition at line 26 of file vil_greyscale_dilate.h.
void vil_greyscale_dilate | ( | const vil_image_view< T > & | src_image, |
vil_image_view< T > & | dest_image, | ||
const vil_structuring_element & | element | ||
) |
Dilates src_image to produce dest_image (assumed single plane).
dest_image(i0,j0) is the maximum value of the pixels under the structuring element when it is centred on src_image(i0,j0)
Definition at line 16 of file vil_greyscale_dilate.txx.