|
plastimatch
|
The Image_center class computes the center of mass of a binary image. More...
#include <image_center.h>
Public Member Functions | |
| Image_center () | |
| ~Image_center () | |
Inputs | |
| void | set_image (const UCharImageType::Pointer &image) |
| Set the reference image as a Plm image. | |
| void | set_image (const Plm_image::Pointer &image) |
| Set the reference image as an ITK image. | |
Execution | |
| void | run () |
| Compute dice statistics. | |
Outputs | |
| DoubleVector3DType | get_image_center_of_mass () |
| Return the center of mass. | |
Public Attributes | |
| Image_center_private * | d_ptr |
The Image_center class computes the center of mass of a binary image.
| Image_center::Image_center | ( | ) |
| Image_center::~Image_center | ( | ) |
| DoubleVector3DType Image_center::get_image_center_of_mass | ( | ) |
Return the center of mass.
| void Image_center::run | ( | ) |
Compute dice statistics.
| void Image_center::set_image | ( | const Plm_image::Pointer & | image | ) |
Set the reference image as an ITK image.
| void Image_center::set_image | ( | const UCharImageType::Pointer & | image | ) |
Set the reference image as a Plm image.
| Image_center_private* Image_center::d_ptr |