plastimatch
Loading...
Searching...
No Matches
Image_boundary Class Reference

The Image_boundary class takes an input image (binary) and computes an output image. Voxels of the output image will be one if they are (1) non-zero in the input image, and (2) have a zero voxel in their six-neighborhood. Other output image voxels will have value zero. More...

#include <image_boundary.h>

Public Member Functions

 Image_boundary ()
 
 ~Image_boundary ()
 
Inputs
void set_input_image (const char *image_fn)
 Set the input image. The image will be loaded from the specified filename.
 
void set_input_image (const UCharImageType::Pointer image)
 Set the input image as an ITK image.
 
void set_volume_boundary_type (Volume_boundary_type vbt)
 Set the volume boundary type, either INTERIOR_EDGE or INTERIOR_FACE.
 
void set_volume_boundary_behavior (Volume_boundary_behavior vbb)
 Set the volume boundary behavior, either ZERO_PADDING, EDGE_PADDING, or ADAPTIVE_PADDING.
 
Execution
void run ()
 Compute image boundary.
 
Outputs
UCharImageType::Pointer get_output_image ()
 Return the boundary image as an ITK image.

 

Public Attributes

Image_boundary_private * d_ptr
 

Detailed Description

The Image_boundary class takes an input image (binary) and computes an output image. Voxels of the output image will be one if they are (1) non-zero in the input image, and (2) have a zero voxel in their six-neighborhood. Other output image voxels will have value zero.

Constructor & Destructor Documentation

◆ Image_boundary()

Image_boundary::Image_boundary ( )

◆ ~Image_boundary()

Image_boundary::~Image_boundary ( )

Member Function Documentation

◆ get_output_image()

UCharImageType::Pointer Image_boundary::get_output_image ( )

Return the boundary image as an ITK image.

◆ run()

void Image_boundary::run ( )

Compute image boundary.

◆ set_input_image() [1/2]

void Image_boundary::set_input_image ( const char * image_fn)

Set the input image. The image will be loaded from the specified filename.

◆ set_input_image() [2/2]

void Image_boundary::set_input_image ( const UCharImageType::Pointer image)

Set the input image as an ITK image.

◆ set_volume_boundary_behavior()

void Image_boundary::set_volume_boundary_behavior ( Volume_boundary_behavior vbb)

Set the volume boundary behavior, either ZERO_PADDING, EDGE_PADDING, or ADAPTIVE_PADDING.

◆ set_volume_boundary_type()

void Image_boundary::set_volume_boundary_type ( Volume_boundary_type vbt)

Set the volume boundary type, either INTERIOR_EDGE or INTERIOR_FACE.

Member Data Documentation

◆ d_ptr

Image_boundary_private* Image_boundary::d_ptr

The documentation for this class was generated from the following files: