#include <itkLevelSetVelocityNeighborhoodExtractor.h>
Locate pixels of a particular level set.
LevelSetVelocityNeighborhoodExtractor extends the functionality of LevelSetNeighborhoodExtractor by also extracting the values of velocity variables at the specified level set. Specifically, it populates two containers: one containing the value of velocity variables immediately inside the contour defined by the level set and the other containing values for velocity variables immediately outside.
The containers AuxInsideValues() and AuxOutsideValues() can be used in conjunction with Superclass::InsidePoints() and Superclass::OutsidePoints() in FastMarchingExtensionImageFilter to produce images which extends the velocity variables smoothly from the specified level set.
This class is templated over the image type representing the level set, the type of the auxiliary/velocity variables and the number of auxiliary/velocity variables.
Implementation of this class is based on [95].
Definition at line 52 of file itkLevelSetVelocityNeighborhoodExtractor.h.
Public Member Functions | |
virtual::itk::LightObject::Pointer | CreateAnother () const |
AuxImageConstPointer | GetAuxImage (unsigned int idx=0) |
virtual const AuxValueContainer * | GetAuxInsideValues () const |
virtual const AuxValueContainer * | GetAuxOutsideValues () const |
virtual AuxValueContainer * | GetModifiableAuxInsideValues () |
virtual AuxValueContainer * | GetModifiableAuxOutsideValues () |
const char * | GetNameOfClass () const override |
void | SetAuxImage (const AuxImageType *ptr, unsigned int idx=0) |
![]() | |
NodeContainerPointer | GetInsidePoints () |
virtual double | GetLevelSetValue () const |
virtual double | GetNarrowBandwidth () const |
NodeContainerPointer | GetOutsidePoints () |
void | Locate () |
virtual void | SetLevelSetValue (double _arg) |
virtual void | SetNarrowBanding (bool _arg) |
virtual void | SetNarrowBandwidth (double _arg) |
virtual void | SetInputLevelSet (const LevelSetImageType *_arg) |
virtual const LevelSetImageType * | GetInputLevelSet () const |
virtual bool | GetNarrowBanding () const |
virtual void | NarrowBandingOn () |
virtual void | NarrowBandingOff () |
void | SetInputNarrowBand (NodeContainer *ptr) |
virtual NodeContainer * | GetModifiableInputNarrowBand () |
virtual const NodeContainer * | GetInputNarrowBand () const |
![]() | |
virtual void | AbortGenerateDataOff () |
virtual void | AbortGenerateDataOn () |
virtual::itk::LightObject::Pointer | CreateAnother () const |
virtual const bool & | GetAbortGenerateData () const |
const char * | GetNameOfClass () const override |
virtual void | SetAbortGenerateData (bool _arg) |
virtual void | UpdateOutputData () |
void | UpdateProgress (float amount) |
virtual void | SetProgress (float _arg) |
virtual const float & | GetProgress () const |
![]() | |
unsigned long | AddObserver (const EventObject &event, Command *cmd) const |
unsigned long | AddObserver (const EventObject &event, std::function< void(const EventObject &)> function) const |
LightObject::Pointer | CreateAnother () const override |
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 |
const char * | GetNameOfClass () const override |
virtual const TimeStamp & | GetTimeStamp () const |
bool | HasObserver (const EventObject &event) const |
void | InvokeEvent (const EventObject &) |
void | InvokeEvent (const EventObject &) const |
virtual void | Modified () const |
void | Register () const override |
void | RemoveAllObservers () |
void | RemoveObserver (unsigned long tag) const |
void | SetDebug (bool debugFlag) const |
void | SetReferenceCount (int) override |
void | UnRegister () const noexcept override |
void | SetMetaDataDictionary (const MetaDataDictionary &rhs) |
void | SetMetaDataDictionary (MetaDataDictionary &&rrhs) |
virtual void | SetObjectName (std::string _arg) |
virtual const std::string & | GetObjectName () const |
![]() | |
Pointer | Clone () const |
virtual void | Delete () |
virtual int | GetReferenceCount () const |
void | Print (std::ostream &os, Indent indent=0) const |
Static Public Member Functions | |
static Pointer | New () |
![]() | |
static Pointer | New () |
![]() | |
static Pointer | New () |
![]() | |
static bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static Pointer | New () |
static void | SetGlobalWarningDisplay (bool val) |
![]() | |
static void | BreakOnError () |
static Pointer | New () |
Static Public Attributes | |
static constexpr unsigned int | SetDimension = LevelSetType::SetDimension |
![]() | |
static constexpr unsigned int | SetDimension = LevelSetType::SetDimension |
Protected Member Functions | |
double | CalculateDistance (Index &index) override |
void | Initialize () override |
LevelSetVelocityNeighborhoodExtractor () | |
void | PrintSelf (std::ostream &os, Indent indent) const override |
~LevelSetVelocityNeighborhoodExtractor () override=default | |
![]() | |
void | GenerateData () override |
LevelSetImageType::PixelType | GetLargeValue () const |
bool | GetLastPointIsInside () const |
const NodeType & | GetNodeUsedInCalculation (unsigned int idx) const |
LevelSetNeighborhoodExtractor () | |
~LevelSetNeighborhoodExtractor () override=default | |
![]() | |
LightProcessObject () | |
void | PrintSelf (std::ostream &os, Indent indent) const override |
~LightProcessObject () override | |
![]() | |
Object () | |
bool | PrintObservers (std::ostream &os, Indent indent) const |
void | PrintSelf (std::ostream &os, Indent indent) const override |
virtual void | SetTimeStamp (const TimeStamp &timeStamp) |
~Object () override | |
![]() | |
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 () |
Private Attributes | |
AuxImageConstPointer | m_AuxImage [VAuxDimension] {} |
AuxValueContainer::Pointer | m_AuxInsideValues {} |
AuxValueContainer::Pointer | m_AuxOutsideValues {} |
Additional Inherited Members | |
![]() | |
std::atomic< int > | m_ReferenceCount {} |
using itk::LevelSetVelocityNeighborhoodExtractor< TLevelSet, TAuxValue, VAuxDimension >::AuxImageConstPointer = typename AuxVarType::AuxImageConstPointer |
Definition at line 85 of file itkLevelSetVelocityNeighborhoodExtractor.h.
using itk::LevelSetVelocityNeighborhoodExtractor< TLevelSet, TAuxValue, VAuxDimension >::AuxImagePointer = typename AuxVarType::AuxImagePointer |
Definition at line 84 of file itkLevelSetVelocityNeighborhoodExtractor.h.
using itk::LevelSetVelocityNeighborhoodExtractor< TLevelSet, TAuxValue, VAuxDimension >::AuxImageType = typename AuxVarType::AuxImageType |
Definition at line 83 of file itkLevelSetVelocityNeighborhoodExtractor.h.
using itk::LevelSetVelocityNeighborhoodExtractor< TLevelSet, TAuxValue, VAuxDimension >::AuxValueContainer = typename AuxVarType::AuxValueContainer |
Definition at line 82 of file itkLevelSetVelocityNeighborhoodExtractor.h.
using itk::LevelSetVelocityNeighborhoodExtractor< TLevelSet, TAuxValue, VAuxDimension >::AuxValueType = typename AuxVarType::AuxValueType |
Definition at line 80 of file itkLevelSetVelocityNeighborhoodExtractor.h.
using itk::LevelSetVelocityNeighborhoodExtractor< TLevelSet, TAuxValue, VAuxDimension >::AuxValueVectorType = typename AuxVarType::AuxValueVectorType |
Definition at line 81 of file itkLevelSetVelocityNeighborhoodExtractor.h.
using itk::LevelSetVelocityNeighborhoodExtractor< TLevelSet, TAuxValue, VAuxDimension >::AuxVarType = AuxVarTypeDefault<TAuxValue, VAuxDimension, Self::SetDimension> |
AuxVarType type alias support
Definition at line 79 of file itkLevelSetVelocityNeighborhoodExtractor.h.
using itk::LevelSetVelocityNeighborhoodExtractor< TLevelSet, TAuxValue, VAuxDimension >::ConstPointer = SmartPointer<const Self> |
Definition at line 61 of file itkLevelSetVelocityNeighborhoodExtractor.h.
using itk::LevelSetVelocityNeighborhoodExtractor< TLevelSet, TAuxValue, VAuxDimension >::Index = itk::Index<Self::SetDimension> |
Index type alias support
Definition at line 76 of file itkLevelSetVelocityNeighborhoodExtractor.h.
using itk::LevelSetVelocityNeighborhoodExtractor< TLevelSet, TAuxValue, VAuxDimension >::LevelSetType = LevelSetTypeDefault<TLevelSet> |
The type of the level set.
Definition at line 70 of file itkLevelSetVelocityNeighborhoodExtractor.h.
using itk::LevelSetVelocityNeighborhoodExtractor< TLevelSet, TAuxValue, VAuxDimension >::Pointer = SmartPointer<Self> |
Definition at line 60 of file itkLevelSetVelocityNeighborhoodExtractor.h.
using itk::LevelSetVelocityNeighborhoodExtractor< TLevelSet, TAuxValue, VAuxDimension >::Self = LevelSetVelocityNeighborhoodExtractor |
Standard class typedefs.
Definition at line 58 of file itkLevelSetVelocityNeighborhoodExtractor.h.
using itk::LevelSetVelocityNeighborhoodExtractor< TLevelSet, TAuxValue, VAuxDimension >::Superclass = LevelSetNeighborhoodExtractor<TLevelSet> |
Definition at line 59 of file itkLevelSetVelocityNeighborhoodExtractor.h.
|
protected |
|
overrideprotecteddefault |
|
overrideprotectedvirtual |
Reimplemented from itk::LevelSetNeighborhoodExtractor< TLevelSet >.
|
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::LevelSetNeighborhoodExtractor< TLevelSet >.
|
inline |
Get the auxiliary images.
Definition at line 101 of file itkLevelSetVelocityNeighborhoodExtractor.h.
|
virtual |
|
virtual |
|
virtual |
Get the container of auxiliary values associated with the inside points.
|
virtual |
Get the container of auxiliary values associate with the outside points.
|
overridevirtual |
Reimplemented from itk::LevelSetNeighborhoodExtractor< TLevelSet >.
|
overrideprotectedvirtual |
Reimplemented from itk::LevelSetNeighborhoodExtractor< TLevelSet >.
|
static |
Method for creation through the object factory.
|
overrideprotectedvirtual |
Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from itk::LevelSetNeighborhoodExtractor< TLevelSet >.
|
inline |
Set the auxiliary images.
Definition at line 89 of file itkLevelSetVelocityNeighborhoodExtractor.h.
|
private |
Definition at line 134 of file itkLevelSetVelocityNeighborhoodExtractor.h.
|
private |
Definition at line 132 of file itkLevelSetVelocityNeighborhoodExtractor.h.
|
private |
Definition at line 133 of file itkLevelSetVelocityNeighborhoodExtractor.h.
|
staticconstexpr |
The dimension of the level set.
Definition at line 73 of file itkLevelSetVelocityNeighborhoodExtractor.h.