VMTK
Loading...
Searching...
No Matches
itk::AverageOutwardFluxImageFilter< TInputImage, TOutputPixelType, TInputVectorPixelType > Class Template Reference

This class computes the average outward flux associated to an object implicitly represented as a distance transform. This class implements the centerline extraction algorithm described in : "S. Bouix, K. Siddiqi, and A. Tannenbaum. Flux driven automatic centerline extraction. Technical Report SOCS-04.2, School of Computer Science, McGill University, 2004.". More...

#include <itkAverageOutwardFluxImageFilter.h>

Inheritance diagram for itk::AverageOutwardFluxImageFilter< TInputImage, TOutputPixelType, TInputVectorPixelType >:
[legend]
Collaboration diagram for itk::AverageOutwardFluxImageFilter< TInputImage, TOutputPixelType, TInputVectorPixelType >:
[legend]

Public Types

typedef itk::Image< TInputVectorPixelType, TInputImage::ImageDimension > TInputVectorImage
typedef itk::Image< TOutputPixelType, TInputImage::ImageDimension > TOutputImage
typedef AverageOutwardFluxImageFilter Self
typedef ImageToImageFilter< TInputImage, TOutputImage > Superclass
typedef SmartPointer< Self > Pointer
typedef SmartPointer< const Self > ConstPointer
typedef TInputImage::ConstPointer InputConstPointerType
typedef TInputVectorImage::ConstPointer InputVectorConstPointerType
typedef TOutputImage::Pointer OutputPointerType
typedef itk::ImageRegionConstIterator< TInputImage > InputConstIteratorType
typedef itk::ConstNeighborhoodIterator< TInputVectorImage > InputVectorConstNeighborhoodIteratorType
typedef itk::ImageRegionIterator< TOutputImage > OutputIteratorType

Public Member Functions

 itkNewMacro (Self)
 itkTypeMacro (AverageOutwardFluxImageFilter, ImageToImageFilter)
virtual void SetGradientImage (InputVectorConstPointerType gradient)
virtual InputVectorConstPointerType GetGradientImage ()
void GenerateData () ITK_OVERRIDE
 Compute the gradient.
void PrintSelf (std::ostream &os, Indent indent) const ITK_OVERRIDE

Protected Member Functions

 AverageOutwardFluxImageFilter ()
 Default Constructor.
virtual ~AverageOutwardFluxImageFilter ()
 Destructor.

Protected Attributes

InputConstPointerType distance
InputVectorConstPointerType gradient
OutputPointerType aof

Detailed Description

template<class TInputImage, class TOutputPixelType = float, class TInputVectorPixelType = ::itk::CovariantVector<TOutputPixelType,TInputImage::ImageDimension>>
class itk::AverageOutwardFluxImageFilter< TInputImage, TOutputPixelType, TInputVectorPixelType >

This class computes the average outward flux associated to an object implicitly represented as a distance transform. This class implements the centerline extraction algorithm described in : "S. Bouix, K. Siddiqi, and A. Tannenbaum. Flux driven automatic centerline extraction. Technical Report SOCS-04.2, School of Computer Science, McGill University, 2004.".

TODO:

  1. manual instantiation

Definition at line 64 of file itkAverageOutwardFluxImageFilter.h.

Member Typedef Documentation

◆ TInputVectorImage

template<class TInputImage, class TOutputPixelType = float, class TInputVectorPixelType = ::itk::CovariantVector<TOutputPixelType,TInputImage::ImageDimension>>
typedef itk::Image< TInputVectorPixelType, TInputImage::ImageDimension > itk::AverageOutwardFluxImageFilter< TInputImage, TOutputPixelType, TInputVectorPixelType >::TInputVectorImage

Definition at line 73 of file itkAverageOutwardFluxImageFilter.h.

◆ TOutputImage

template<class TInputImage, class TOutputPixelType = float, class TInputVectorPixelType = ::itk::CovariantVector<TOutputPixelType,TInputImage::ImageDimension>>
typedef itk::Image< TOutputPixelType, TInputImage::ImageDimension > itk::AverageOutwardFluxImageFilter< TInputImage, TOutputPixelType, TInputVectorPixelType >::TOutputImage

