Perform greyscale erosion on 3D images. More...
#include <vil3d/vil3d_image_view.h>
#include <vil3d/vil3d_crop.h>
#include <vil3d/algo/vil3d_structuring_element.h>
#include <vcl_cassert.h>
Go to the source code of this file.
Functions | |
template<class T > | |
T | vil3d_erode (const T *im, const vcl_ptrdiff_t *offset, unsigned n) |
Return minimum of im[offset[k]], k=0..n;. | |
template<class T > | |
void | vil3d_erode (const vil3d_image_view< T > &src_image, vil3d_image_view< T > &dest_image, const vil3d_structuring_element &element) |
Erodes src_image to produce dest_image (assumed single plane). |
Perform greyscale erosion on 3D images.
Definition in file vil3d_erode.h.
T vil3d_erode | ( | const T * | im, |
const vcl_ptrdiff_t * | offset, | ||
unsigned | n | ||
) | [inline] |
Return minimum of im[offset[k]], k=0..n;.
Definition at line 15 of file vil3d_erode.h.
void vil3d_erode | ( | const vil3d_image_view< T > & | src_image, |
vil3d_image_view< T > & | dest_image, | ||
const vil3d_structuring_element & | element | ||
) |
Erodes src_image to produce dest_image (assumed single plane).
Definition at line 26 of file vil3d_erode.h.