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

Fill in contour bounded regions in slices of 3D image. More...

#include <vil3d/vil3d_image_view.h>

Go to the source code of this file.

Functions

void vil3d_fill_boundary (vil3d_image_view< bool > &image)
void label_boundary_and_bkg (vil3d_image_view< int > &image, int i, int j, int k, int boundary_label, int background_label)
 Follow the current boundary in the current slice.
void fill_boundary (vil3d_image_view< int > &image, int j, int k, int boundary_label, int background_label)
 Fill interior of current boundary.
void reset_background (vil3d_image_view< int > &image, int background_label)
 Reset background pixels to 0.

Detailed Description

Fill in contour bounded regions in slices of 3D image.

Author:
Kola Babalola

Definition in file vil3d_fill_boundary.h.


Function Documentation

void fill_boundary ( vil3d_image_view< int > &  image,
int  j,
int  k,
int  boundary_label,
int  background_label 
)

Fill interior of current boundary.

Definition at line 126 of file vil3d_fill_boundary.cxx.

void label_boundary_and_bkg ( vil3d_image_view< int > &  image,
int  i,
int  j,
int  k,
int  boundary_label,
int  background_label 
)

Follow the current boundary in the current slice.

labelling boundary pixels and background pixels that border the boundary.

labeling boundary pixels and background pixels that border the boundary.

Definition at line 58 of file vil3d_fill_boundary.cxx.

void reset_background ( vil3d_image_view< int > &  image,
int  background_label 
)

Reset background pixels to 0.

Definition at line 184 of file vil3d_fill_boundary.cxx.

void vil3d_fill_boundary ( vil3d_image_view< bool > &  image)

Compute a mask where the regions in each slice of a 3D image bounded by contours are set to "on".

Definition at line 14 of file vil3d_fill_boundary.cxx.