Definition at line 74 of file itkAverageOutwardFluxImageFilter.h.

◆ Self

template<class TInputImage, class TOutputPixelType = float, class TInputVectorPixelType = ::itk::CovariantVector<TOutputPixelType,TInputImage::ImageDimension>>
typedef AverageOutwardFluxImageFilter itk::AverageOutwardFluxImageFilter< TInputImage, TOutputPixelType, TInputVectorPixelType >::Self

Standard class typedefs.

Definition at line 77 of file itkAverageOutwardFluxImageFilter.h.

◆ Superclass

template<class TInputImage, class TOutputPixelType = float, class TInputVectorPixelType = ::itk::CovariantVector<TOutputPixelType,TInputImage::ImageDimension>>
typedef ImageToImageFilter<TInputImage, TOutputImage> itk::AverageOutwardFluxImageFilter< TInputImage, TOutputPixelType, TInputVectorPixelType >::Superclass

Definition at line 78 of file itkAverageOutwardFluxImageFilter.h.

◆ Pointer

template<class TInputImage, class TOutputPixelType = float, class TInputVectorPixelType = ::itk::CovariantVector<TOutputPixelType,TInputImage::ImageDimension>>
typedef SmartPointer<Self> itk::AverageOutwardFluxImageFilter< TInputImage, TOutputPixelType, TInputVectorPixelType >::Pointer

Definition at line 79 of file itkAverageOutwardFluxImageFilter.h.

◆ ConstPointer

template<class TInputImage, class TOutputPixelType = float, class TInputVectorPixelType = ::itk::CovariantVector<TOutputPixelType,TInputImage::ImageDimension>>
typedef SmartPointer<const Self> itk::AverageOutwardFluxImageFilter< TInputImage, TOutputPixelType, TInputVectorPixelType >::ConstPointer

Definition at line 80 of file itkAverageOutwardFluxImageFilter.h.

◆ InputConstPointerType

template<class TInputImage, class TOutputPixelType = float, class TInputVectorPixelType = ::itk::CovariantVector<TOutputPixelType,TInputImage::ImageDimension>>
typedef TInputImage::ConstPointer itk::AverageOutwardFluxImageFilter< TInputImage, TOutputPixelType, TInputVectorPixelType >::InputConstPointerType

Definition at line 88 of file itkAverageOutwardFluxImageFilter.h.

◆ InputVectorConstPointerType

template<class TInputImage, class TOutputPixelType = float, class TInputVectorPixelType = ::itk::CovariantVector<TOutputPixelType,TInputImage::ImageDimension>>
typedef TInputVectorImage::ConstPointer itk::AverageOutwardFluxImageFilter< TInputImage, TOutputPixelType, TInputVectorPixelType >::InputVectorConstPointerType

Definition at line 89 of file itkAverageOutwardFluxImageFilter.h.

◆ OutputPointerType

template<class TInputImage, class TOutputPixelType = float, class TInputVectorPixelType = ::itk::CovariantVector<TOutputPixelType,TInputImage::ImageDimension>>
typedef TOutputImage::Pointer itk::AverageOutwardFluxImageFilter< TInputImage, TOutputPixelType, TInputVectorPixelType >::OutputPointerType

Definition at line 90 of file itkAverageOutwardFluxImageFilter.h.

◆ InputConstIteratorType

template<class TInputImage, class TOutputPixelType = float, class TInputVectorPixelType = ::itk::CovariantVector<TOutputPixelType,TInputImage::ImageDimension>>
typedef itk::ImageRegionConstIterator< TInputImage > itk::AverageOutwardFluxImageFilter< TInputImage, TOutputPixelType, TInputVectorPixelType >::InputConstIteratorType

Definition at line 92 of file itkAverageOutwardFluxImageFilter.h.

◆ InputVectorConstNeighborhoodIteratorType

