Functions
contrib/mul/vil3d/algo/vil3d_binary_erode.h File Reference

Perform binary erosion on 3D images. More...

#include <vil3d/algo/vil3d_structuring_element.h>
#include <vil3d/vil3d_image_view.h>

Go to the source code of this file.

Functions

bool vil3d_binary_erode (const bool *im, const vcl_ptrdiff_t *offset, unsigned n)
 Return false if any im[offset[k]] is zero.
void vil3d_binary_erode (const vil3d_image_view< bool > &src_image, vil3d_image_view< bool > &dest_image, const vil3d_structuring_element &element)
 Erodes src_image to produce dest_image (assumed single plane).

Detailed Description

Perform binary erosion on 3D images.

Author:
Tim Cootes

Definition in file vil3d_binary_erode.h.


Function Documentation

bool vil3d_binary_erode ( const bool *  im,
const vcl_ptrdiff_t *  offset,
unsigned  n 
) [inline]

Return false if any im[offset[k]] is zero.

Definition at line 13 of file vil3d_binary_erode.h.

void vil3d_binary_erode ( const vil3d_image_view< bool > &  src_image,
vil3d_image_view< bool > &  dest_image,
const vil3d_structuring_element element 
)

Erodes src_image to produce dest_image (assumed single plane).

Definition at line 11 of file vil3d_binary_erode.cxx.