ITK
4.9.0
Insight Segmentation and Registration Toolkit
|
#include <itkFastMarchingImageToNodePairContainerAdaptor.h>
Convenient adaptor class which converts Image into FastMarching::NodePairContainerType used for initializing the FastMarching.
One provides images by means of SetAliveImage, SetTrialImage, SetForbiddenImage and get corresponding containers by means of GetAlivePoints, GetTrialPoints, GetForbiddenPoints.
One can globally set the associated value for all FastMarchingTraitsBase::Alive points by means of SetAliveValue; and for all FastMarchingTraitsBase::Trial points by means of SetTrialValue.
To restrict the evolution of the front in certain area, one can use SetForbiddenImage and SetIsForbiddenImageBinaryMask depending on the input image.
Definition at line 50 of file itkFastMarchingImageToNodePairContainerAdaptor.h.
Public Types | |
typedef SmartPointer< const Self > | ConstPointer |
typedef ImageType::ConstPointer | ImageConstPointer |
typedef ImageType::PixelType | ImagePixelType |
typedef ImageType::Pointer | ImagePointer |
typedef TImage | ImageType |
typedef Traits::LabelType | LabelType |
typedef Traits::NodePairContainerPointer | NodePairContainerPointer |
typedef Traits::NodePairContainerType | NodePairContainerType |
typedef Traits::NodePairType | NodePairType |
typedef Traits::OutputPixelType | OutputPixelType |
typedef SmartPointer< Self > | Pointer |
typedef FastMarchingImageToNodePairContainerAdaptor | Self |
typedef LightObject | Superclass |
typedef FastMarchingTraits < TInput, TOutput > | Traits |
Public Types inherited from itk::Object | |
typedef SmartPointer< const Self > | ConstPointer |
typedef SmartPointer< Self > | Pointer |
typedef Object | Self |
typedef LightObject | Superclass |
Public Types inherited from itk::LightObject | |
typedef SmartPointer< const Self > | ConstPointer |
typedef SmartPointer< Self > | Pointer |
typedef LightObject | Self |
Public Member Functions | |
virtual ::itk::LightObject::Pointer | CreateAnother () const |
NodePairContainerType * | GetAlivePoints () |
NodePairContainerType * | GetForbiddenPoints () |
virtual const char * | GetNameOfClass () const |
NodePairContainerType * | GetTrialPoints () |
virtual void | IsForbiddenImageBinaryMaskOff () |
virtual void | IsForbiddenImageBinaryMaskOn () |
void | SetAliveImage (const ImageType *iImage) |
virtual void | SetAliveValue (OutputPixelType _arg) |
void | SetForbiddenImage (const ImageType *iImage) |
virtual void | SetIsForbiddenImageBinaryMask (bool _arg) |
void | SetTrialImage (const ImageType *iImage) |
virtual void | SetTrialValue (OutputPixelType _arg) |
void | Update () |
Public Member Functions inherited from itk::Object | |
unsigned long | AddObserver (const EventObject &event, Command *) |
unsigned long | AddObserver (const EventObject &event, Command *) const |
virtual void | DebugOff () const |
virtual void | DebugOn () const |
Command * | GetCommand (unsigned long tag) |
bool | GetDebug () const |
MetaDataDictionary & | GetMetaDataDictionary () |
const MetaDataDictionary & | GetMetaDataDictionary () const |
virtual ModifiedTimeType | GetMTime () const |
virtual const TimeStamp & | GetTimeStamp () const |
bool | HasObserver (const EventObject &event) const |
void | InvokeEvent (const EventObject &) |
void | InvokeEvent (const EventObject &) const |
virtual void | Modified () const |
virtual void | Register () const override |
void | RemoveAllObservers () |
void | RemoveObserver (unsigned long tag) |
void | SetDebug (bool debugFlag) const |
void | SetMetaDataDictionary (const MetaDataDictionary &rhs) |
virtual void | SetReferenceCount (int) override |
virtual void | UnRegister () const noexceptoverride |
virtual void | SetObjectName (std::string _arg) |
virtual const std::string & | GetObjectName () const |
Public Member Functions inherited from itk::LightObject | |
virtual void | Delete () |
virtual int | GetReferenceCount () const |
itkCloneMacro (Self) | |
void | Print (std::ostream &os, Indent indent=0) const |
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from itk::Object | |
static bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static Pointer | New () |
static void | SetGlobalWarningDisplay (bool flag) |
Static Public Member Functions inherited from itk::LightObject | |
static void | BreakOnError () |
static Pointer | New () |
Static Public Attributes | |
static const unsigned int | ImageDimension = Traits::ImageDimension |
Protected Member Functions | |
FastMarchingImageToNodePairContainerAdaptor () | |
virtual void | GenerateData () |
void | SetPointsFromImage (const ImageType *image, const LabelType &iLabel, const OutputPixelType &iValue) |
virtual | ~FastMarchingImageToNodePairContainerAdaptor () |
Protected Member Functions inherited from itk::Object | |
Object () | |
bool | PrintObservers (std::ostream &os, Indent indent) const |
virtual void | PrintSelf (std::ostream &os, Indent indent) const override |
virtual void | SetTimeStamp (const TimeStamp &time) |
virtual | ~Object () |
Protected Member Functions inherited from itk::LightObject | |
virtual LightObject::Pointer | InternalClone () const |
LightObject () | |
virtual void | PrintHeader (std::ostream &os, Indent indent) const |
virtual void | PrintTrailer (std::ostream &os, Indent indent) const |
virtual | ~LightObject () |
Protected Attributes | |
ImageConstPointer | m_AliveImage |
NodePairContainerPointer | m_AlivePoints |
OutputPixelType | m_AliveValue |
ImageConstPointer | m_ForbiddenImage |
NodePairContainerPointer | m_ForbiddenPoints |
bool | m_IsForbiddenImageBinaryMask |
ImageConstPointer | m_TrialImage |
NodePairContainerPointer | m_TrialPoints |
OutputPixelType | m_TrialValue |
Protected Attributes inherited from itk::LightObject | |
AtomicInt< int > | m_ReferenceCount |
Private Member Functions | |
FastMarchingImageToNodePairContainerAdaptor (const Self &) | |
void | operator= (const Self &) |
typedef SmartPointer< const Self > itk::FastMarchingImageToNodePairContainerAdaptor< TInput, TOutput, TImage >::ConstPointer |
Definition at line 57 of file itkFastMarchingImageToNodePairContainerAdaptor.h.
typedef ImageType::ConstPointer itk::FastMarchingImageToNodePairContainerAdaptor< TInput, TOutput, TImage >::ImageConstPointer |
Definition at line 75 of file itkFastMarchingImageToNodePairContainerAdaptor.h.
typedef ImageType::PixelType itk::FastMarchingImageToNodePairContainerAdaptor< TInput, TOutput, TImage >::ImagePixelType |
Definition at line 76 of file itkFastMarchingImageToNodePairContainerAdaptor.h.
typedef ImageType::Pointer itk::FastMarchingImageToNodePairContainerAdaptor< TInput, TOutput, TImage >::ImagePointer |
Definition at line 74 of file itkFastMarchingImageToNodePairContainerAdaptor.h.
typedef TImage itk::FastMarchingImageToNodePairContainerAdaptor< TInput, TOutput, TImage >::ImageType |
Definition at line 73 of file itkFastMarchingImageToNodePairContainerAdaptor.h.
typedef Traits::LabelType itk::FastMarchingImageToNodePairContainerAdaptor< TInput, TOutput, TImage >::LabelType |
Definition at line 70 of file itkFastMarchingImageToNodePairContainerAdaptor.h.
typedef Traits::NodePairContainerPointer itk::FastMarchingImageToNodePairContainerAdaptor< TInput, TOutput, TImage >::NodePairContainerPointer |
Definition at line 69 of file itkFastMarchingImageToNodePairContainerAdaptor.h.
typedef Traits::NodePairContainerType itk::FastMarchingImageToNodePairContainerAdaptor< TInput, TOutput, TImage >::NodePairContainerType |
Definition at line 68 of file itkFastMarchingImageToNodePairContainerAdaptor.h.
typedef Traits::NodePairType itk::FastMarchingImageToNodePairContainerAdaptor< TInput, TOutput, TImage >::NodePairType |
Definition at line 67 of file itkFastMarchingImageToNodePairContainerAdaptor.h.
typedef Traits::OutputPixelType itk::FastMarchingImageToNodePairContainerAdaptor< TInput, TOutput, TImage >::OutputPixelType |
Definition at line 71 of file itkFastMarchingImageToNodePairContainerAdaptor.h.
typedef SmartPointer< Self > itk::FastMarchingImageToNodePairContainerAdaptor< TInput, TOutput, TImage >::Pointer |
Definition at line 56 of file itkFastMarchingImageToNodePairContainerAdaptor.h.
typedef FastMarchingImageToNodePairContainerAdaptor itk::FastMarchingImageToNodePairContainerAdaptor< TInput, TOutput, TImage >::Self |
Definition at line 54 of file itkFastMarchingImageToNodePairContainerAdaptor.h.
typedef LightObject itk::FastMarchingImageToNodePairContainerAdaptor< TInput, TOutput, TImage >::Superclass |
Definition at line 55 of file itkFastMarchingImageToNodePairContainerAdaptor.h.
typedef FastMarchingTraits< TInput, TOutput > itk::FastMarchingImageToNodePairContainerAdaptor< TInput, TOutput, TImage >::Traits |
Definition at line 64 of file itkFastMarchingImageToNodePairContainerAdaptor.h.
|
protected |
Constructor.
|
inlineprotectedvirtual |
Destructor.
Definition at line 127 of file itkFastMarchingImageToNodePairContainerAdaptor.h.
|
private |
|
virtual |
Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.
Reimplemented from itk::Object.
|
protectedvirtual |
NodePairContainerType* itk::FastMarchingImageToNodePairContainerAdaptor< TInput, TOutput, TImage >::GetAlivePoints | ( | ) |
Get resulting Alive Points container.
NodePairContainerType* itk::FastMarchingImageToNodePairContainerAdaptor< TInput, TOutput, TImage >::GetForbiddenPoints | ( | ) |
Get resulting Forbidden Points container.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::Object.
NodePairContainerType* itk::FastMarchingImageToNodePairContainerAdaptor< TInput, TOutput, TImage >::GetTrialPoints | ( | ) |
Get resulting Trial Points container.
|
virtual |
|
virtual |
|
static |
Method for creation through the object factory.
|
private |
void itk::FastMarchingImageToNodePairContainerAdaptor< TInput, TOutput, TImage >::SetAliveImage | ( | const ImageType * | iImage | ) |
Set one Alive Image.
|
virtual |
void itk::FastMarchingImageToNodePairContainerAdaptor< TInput, TOutput, TImage >::SetForbiddenImage | ( | const ImageType * | iImage | ) |
Set one Forbidden Image. There are two possible behaviors here depending on m_IsForbiddenImageBinaryMask:
true
, then the input image is a binary mask; thus null values are considered as FastMarchingTraitsBase::Forbidden pointsfasle
) non null values represents FastMarchingTraitsBase::Forbidden points
|
virtual |
|
protected |
void itk::FastMarchingImageToNodePairContainerAdaptor< TInput, TOutput, TImage >::SetTrialImage | ( | const ImageType * | iImage | ) |
Set one Trial Image.
|
virtual |
void itk::FastMarchingImageToNodePairContainerAdaptor< TInput, TOutput, TImage >::Update | ( | ) |
Perform the conversion.
|
static |
Definition at line 79 of file itkFastMarchingImageToNodePairContainerAdaptor.h.
|
protected |
Definition at line 129 of file itkFastMarchingImageToNodePairContainerAdaptor.h.
|
protected |
Definition at line 133 of file itkFastMarchingImageToNodePairContainerAdaptor.h.
|
protected |
Definition at line 137 of file itkFastMarchingImageToNodePairContainerAdaptor.h.
|
protected |
Definition at line 131 of file itkFastMarchingImageToNodePairContainerAdaptor.h.
|
protected |
Definition at line 135 of file itkFastMarchingImageToNodePairContainerAdaptor.h.
|
protected |
Definition at line 140 of file itkFastMarchingImageToNodePairContainerAdaptor.h.
|
protected |
Definition at line 130 of file itkFastMarchingImageToNodePairContainerAdaptor.h.
|
protected |
Definition at line 134 of file itkFastMarchingImageToNodePairContainerAdaptor.h.
|
protected |
Definition at line 138 of file itkFastMarchingImageToNodePairContainerAdaptor.h.