template<class TInputImage, class TOutputPixelType = float, class TInputVectorPixelType = ::itk::CovariantVector<TOutputPixelType,TInputImage::ImageDimension>>
typedef itk::ConstNeighborhoodIterator< TInputVectorImage > itk::AverageOutwardFluxImageFilter< TInputImage, TOutputPixelType, TInputVectorPixelType >::InputVectorConstNeighborhoodIteratorType

Definition at line 93 of file itkAverageOutwardFluxImageFilter.h.

◆ OutputIteratorType

template<class TInputImage, class TOutputPixelType = float, class TInputVectorPixelType = ::itk::CovariantVector<TOutputPixelType,TInputImage::ImageDimension>>
typedef itk::ImageRegionIterator< TOutputImage > itk::AverageOutwardFluxImageFilter< TInputImage, TOutputPixelType, TInputVectorPixelType >::OutputIteratorType

Definition at line 94 of file itkAverageOutwardFluxImageFilter.h.

Constructor & Destructor Documentation

◆ AverageOutwardFluxImageFilter()

template<class TInputImage, class TOutputPixelType, class TInputVectorPixelType>
itk::AverageOutwardFluxImageFilter< TInputImage, TOutputPixelType, TInputVectorPixelType >::AverageOutwardFluxImageFilter ( )
protected

Default Constructor.

Definition at line 40 of file itkAverageOutwardFluxImageFilter.h.

◆ ~AverageOutwardFluxImageFilter()

template<class TInputImage, class TOutputPixelType, class TInputVectorPixelType>
itk::AverageOutwardFluxImageFilter< TInputImage, TOutputPixelType, TInputVectorPixelType >::~AverageOutwardFluxImageFilter ( )
protectedvirtual

Destructor.

Definition at line 47 of file itkAverageOutwardFluxImageFilter.h.

Member Function Documentation

◆ itkNewMacro()

template<class TInputImage, class TOutputPixelType = float, class TInputVectorPixelType = ::itk::CovariantVector<TOutputPixelType,TInputImage::ImageDimension>>
itk::AverageOutwardFluxImageFilter< TInputImage, TOutputPixelType, TInputVectorPixelType >::itkNewMacro ( Self )

Method for creation through the object factory

◆ itkTypeMacro()

template<class TInputImage, class TOutputPixelType = float, class TInputVectorPixelType = ::itk::CovariantVector<TOutputPixelType,TInputImage::ImageDimension>>
itk::AverageOutwardFluxImageFilter< TInputImage, TOutputPixelType, TInputVectorPixelType >::itkTypeMacro ( AverageOutwardFluxImageFilter< TInputImage, TOutputPixelType, TInputVectorPixelType > ,
ImageToImageFilter  )

Run-time type information (and related methods).

◆ SetGradientImage()

template<class TInputImage, class TOutputPixelType = float, class TInputVectorPixelType = ::itk::CovariantVector<TOutputPixelType,TInputImage::ImageDimension>>
virtual void itk::AverageOutwardFluxImageFilter< TInputImage, TOutputPixelType, TInputVectorPixelType >::SetGradientImage ( InputVectorConstPointerType gradient)
inlinevirtual

Begin concept checking End concept checking

Definition at line 115 of file itkAverageOutwardFluxImageFilter.h.

116 {
117 this->ProcessObject::SetNthInput( 1, const_cast< TInputVectorImage * >(gradient.GetPointer()) );
118 }
This class computes the average outward flux associated to an object implicitly represented as a dist...
itk::Image< TInputVectorPixelType, TInputImage::ImageDimension > TInputVectorImage

◆ GetGradientImage()

template<class TInputImage, class TOutputPixelType = float, class TInputVectorPixelType = ::itk::CovariantVector<TOutputPixelType,TInputImage::ImageDimension>>
virtual InputVectorConstPointerType itk::AverageOutwardFluxImageFilter< TInputImage, TOutputPixelType, TInputVectorPixelType >::GetGradientImage ( )
inlinevirtual

Definition at line 120 of file itkAverageOutwardFluxImageFilter.h.

121 {
122 return ( static_cast< TInputVectorImage *>(this->ProcessObject::GetInput(1)) );
123 }

◆ GenerateData()

