Seg3D  2.4
Seg3D is a free volume segmentation and processing tool developed by the NIH Center for Integrative Biomedical Computing at the University of Utah Scientific Computing and Imaging (SCI) Institute.
Public Types | Public Member Functions | Protected Member Functions | List of all members
itk::LiveWireImageFunction< TInputImage > Class Template Reference

Implements livewire image segmentation of Barret and Mortensen. More...

#include <itkLiveWireImageFunction.h>

Inheritance diagram for itk::LiveWireImageFunction< TInputImage >:

Public Types

typedef LiveWireImageFunction Self
 
typedef PolyLineParametricPath< itkGetStaticConstMacro(ImageDimension)> OutputType
 
typedef ImageFunction< TInputImage, typename OutputType::Pointer > Superclass
 
typedef SmartPointer< SelfPointer
 
typedef SmartPointer< const SelfConstPointer
 
typedef TInputImage InputImageType
 
typedef InputImageType::Pointer InputImagePointer
 
typedef InputImageType::ConstPointer InputImageConstPointer
 
typedef InputImageType::RegionType InputImageRegionType
 
typedef InputImageType::PixelType InputImagePixelType
 
typedef Superclass::IndexType IndexType
 
typedef Superclass::PointType PointType
 
typedef Superclass::ContinuousIndexType ContinuousIndexType
 
typedef OutputType::VertexType VertexType
 
typedef float RealType
 
typedef Image< RealType, itkGetStaticConstMacro(ImageDimension)> RealImageType
 
typedef GradientImageFilter< InputImageType, RealType, RealType > GradientFilterType
 
typedef GradientFilterType::OutputImageType GradientImageType
 
typedef Image< typename InputImageType::OffsetType, itkGetStaticConstMacro(ImageDimension)> OffsetImageType
 
typedef Image< int, itkGetStaticConstMacro(ImageDimension)> MaskImageType
 
typedef MaskImageType::PixelType MaskPixelType
 
typedef MinPriorityQueueElementWrapper< IndexType, RealType > PriorityQueueElementType
 
typedef PriorityQueueContainer< PriorityQueueElementType, PriorityQueueElementType, RealType, long > PriorityQueueType
 

Public Member Functions

 itkStaticConstMacro (ImageDimension, unsigned int, TInputImage::ImageDimension)
 
 itkTypeMacro (LiveWireImageFunction, ImageFunction)
 
 itkNewMacro (Self)
 
virtual void SetInputImage (const InputImageType *ptr)
 
virtual OutputType::Pointer Evaluate (const PointType &point) const
 
virtual OutputType::Pointer EvaluateAtContinuousIndex (const ContinuousIndexType &cindex) const
 
virtual OutputType::Pointer EvaluateAtIndex (const IndexType &index) const
 
 itkSetClampMacro (GradientMagnitudeWeight, RealType, 0, NumericTraits< RealType >::max())
 
 itkGetConstMacro (GradientMagnitudeWeight, RealType)
 
 itkSetClampMacro (GradientDirectionWeight, RealType, 0, NumericTraits< RealType >::max())
 
 itkGetConstMacro (GradientDirectionWeight, RealType)
 
 itkSetClampMacro (ZeroCrossingWeight, RealType, 0, NumericTraits< RealType >::max())
 
 itkGetConstMacro (ZeroCrossingWeight, RealType)
 
 itkSetMacro (ZeroCrossingImage, typename RealImageType::Pointer)
 
 itkGetConstMacro (ZeroCrossingImage, typename RealImageType::Pointer)
 
 itkSetMacro (MaskImage, typename MaskImageType::Pointer)
 
 itkGetConstMacro (MaskImage, typename MaskImageType::Pointer)
 
 itkSetMacro (InsidePixelValue, MaskPixelType)
 
 itkGetConstMacro (InsidePixelValue, MaskPixelType)
 
virtual void SetAnchorSeed (IndexType index)
 
 itkGetConstMacro (AnchorSeed, IndexType)
 
 itkSetMacro (UseFaceConnectedness, bool)
 
 itkGetConstMacro (UseFaceConnectedness, bool)
 
 itkBooleanMacro (UseFaceConnectedness)
 
 itkSetMacro (UseImageSpacing, bool)
 
 itkGetConstMacro (UseImageSpacing, bool)
 
 itkBooleanMacro (UseImageSpacing)
 

Protected Member Functions

void PrintSelf (std::ostream &os, Indent indent) const
 

Detailed Description

template<class TInputImage>
class itk::LiveWireImageFunction< TInputImage >

Implements livewire image segmentation of Barret and Mortensen.

LiveWireImageFunction implements the livewire segmentation algorithm of Barrett and Mortenson. This class naturally derives from the ImageFunction class where an N-D dimensional image is taken as input and the output consists of a path in that image.

W. A. Barrett and E. N. Mortenson, "Interactive live-wire boundary extraction", Medical Image Analysis, 1(4):331-341, 1996/7.

Member Typedef Documentation

template<class TInputImage>
typedef TInputImage itk::LiveWireImageFunction< TInputImage >::InputImageType

Some convenient typedefs.

template<class TInputImage>
typedef MinPriorityQueueElementWrapper<IndexType, RealType> itk::LiveWireImageFunction< TInputImage >::PriorityQueueElementType

Priority queue typedefs

template<class TInputImage>
typedef LiveWireImageFunction itk::LiveWireImageFunction< TInputImage >::Self

Standard class typedefs.

Member Function Documentation

template<class TInputImage>
virtual OutputType::Pointer itk::LiveWireImageFunction< TInputImage >::Evaluate ( const PointType &  point) const
inlinevirtual

Evaluate the function at specified Point position.

template<class TInputImage>
virtual OutputType::Pointer itk::LiveWireImageFunction< TInputImage >::EvaluateAtContinuousIndex ( const ContinuousIndexType &  cindex) const
inlinevirtual

Evaluate the function at specified ContinousIndex position. Subclasses must provide this method.

template<class TInputImage >
LiveWireImageFunction< TInputImage >::OutputType::Pointer itk::LiveWireImageFunction< TInputImage >::EvaluateAtIndex ( const IndexType &  index) const
virtual

Evaluate the function at specified Index position. Subclasses must provide this method.

template<class TInputImage>
itk::LiveWireImageFunction< TInputImage >::itkNewMacro ( Self  )

Method for creation through the object factory.

template<class TInputImage>
itk::LiveWireImageFunction< TInputImage >::itkStaticConstMacro ( ImageDimension  ,
unsigned  int,
TInputImage::ImageDimension   
)

ImageDimension constants

template<class TInputImage>
itk::LiveWireImageFunction< TInputImage >::itkTypeMacro ( LiveWireImageFunction< TInputImage >  ,
ImageFunction   
)

Run-time type information (and related methods).

template<class TInputImage >
void itk::LiveWireImageFunction< TInputImage >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
protected

Standard "PrintSelf" method

template<class TInputImage >
void itk::LiveWireImageFunction< TInputImage >::SetInputImage ( const InputImageType ptr)
virtual

Set the input image.

Warning
this method caches BufferedRegion information. If the BufferedRegion has changed, user must call SetInputImage again to update cached values.

Initialize by setting the input image

Generate images for generating the weights from the input image


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