Slicer  5.0
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
List of all members | Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkITKImageMargin Class Reference

ITK-based utilities for manipulating connected regions in label maps. Limitation: The filter does not work correctly with input volume that has unsigned long scalar type on Linux and macOS. More...

#include <Libs/vtkITK/vtkITKImageMargin.h>

Inheritance diagram for vtkITKImageMargin:
Inheritance graph
[legend]
Collaboration diagram for vtkITKImageMargin:
Collaboration graph
[legend]

Public Types

typedef vtkSimpleImageToImageFilter Superclass
 

Public Member Functions

virtual void CalculateMarginInMMOff ()
 
virtual void CalculateMarginInMMOn ()
 
virtual int GetBackgroundValue ()
 
virtual bool GetCalculateMarginInMM ()
 If the margin calculation should be calculated using image spacing, or using a set number of voxels. More...
 
virtual const char * GetClassName ()
 
virtual double GetInnerMarginMM ()
 
virtual double GetInnerMarginVoxels ()
 
virtual double GetOuterMarginMM ()
 
virtual double GetOuterMarginVoxels ()
 
virtual int IsA (const char *type)
 
void PrintSelf (ostream &os, vtkIndent indent) override
 
virtual void SetBackgroundValue (int)
 
virtual void SetCalculateMarginInMM (bool)
 
virtual void SetInnerMarginMM (double)
 
virtual void SetInnerMarginVoxels (double)
 
virtual void SetOuterMarginMM (double)
 
virtual void SetOuterMarginVoxels (double)
 

Static Public Member Functions

static int IsTypeOf (const char *type)
 
static vtkITKImageMarginNew ()
 
static vtkITKImageMarginSafeDownCast (vtkObject *o)
 

Protected Member Functions

void SimpleExecute (vtkImageData *input, vtkImageData *output) override
 
 vtkITKImageMargin ()
 
 ~vtkITKImageMargin () override
 

Protected Attributes

int BackgroundValue {0}
 
bool CalculateMarginInMM {true}
 
double InnerMarginMM {0.0}
 
double InnerMarginVoxels {0.0}
 
double OuterMarginMM {0.0}
 
double OuterMarginVoxels {0.0}
 

Detailed Description

ITK-based utilities for manipulating connected regions in label maps. Limitation: The filter does not work correctly with input volume that has unsigned long scalar type on Linux and macOS.

Definition at line 31 of file vtkITKImageMargin.h.

Member Typedef Documentation

◆ Superclass

typedef vtkSimpleImageToImageFilter vtkITKImageMargin::Superclass

Definition at line 35 of file vtkITKImageMargin.h.

Constructor & Destructor Documentation

◆ vtkITKImageMargin()

vtkITKImageMargin::vtkITKImageMargin ( )
protected

◆ ~vtkITKImageMargin()

vtkITKImageMargin::~vtkITKImageMargin ( )
overrideprotected

Member Function Documentation

◆ CalculateMarginInMMOff()

virtual void vtkITKImageMargin::CalculateMarginInMMOff ( )
virtual

◆ CalculateMarginInMMOn()

virtual void vtkITKImageMargin::CalculateMarginInMMOn ( )
virtual

◆ GetBackgroundValue()

virtual int vtkITKImageMargin::GetBackgroundValue ( )
virtual

The background value that is considered "outside" the image. Default value is 0.

◆ GetCalculateMarginInMM()

virtual bool vtkITKImageMargin::GetCalculateMarginInMM ( )
virtual

If the margin calculation should be calculated using image spacing, or using a set number of voxels.

◆ GetClassName()

virtual const char* vtkITKImageMargin::GetClassName ( )
virtual

◆ GetInnerMarginMM()

virtual double vtkITKImageMargin::GetInnerMarginMM ( )
virtual

The distance of the inner margin from the surface. Positive values are outside the foreground, and negative values are inside the foreground. Default value is negative infinity.

◆ GetInnerMarginVoxels()

virtual double vtkITKImageMargin::GetInnerMarginVoxels ( )
virtual

The number of voxels to the inner margin from the surface. Positive values are outside the foreground, and negative values are inside the foreground. Default value is negative infinity.

◆ GetOuterMarginMM()

virtual double vtkITKImageMargin::GetOuterMarginMM ( )
virtual

The distance of the outer margin from the surface. Positive values are outside the foreground, and negative values are inside the foreground. Default value is 0.0.

◆ GetOuterMarginVoxels()

virtual double vtkITKImageMargin::GetOuterMarginVoxels ( )
virtual

The number of voxels to the outer margin from the surface. Positive values are outside the foreground, and negative values are inside the foreground. Default value is 0.0.

◆ IsA()

virtual int vtkITKImageMargin::IsA ( const char *  type)
virtual

◆ IsTypeOf()

static int vtkITKImageMargin::IsTypeOf ( const char *  type)
static

◆ New()

static vtkITKImageMargin* vtkITKImageMargin::New ( )
static

◆ PrintSelf()

void vtkITKImageMargin::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
override

◆ SafeDownCast()

static vtkITKImageMargin* vtkITKImageMargin::SafeDownCast ( vtkObject *  o)
static

◆ SetBackgroundValue()

virtual void vtkITKImageMargin::SetBackgroundValue ( int  )
virtual

◆ SetCalculateMarginInMM()

virtual void vtkITKImageMargin::SetCalculateMarginInMM ( bool  )
virtual

◆ SetInnerMarginMM()

virtual void vtkITKImageMargin::SetInnerMarginMM ( double  )
virtual

◆ SetInnerMarginVoxels()

virtual void vtkITKImageMargin::SetInnerMarginVoxels ( double  )
virtual

◆ SetOuterMarginMM()

virtual void vtkITKImageMargin::SetOuterMarginMM ( double  )
virtual

◆ SetOuterMarginVoxels()

virtual void vtkITKImageMargin::SetOuterMarginVoxels ( double  )
virtual

◆ SimpleExecute()

void vtkITKImageMargin::SimpleExecute ( vtkImageData *  input,
vtkImageData *  output 
)
overrideprotected

Member Data Documentation

◆ BackgroundValue

int vtkITKImageMargin::BackgroundValue {0}
protected

Definition at line 73 of file vtkITKImageMargin.h.

◆ CalculateMarginInMM

bool vtkITKImageMargin::CalculateMarginInMM {true}
protected

Definition at line 74 of file vtkITKImageMargin.h.

◆ InnerMarginMM

double vtkITKImageMargin::InnerMarginMM {0.0}
protected

Definition at line 76 of file vtkITKImageMargin.h.

◆ InnerMarginVoxels

double vtkITKImageMargin::InnerMarginVoxels {0.0}
protected

Definition at line 78 of file vtkITKImageMargin.h.

◆ OuterMarginMM

double vtkITKImageMargin::OuterMarginMM {0.0}
protected

Definition at line 75 of file vtkITKImageMargin.h.

◆ OuterMarginVoxels

double vtkITKImageMargin::OuterMarginVoxels {0.0}
protected

Definition at line 77 of file vtkITKImageMargin.h.


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