|
plastimatch
|
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 |
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.
| Image_boundary::Image_boundary | ( | ) |
| Image_boundary::~Image_boundary | ( | ) |
| UCharImageType::Pointer Image_boundary::get_output_image | ( | ) |
Return the boundary image as an ITK image.
| void Image_boundary::run | ( | ) |
Compute image boundary.
| void Image_boundary::set_input_image | ( | const char * | image_fn | ) |
Set the input image. The image will be loaded from the specified filename.
| void Image_boundary::set_input_image | ( | const UCharImageType::Pointer | image | ) |
Set the input image as an ITK image.
| void Image_boundary::set_volume_boundary_behavior | ( | Volume_boundary_behavior | vbb | ) |
Set the volume boundary behavior, either ZERO_PADDING, EDGE_PADDING, or ADAPTIVE_PADDING.
| void Image_boundary::set_volume_boundary_type | ( | Volume_boundary_type | vbt | ) |
Set the volume boundary type, either INTERIOR_EDGE or INTERIOR_FACE.
| Image_boundary_private* Image_boundary::d_ptr |