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
vtkITKIslandMath 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/vtkITKIslandMath.h>

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

Public Types

typedef vtkSimpleImageToImageFilter Superclass
 

Public Member Functions

virtual const char * GetClassName ()
 
virtual int GetFullyConnected ()
 
virtual vtkIdType GetMaximumSize ()
 
Maximum island size (in pixels). Islands larger than this are ignored. More...
 
virtual vtkIdType GetMinimumSize ()
 
Minimum island size (in pixels). Islands smaller than this are ignored. More...
 
virtual unsigned long GetNumberOfIslands ()
 
Accessors to describe result of calculations More...
 
virtual unsigned long GetOriginalNumberOfIslands ()
 
virtual int GetSliceBySlice ()
 
virtual int IsA (const char *type)
 
void PrintSelf (ostream &os, vtkIndent indent) override
 
virtual void SetFullyConnected (int)
 
virtual void SetMaximumSize (vtkIdType)
 
virtual void SetMinimumSize (vtkIdType)
 
virtual void SetNumberOfIslands (unsigned long)
 
virtual void SetOriginalNumberOfIslands (unsigned long)
 
virtual void SetSliceBySlice (int)
 
void SetSliceBySliceToIJ ()
 
void SetSliceBySliceToIK ()
 
void SetSliceBySliceToJK ()
 

Static Public Member Functions

static int IsTypeOf (const char *type)
 
static vtkITKIslandMathNew ()
 
static vtkITKIslandMathSafeDownCast (vtkObject *o)
 

Protected Member Functions

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

Protected Attributes

int FullyConnected
 
vtkIdType MaximumSize
 
vtkIdType MinimumSize
 
unsigned long NumberOfIslands
 
unsigned long OriginalNumberOfIslands
 
int SliceBySlice
 

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 20 of file vtkITKIslandMath.h.

Member Typedef Documentation

◆ Superclass

typedef vtkSimpleImageToImageFilter vtkITKIslandMath::Superclass

Definition at line 24 of file vtkITKIslandMath.h.

Constructor & Destructor Documentation

◆ vtkITKIslandMath()

vtkITKIslandMath::vtkITKIslandMath ( )
protected

◆ ~vtkITKIslandMath()

vtkITKIslandMath::~vtkITKIslandMath ( )
overrideprotected

Member Function Documentation

◆ GetClassName()

virtual const char* vtkITKIslandMath::GetClassName ( )
virtual

◆ GetFullyConnected()

virtual int vtkITKIslandMath::GetFullyConnected ( )
virtual

If non-zero, islands are defined by pixels that touch on edges and/or vertices. If zero, pixels are only considered part of the same island if their faces/edges touch

◆ GetMaximumSize()

virtual vtkIdType vtkITKIslandMath::GetMaximumSize ( )
virtual


Maximum island size (in pixels). Islands larger than this are ignored.

◆ GetMinimumSize()

virtual vtkIdType vtkITKIslandMath::GetMinimumSize ( )
virtual


Minimum island size (in pixels). Islands smaller than this are ignored.

◆ GetNumberOfIslands()

virtual unsigned long vtkITKIslandMath::GetNumberOfIslands ( )
virtual


Accessors to describe result of calculations

◆ GetOriginalNumberOfIslands()

virtual unsigned long vtkITKIslandMath::GetOriginalNumberOfIslands ( )
virtual

◆ GetSliceBySlice()

virtual int vtkITKIslandMath::GetSliceBySlice ( )
virtual

TODO: Not yet implemented If zero, islands are defined by 3D connectivity If non-zero, islands are evaluated in a sequence of 2D planes (IJ=3, IK=2, JK=1)

◆ IsA()

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

◆ IsTypeOf()

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

◆ New()

static vtkITKIslandMath* vtkITKIslandMath::New ( )
static

◆ PrintSelf()

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

◆ SafeDownCast()

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

◆ SetFullyConnected()

virtual void vtkITKIslandMath::SetFullyConnected ( int  )
virtual

◆ SetMaximumSize()

virtual void vtkITKIslandMath::SetMaximumSize ( vtkIdType  )
virtual

◆ SetMinimumSize()

virtual void vtkITKIslandMath::SetMinimumSize ( vtkIdType  )
virtual

◆ SetNumberOfIslands()

virtual void vtkITKIslandMath::SetNumberOfIslands ( unsigned  long)
virtual

◆ SetOriginalNumberOfIslands()

virtual void vtkITKIslandMath::SetOriginalNumberOfIslands ( unsigned  long)
virtual

◆ SetSliceBySlice()

virtual void vtkITKIslandMath::SetSliceBySlice ( int  )
virtual

◆ SetSliceBySliceToIJ()

void vtkITKIslandMath::SetSliceBySliceToIJ ( )
inline

Definition at line 50 of file vtkITKIslandMath.h.

◆ SetSliceBySliceToIK()

void vtkITKIslandMath::SetSliceBySliceToIK ( )
inline

Definition at line 51 of file vtkITKIslandMath.h.

◆ SetSliceBySliceToJK()

void vtkITKIslandMath::SetSliceBySliceToJK ( )
inline

Definition at line 52 of file vtkITKIslandMath.h.

◆ SimpleExecute()

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

Member Data Documentation

◆ FullyConnected

int vtkITKIslandMath::FullyConnected
protected

Definition at line 68 of file vtkITKIslandMath.h.

◆ MaximumSize

vtkIdType vtkITKIslandMath::MaximumSize
protected

Definition at line 71 of file vtkITKIslandMath.h.

◆ MinimumSize

vtkIdType vtkITKIslandMath::MinimumSize
protected

Definition at line 70 of file vtkITKIslandMath.h.

◆ NumberOfIslands

unsigned long vtkITKIslandMath::NumberOfIslands
protected

Definition at line 73 of file vtkITKIslandMath.h.

◆ OriginalNumberOfIslands

unsigned long vtkITKIslandMath::OriginalNumberOfIslands
protected

Definition at line 74 of file vtkITKIslandMath.h.

◆ SliceBySlice

int vtkITKIslandMath::SliceBySlice
protected

Definition at line 69 of file vtkITKIslandMath.h.


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