plastimatch
Loading...
Searching...
No Matches
image_boundary.h
Go to the documentation of this file.
1/* -----------------------------------------------------------------------
2 See COPYRIGHT.TXT and LICENSE.TXT for copyright and license information
3 ----------------------------------------------------------------------- */
4#ifndef _image_boundary_h_
5#define _image_boundary_h_
6
7#include "plmutil_config.h"
8#include "itk_image.h"
11
12class Plm_image;
13class Image_boundary_private;
14
23public:
26public:
27 Image_boundary_private *d_ptr;
28
29public:
30
33
35 void set_input_image (const char* image_fn);
37 void set_input_image (const UCharImageType::Pointer image);
45
48
49 void run ();
51
54
55 UCharImageType::Pointer get_output_image ();
57};
58
60UCharImageType::Pointer do_image_boundary (UCharImageType::Pointer image);
61
62#endif
void set_volume_boundary_behavior(Volume_boundary_behavior vbb)
Set the volume boundary behavior, either ZERO_PADDING, EDGE_PADDING, or ADAPTIVE_PADDING.
Definition image_boundary.cxx:226
Image_boundary()
Definition image_boundary.cxx:202
Image_boundary_private * d_ptr
Definition image_boundary.h:27
void set_input_image(const char *image_fn)
Set the input image. The image will be loaded from the specified filename.
Definition image_boundary.cxx:213
UCharImageType::Pointer get_output_image()
Return the boundary image as an ITK image.
Definition image_boundary.cxx:244
void set_volume_boundary_type(Volume_boundary_type vbt)
Set the volume boundary type, either INTERIOR_EDGE or INTERIOR_FACE.
Definition image_boundary.cxx:232
void run()
Compute image boundary.
Definition image_boundary.cxx:238
The Plm_image class represents a three-dimensional volume. The volume is an abstraction that can co...
Definition plm_image.h:27
UCharImageType::Pointer do_image_boundary(UCharImageType::Pointer image)
Definition image_boundary.cxx:250
#define PLMUTIL_API
Definition plmutil_config.h:26
Volume_boundary_behavior
This enum is used to control the algorithm behavior for voxels at the edge of the volume....
Definition volume_boundary_behavior.h:18
Volume_boundary_type
This enum is used to control the output type for volume bounary detection. If INTERIOR_EDGE,...
Definition volume_boundary_type.h:23