template<class TInputImage, class TOutputPixelType, class TInputVectorPixelType>
void itk::AverageOutwardFluxImageFilter< TInputImage, TOutputPixelType, TInputVectorPixelType >::GenerateData ( )

Compute the gradient.

Definition at line 54 of file itkAverageOutwardFluxImageFilter.h.

64 :
66{
67 public:
68
69 //-----------------------------------------------------
70 // Typedefs
71 //-----------------------------------------------------
72
75
81
84
87
91
95
96// #ifdef ITK_USE_CONCEPT_CHECKING
97// /** Begin concept checking */
98// itkConceptMacro(SameDimensionCheck,
99// (Concept::SameDimension<InputImageDimension, OutputImageDimension>));
100// itkConceptMacro(InputVectorIsReallyAVectorCheck,
101// (Concept::HasValueType<TInputVectorPixelType>));
102// itkConceptMacro(InputVectorIsFloatingPointCheck,
103// (Concept::IsFloatingPoint<TInputVectorPixelType::ValueType>));
104// //itkConceptMacro(InputVectorIsSameDimensionInputImageCheck,
105// // (Concept::SameDimension<TInputVectorPixelType::SizeType,InputImageDimension>));
106// itkConceptMacro(OutputIsFloatingPointCheck,
107// (Concept::IsFloatingPoint<TOutputPixelType>));
108// /** End concept checking */
109// #endif
110
111 //-----------------------------------------------------
112 // Methods
113 //-----------------------------------------------------
114
116 {
117 this->ProcessObject::SetNthInput( 1, const_cast< TInputVectorImage * >(gradient.GetPointer()) );
118 }
119
121 {
122 return ( static_cast< TInputVectorImage *>(this->ProcessObject::GetInput(1)) );
123 }
124
virtual void SetGradientImage(InputVectorConstPointerType gradient)
ImageToImageFilter< TInputImage, TOutputImage > Superclass
itk::Image< TOutputPixelType, TInputImage::ImageDimension > TOutputImage
itk::ImageRegionConstIterator< TInputImage > InputConstIteratorType
itk::ConstNeighborhoodIterator< TInputVectorImage > InputVectorConstNeighborhoodIteratorType
TInputVectorImage::ConstPointer InputVectorConstPointerType
itkTypeMacro(AverageOutwardFluxImageFilter, ImageToImageFilter)
virtual InputVectorConstPointerType GetGradientImage()
itk::ImageRegionIterator< TOutputImage > OutputIteratorType

◆ PrintSelf()

template<class TInputImage, class TOutputPixelType, class TInputVectorPixelType>
void itk::AverageOutwardFluxImageFilter< TInputImage, TOutputPixelType, TInputVectorPixelType >::PrintSelf ( std::ostream & os,
Indent indent ) const

Print Self

Definition at line 131 of file itkAverageOutwardFluxImageFilter.h.

Member Data Documentation

◆ distance

template<class TInputImage, class TOutputPixelType = float, class TInputVectorPixelType = ::itk::CovariantVector<TOutputPixelType,TInputImage::ImageDimension>>
InputConstPointerType itk::AverageOutwardFluxImageFilter< TInputImage, TOutputPixelType, TInputVectorPixelType >::distance
protected

Definition at line 143 of file itkAverageOutwardFluxImageFilter.h.

◆ gradient

template<class TInputImage, class TOutputPixelType = float, class TInputVectorPixelType = ::itk::CovariantVector<TOutputPixelType,TInputImage::ImageDimension>>
InputVectorConstPointerType itk::AverageOutwardFluxImageFilter< TInputImage, TOutputPixelType, TInputVectorPixelType >::gradient
protected

Definition at line 144 of file itkAverageOutwardFluxImageFilter.h.

◆ aof

template<class TInputImage, class TOutputPixelType = float, class TInputVectorPixelType = ::itk::CovariantVector<TOutputPixelType,TInputImage::ImageDimension>>
OutputPointerType itk::AverageOutwardFluxImageFilter< TInputImage, TOutputPixelType, TInputVectorPixelType >::aof
protected

Definition at line 145 of file itkAverageOutwardFluxImageFilter.h.


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