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

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
 

Detailed Description

The Image_center class computes the center of mass of a binary image.

Constructor & Destructor Documentation

◆ Image_center()

Image_center::Image_center ( )

◆ ~Image_center()

Image_center::~Image_center ( )

Member Function Documentation

◆ get_image_center_of_mass()

DoubleVector3DType Image_center::get_image_center_of_mass ( )

Return the center of mass.

◆ run()

void Image_center::run ( )

Compute dice statistics.

◆ set_image() [1/2]

void Image_center::set_image ( const Plm_image::Pointer & image)

Set the reference image as an ITK image.

◆ set_image() [2/2]

void Image_center::set_image ( const UCharImageType::Pointer & image)

Set the reference image as a Plm image.

Member Data Documentation

◆ d_ptr

Image_center_private* Image_center::d_ptr

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