Slicer 5.9
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
vtkITKGrowCut 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/vtkITKGrowCut.h>

Inheritance diagram for vtkITKGrowCut:
Collaboration diagram for vtkITKGrowCut:

Public Types

typedef vtkImageAlgorithm Superclass
 

Public Member Functions

virtual const char * GetClassName ()
 
virtual double GetDistancePenalty ()
 
virtual int IsA (const char *type)
 
void PrintSelf (ostream &os, vtkIndent indent) override
 
void Reset ()
 
void SetDistancePenalty (double distancePenalty)
 
void SetIntensityVolume (vtkImageData *intensityVolume)
 Set input grayscale volume (input 0)
 
void SetMaskVolume (vtkImageData *labelImage)
 
void SetSeedLabelVolume (vtkImageData *labelImage)
 Set input seed label volume (input 1)
 

Static Public Member Functions

static int IsTypeOf (const char *type)
 
static vtkITKGrowCutNew ()
 
static vtkITKGrowCutSafeDownCast (vtkObject *o)
 

Protected Member Functions

void ExecuteDataWithInformation (vtkDataObject *outData, vtkInformation *outInfo) override
 
int FillInputPortInformation (int port, vtkInformation *info) override
 
 vtkITKGrowCut ()
 
 ~vtkITKGrowCut () override
 

Protected Attributes

double DistancePenalty { 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 37 of file vtkITKGrowCut.h.

Member Typedef Documentation

◆ Superclass

typedef vtkImageAlgorithm vtkITKGrowCut::Superclass

Definition at line 41 of file vtkITKGrowCut.h.

Constructor & Destructor Documentation

◆ vtkITKGrowCut()

vtkITKGrowCut::vtkITKGrowCut ( )
protected

◆ ~vtkITKGrowCut()

vtkITKGrowCut::~vtkITKGrowCut ( )
overrideprotected

Member Function Documentation

◆ ExecuteDataWithInformation()

void vtkITKGrowCut::ExecuteDataWithInformation ( vtkDataObject * outData,
vtkInformation * outInfo )
overrideprotected

◆ FillInputPortInformation()

int vtkITKGrowCut::FillInputPortInformation ( int port,
vtkInformation * info )
overrideprotected

◆ GetClassName()

virtual const char * vtkITKGrowCut::GetClassName ( )
virtual

◆ GetDistancePenalty()

virtual double vtkITKGrowCut::GetDistancePenalty ( )
virtual

Spatial regularization factor, which can force growing in nearby regions. For each physical unit distance, this much intensity level difference is simulated. By default = 0, which means spatial distance does not play a role in the region growing, only intensity value similarity.

◆ IsA()

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

◆ IsTypeOf()

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

◆ New()

static vtkITKGrowCut * vtkITKGrowCut::New ( )
static

◆ PrintSelf()

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

◆ Reset()

void vtkITKGrowCut::Reset ( )

Reset to initial state. This forces full recomputation of the result label volume. This method has to be called if intensity volume changes or if seeds are deleted after initial computation.

◆ SafeDownCast()

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

◆ SetDistancePenalty()

void vtkITKGrowCut::SetDistancePenalty ( double distancePenalty)

◆ SetIntensityVolume()

void vtkITKGrowCut::SetIntensityVolume ( vtkImageData * intensityVolume)
inline

Set input grayscale volume (input 0)

Definition at line 45 of file vtkITKGrowCut.h.

◆ SetMaskVolume()

void vtkITKGrowCut::SetMaskVolume ( vtkImageData * labelImage)
inline

Set mask volume (input 2). Optional. If this volume is specified then only those regions outside the mask (where mask has zero value) will be included in the segmentation result. Regions outside the mask will not be used for region growing either (growing will not start from or cross through masked region).

Definition at line 54 of file vtkITKGrowCut.h.

◆ SetSeedLabelVolume()

void vtkITKGrowCut::SetSeedLabelVolume ( vtkImageData * labelImage)
inline

Set input seed label volume (input 1)

Definition at line 48 of file vtkITKGrowCut.h.

Member Data Documentation

◆ DistancePenalty

double vtkITKGrowCut::DistancePenalty { 0.0 }
protected

Definition at line 73 of file vtkITKGrowCut.h.


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