ITK  5.2.0
Insight Toolkit
Classes | Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage > Class Template Reference

#include <itkParallelSparseFieldLevelSetImageFilter.h>

+ Inheritance diagram for itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >:
+ Collaboration diagram for itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >:

Classes

struct  ThreadDataUnaligned
 

Public Types

using ConstPointer = SmartPointer< const Self >
 
using FiniteDifferenceFunctionType = typename Superclass::FiniteDifferenceFunctionType
 
using IndexType = typename OutputImageType::IndexType
 
using InputImageType = TInputImage
 
using LayerListType = std::vector< LayerPointerType >
 
using LayerNodeStorageType = ObjectStore< LayerNodeType >
 
using LayerNodeType = ParallelSparseFieldLevelSetNode< IndexType >
 
using LayerPointerType = typename LayerType::Pointer
 
using LayerType = SparseFieldLayer< LayerNodeType >
 
using NeighborhoodScalesType = typename Superclass::NeighborhoodScalesType
 
using OffsetType = Offset< Self::ImageDimension >
 
using OutputImageType = TOutputImage
 
using PixelType = typename OutputImageType::PixelType
 
using Pointer = SmartPointer< Self >
 
using RadiusType = typename Superclass::RadiusType
 
using Self = ParallelSparseFieldLevelSetImageFilter
 
using StatusImageType = Image< StatusType, Self::ImageDimension >
 
using StatusType = signed char
 
using Superclass = FiniteDifferenceImageFilter< TInputImage, TOutputImage >
 
using ThreadRegionType = typename OutputImageType::RegionType
 
using TimeStepType = typename Superclass::TimeStepType
 
using ValueType = typename OutputImageType::ValueType
 
- Public Types inherited from itk::FiniteDifferenceImageFilter< TInputImage, TOutputImage >
using ConstPointer = SmartPointer< const Self >
 
using FiniteDifferenceFunctionType = FiniteDifferenceFunction< TOutputImage >
 
using InputImageType = TInputImage
 
using InputPixelType = typename TInputImage::PixelType
 
using InputPixelValueType = typename NumericTraits< InputPixelType >::ValueType
 
using NeighborhoodScalesType = typename FiniteDifferenceFunctionType::NeighborhoodScalesType
 
using OutputImageType = TOutputImage
 
using OutputPixelType = typename TOutputImage::PixelType
 
using OutputPixelValueType = typename NumericTraits< OutputPixelType >::ValueType
 
using PixelType = OutputPixelType
 
using Pointer = SmartPointer< Self >
 
using RadiusType = typename FiniteDifferenceFunctionType::RadiusType
 
using Self = FiniteDifferenceImageFilter
 
using Superclass = InPlaceImageFilter< TInputImage, TOutputImage >
 
using TimeStepType = typename FiniteDifferenceFunctionType::TimeStepType
 
- Public Types inherited from itk::InPlaceImageFilter< TInputImage, TOutputImage >
using ConstPointer = SmartPointer< const Self >
 
using InputImageConstPointer = typename InputImageType::ConstPointer
 
using InputImagePixelType = typename InputImageType::PixelType
 
using InputImagePointer = typename InputImageType::Pointer
 
using InputImageRegionType = typename InputImageType::RegionType
 
using InputImageType = TInputImage
 
using OutputImagePixelType = typename Superclass::OutputImagePixelType
 
using OutputImagePointer = typename Superclass::OutputImagePointer
 
using OutputImageRegionType = typename Superclass::OutputImageRegionType
 
using OutputImageType = typename Superclass::OutputImageType
 
using Pointer = SmartPointer< Self >
 
using Self = InPlaceImageFilter
 
using Superclass = ImageToImageFilter< TInputImage, TOutputImage >
 
- Public Types inherited from itk::ImageToImageFilter< TInputImage, TOutputImage >
using ConstPointer = SmartPointer< const Self >
 
using InputImageConstPointer = typename InputImageType::ConstPointer
 
using InputImagePixelType = typename InputImageType::PixelType
 
using InputImagePointer = typename InputImageType::Pointer
 
using InputImageRegionType = typename InputImageType::RegionType
 
using InputImageType = TInputImage
 
using OutputImagePixelType = typename Superclass::OutputImagePixelType
 
using OutputImageRegionType = typename Superclass::OutputImageRegionType
 
using Pointer = SmartPointer< Self >
 
using Self = ImageToImageFilter
 
using Superclass = ImageSource< TOutputImage >
 
- Public Types inherited from itk::ImageSource< TOutputImage >
using ConstPointer = SmartPointer< const Self >
 
using DataObjectIdentifierType = Superclass::DataObjectIdentifierType
 
using DataObjectPointer = DataObject::Pointer
 
using DataObjectPointerArraySizeType = Superclass::DataObjectPointerArraySizeType
 
using OutputImagePixelType = typename OutputImageType::PixelType
 
using OutputImagePointer = typename OutputImageType::Pointer
 
using OutputImageRegionType = typename OutputImageType::RegionType
 
using OutputImageType = TOutputImage
 
using Pointer = SmartPointer< Self >
 
using Self = ImageSource
 
using Superclass = ProcessObject
 
- Public Types inherited from itk::ProcessObject
using ConstPointer = SmartPointer< const Self >
 
using DataObjectIdentifierType = DataObject::DataObjectIdentifierType
 
using DataObjectPointer = DataObject::Pointer
 
using DataObjectPointerArray = std::vector< DataObjectPointer >
 
using DataObjectPointerArraySizeType = DataObjectPointerArray::size_type
 
using MultiThreaderType = MultiThreaderBase
 
using NameArray = std::vector< DataObjectIdentifierType >
 
using Pointer = SmartPointer< Self >
 
using Self = ProcessObject
 
using Superclass = Object
 
- Public Types inherited from itk::Object
using ConstPointer = SmartPointer< const Self >
 
using Pointer = SmartPointer< Self >
 
using Self = Object
 
using Superclass = LightObject
 
- Public Types inherited from itk::LightObject
using ConstPointer = SmartPointer< const Self >
 
using Pointer = SmartPointer< Self >
 
using Self = LightObject
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother () const
 
virtual const char * GetNameOfClass () const
 
- Public Member Functions inherited from itk::FiniteDifferenceImageFilter< TInputImage, TOutputImage >
virtual const FiniteDifferenceFunctionType ::PointerGetDifferenceFunction () const
 
virtual const IdentifierTypeGetElapsedIterations () const
 
virtual void SetDifferenceFunction (FiniteDifferenceFunctionType *_arg)
 
virtual void SetNumberOfIterations (IdentifierType _arg)
 
virtual const IdentifierTypeGetNumberOfIterations () const
 
virtual void SetUseImageSpacing (bool _arg)
 
virtual void UseImageSpacingOn ()
 
virtual void UseImageSpacingOff ()
 
virtual const bool & GetUseImageSpacing () const
 
virtual void SetMaximumRMSError (double _arg)
 
virtual const double & GetMaximumRMSError () const
 
virtual void SetRMSChange (double _arg)
 
virtual const double & GetRMSChange () const
 
virtual void SetManualReinitialization (bool _arg)
 
virtual const bool & GetManualReinitialization () const
 
virtual void ManualReinitializationOn ()
 
virtual void ManualReinitializationOff ()
 
virtual void SetIsInitialized (bool _arg)
 
virtual bool GetIsInitialized ()
 
void SetStateToUninitialized ()
 
void SetStateToInitialized ()
 
- Public Member Functions inherited from itk::InPlaceImageFilter< TInputImage, TOutputImage >
virtual void SetInPlace (bool _arg)
 
virtual bool GetInPlace () const
 
virtual void InPlaceOn ()
 
virtual void InPlaceOff ()
 
virtual bool CanRunInPlace () const
 
- Public Member Functions inherited from itk::ImageToImageFilter< TInputImage, TOutputImage >
const InputImageTypeGetInput () const
 
const InputImageTypeGetInput (unsigned int idx) const
 
void PopBackInput () override
 
void PopFrontInput () override
 
virtual void PushBackInput (const InputImageType *input)
 
virtual void PushFrontInput (const InputImageType *input)
 
virtual void SetInput (const DataObjectIdentifierType &key, DataObject *input)
 
virtual void SetInput (const InputImageType *input)
 
virtual void SetInput (unsigned int, const TInputImage *image)
 
virtual void SetCoordinateTolerance (double _arg)
 
virtual double GetCoordinateTolerance () const
 
virtual void SetDirectionTolerance (double _arg)
 
virtual double GetDirectionTolerance () const
 
- Public Member Functions inherited from itk::ImageSource< TOutputImage >
OutputImageTypeGetOutput ()
 
const OutputImageTypeGetOutput () const
 
OutputImageTypeGetOutput (unsigned int idx)
 
virtual void GraftOutput (DataObject *graft)
 
virtual void GraftOutput (const DataObjectIdentifierType &key, DataObject *graft)
 
virtual void GraftNthOutput (unsigned int idx, DataObject *graft)
 
ProcessObject::DataObjectPointer MakeOutput (ProcessObject::DataObjectPointerArraySizeType idx) override
 
ProcessObject::DataObjectPointer MakeOutput (const ProcessObject::DataObjectIdentifierType &) override
 
- Public Member Functions inherited from itk::ProcessObject
virtual void AbortGenerateDataOff ()
 
virtual void AbortGenerateDataOn ()
 
virtual void EnlargeOutputRequestedRegion (DataObject *)
 
virtual const bool & GetAbortGenerateData () const
 
DataObjectPointerArray GetIndexedInputs ()
 
DataObjectPointerArray GetIndexedOutputs ()
 
NameArray GetInputNames () const
 
DataObjectPointerArray GetInputs ()
 
DataObjectPointerArraySizeType GetNumberOfIndexedInputs () const
 
DataObjectPointerArraySizeType GetNumberOfIndexedOutputs () const
 
DataObjectPointerArraySizeType GetNumberOfInputs () const
 
DataObjectPointerArraySizeType GetNumberOfOutputs () const
 
virtual DataObjectPointerArraySizeType GetNumberOfValidRequiredInputs () const
 
NameArray GetOutputNames () const
 
DataObjectPointerArray GetOutputs ()
 
virtual float GetProgress () const
 
NameArray GetRequiredInputNames () const
 
bool HasInput (const DataObjectIdentifierType &key) const
 
bool HasOutput (const DataObjectIdentifierType &key) const
 
void IncrementProgress (float increment)
 
virtual void PropagateRequestedRegion (DataObject *output)
 
virtual void ResetPipeline ()
 
virtual void SetAbortGenerateData (bool _arg)
 
virtual void Update ()
 
virtual void UpdateLargestPossibleRegion ()
 
virtual void UpdateOutputData (DataObject *output)
 
virtual void UpdateOutputInformation ()
 
void UpdateProgress (float progress)
 
virtual void SetReleaseDataFlag (bool val)
 
virtual bool GetReleaseDataFlag () const
 
void ReleaseDataFlagOn ()
 
void ReleaseDataFlagOff ()
 
virtual void SetReleaseDataBeforeUpdateFlag (bool _arg)
 
virtual const bool & GetReleaseDataBeforeUpdateFlag () const
 
virtual void ReleaseDataBeforeUpdateFlagOn ()
 
virtual void ReleaseDataBeforeUpdateFlagOff ()
 
virtual void SetNumberOfWorkUnits (ThreadIdType _arg)
 
virtual const ThreadIdTypeGetNumberOfWorkUnits () const
 
MultiThreaderTypeGetMultiThreader () const
 
void SetMultiThreader (MultiThreaderType *threader)
 
virtual void PrepareOutputs ()
 
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *)
 
unsigned long AddObserver (const EventObject &event, Command *) const
 
unsigned long AddObserver (const EventObject &event, std::function< void(const EventObject &)> function) const
 
virtual void DebugOff () const
 
virtual void DebugOn () const
 
CommandGetCommand (unsigned long tag)
 
bool GetDebug () const
 
MetaDataDictionaryGetMetaDataDictionary ()
 
const MetaDataDictionaryGetMetaDataDictionary () const
 
virtual ModifiedTimeType GetMTime () const
 
virtual const TimeStampGetTimeStamp () 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)
 
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
 
- Public Member Functions inherited from itk::LightObject
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 Public Member Functions inherited from itk::ImageToImageFilter< TInputImage, TOutputImage >
static void SetGlobalDefaultDirectionTolerance (double)
 
static double GetGlobalDefaultDirectionTolerance ()
 
static void SetGlobalDefaultCoordinateTolerance (double)
 
static double GetGlobalDefaultCoordinateTolerance ()
 
- Static Public Member Functions inherited from itk::Object
static bool GetGlobalWarningDisplay ()
 
static void GlobalWarningDisplayOff ()
 
static void GlobalWarningDisplayOn ()
 
static Pointer New ()
 
static void SetGlobalWarningDisplay (bool val)
 
- Static Public Member Functions inherited from itk::LightObject
static void BreakOnError ()
 
static Pointer New ()
 

Static Public Attributes

static constexpr unsigned int ImageDimension = TOutputImage::ImageDimension
 
- Static Public Attributes inherited from itk::FiniteDifferenceImageFilter< TInputImage, TOutputImage >
static constexpr unsigned int ImageDimension = OutputImageType::ImageDimension
 
- Static Public Attributes inherited from itk::InPlaceImageFilter< TInputImage, TOutputImage >
static constexpr unsigned int InputImageDimension = TInputImage::ImageDimension
 
static constexpr unsigned int OutputImageDimension = TOutputImage::ImageDimension
 
- Static Public Attributes inherited from itk::ImageToImageFilter< TInputImage, TOutputImage >
static constexpr unsigned int InputImageDimension = TInputImage::ImageDimension
 
static constexpr unsigned int OutputImageDimension = TOutputImage::ImageDimension
 
- Static Public Attributes inherited from itk::ImageSource< TOutputImage >
static constexpr unsigned int OutputImageDimension = TOutputImage::ImageDimension
 
ParallelSparseFieldCityBlockNeighborList< NeighborhoodIterator< OutputImageType > > m_NeighborList
 
double m_ConstantGradientValue { 1.0 }
 
OutputImageType::Pointer m_ShiftedImage
 
LayerListType m_Layers
 
StatusType m_NumberOfLayers
 
StatusImageType::Pointer m_StatusImage
 
OutputImageType::Pointer m_OutputImage
 
StatusImageType::Pointer m_StatusImageTemp
 
OutputImageType::Pointer m_OutputImageTemp
 
LayerNodeStorageType::Pointer m_LayerNodeStore
 
ValueType m_IsoSurfaceValue
 
std::vector< TimeStepTypem_TimeStepList
 
std::vector< bool > m_ValidTimeStepList
 
TimeStepType m_TimeStep
 
ThreadIdType m_NumOfThreads { 0 }
 
unsigned int m_SplitAxis { 0 }
 
unsigned int m_ZSize { 0 }
 
bool m_BoundaryChanged { false }
 
unsigned int * m_Boundary { nullptr }
 
int * m_GlobalZHistogram { nullptr }
 
unsigned int * m_MapZToThreadNumber { nullptr }
 
int * m_ZCumulativeFrequency { nullptr }
 
ThreadData * m_Data { nullptr }
 
bool m_Stop { false }
 
bool m_InterpolateSurfaceLocation { true }
 
static ValueType m_ValueOne
 
static ValueType m_ValueZero
 
static StatusType m_StatusActiveChangingUp
 
static StatusType m_StatusActiveChangingDown
 
static StatusType m_StatusNull
 
static StatusType m_StatusChanging
 
static StatusType m_StatusBoundaryPixel
 
bool m_BoundsCheckingActive { false }
 
virtual void SetNumberOfLayers (StatusType _arg)
 
virtual StatusType GetNumberOfLayers () const
 
virtual void SetIsoSurfaceValue (ValueType _arg)
 
virtual ValueType GetIsoSurfaceValue () const
 
LayerPointerType GetActiveListForIndex (const IndexType index)
 
 ParallelSparseFieldLevelSetImageFilter ()
 
 ~ParallelSparseFieldLevelSetImageFilter () override=default
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
void GenerateData () override
 
void CopyInputToOutput () override
 
void AllocateUpdateBuffer () override
 
void Initialize () override
 
void ConstructActiveLayer ()
 
void InitializeActiveLayerValues ()
 
void ConstructLayer (const StatusType &from, const StatusType &to)
 
void ProcessStatusList (LayerType *InputList, const StatusType &ChangeToStatus, const StatusType &SearchForStatus, ThreadIdType ThreadId)
 
void PropagateAllLayerValues ()
 
void PropagateLayerValues (const StatusType &from, const StatusType &to, const StatusType &promote, unsigned int InOrOut)
 
virtual void InitializeBackgroundPixels ()
 
void ThreadedAllocateData (ThreadIdType ThreadId)
 
void ThreadedInitializeData (ThreadIdType ThreadId, const ThreadRegionType &ThreadRegion)
 
void ComputeInitialThreadBoundaries ()
 
unsigned int GetThreadNumber (unsigned int splitAxisValue)
 
void GetThreadRegionSplitByBoundary (ThreadIdType ThreadId, ThreadRegionType &ThreadRegion)
 
void DeallocateData ()
 
void Iterate ()
 
virtual ValueType ThreadedCalculateUpdateValue (const ThreadIdType, const IndexType, const TimeStepType &dt, const ValueType &value, const ValueType &change)
 
virtual void ThreadedProcessPixelEnteringActiveLayer (const IndexType &, const ValueType &, ThreadIdType)
 
void ApplyUpdate (const TimeStepType &) override
 
virtual void ThreadedApplyUpdate (const TimeStepType &dt, ThreadIdType ThreadId)
 
TimeStepType CalculateChange () override
 
virtual TimeStepType ThreadedCalculateChange (ThreadIdType ThreadId)
 
void ThreadedUpdateActiveLayerValues (const TimeStepType &dt, LayerType *UpList, LayerType *DownList, ThreadIdType ThreadId)
 
void CopyInsertList (ThreadIdType ThreadId, LayerPointerType FromListPtr, LayerPointerType ToListPtr)
 
void ClearList (ThreadIdType ThreadId, LayerPointerType ListPtr)
 
void CopyInsertInterNeighborNodeTransferBufferLayers (ThreadIdType ThreadId, LayerPointerType List, unsigned int InOrOut, unsigned int BufferLayerNumber)
 
void ClearInterNeighborNodeTransferBufferLayers (ThreadIdType ThreadId, unsigned int InOrOut, unsigned int BufferLayerNumber)
 
void ThreadedProcessFirstLayerStatusLists (unsigned int InputLayerNumber, unsigned int OutputLayerNumber, const StatusType &SearchForStatus, unsigned int InOrOut, unsigned int BufferLayerNumber, ThreadIdType ThreadId)
 
void ThreadedProcessStatusList (unsigned int InputLayerNumber, unsigned int OutputLayerNumber, const StatusType &ChangeToStatus, const StatusType &SearchForStatus, unsigned int InOrOut, unsigned int BufferLayerNumber, ThreadIdType ThreadId)
 
void ThreadedProcessOutsideList (unsigned int InputLayerNumber, const StatusType &ChangeToStatus, unsigned int InOrOut, unsigned int BufferLayerNumber, ThreadIdType ThreadId)
 
void ThreadedPropagateLayerValues (const StatusType &from, const StatusType &to, const StatusType &promote, unsigned int InOrOut, ThreadIdType ThreadId)
 
void GetThreadRegionSplitUniformly (ThreadIdType ThreadId, ThreadRegionType &ThreadRegion)
 
void ThreadedPostProcessOutput (const ThreadRegionType &regionToProcess)
 
virtual void CheckLoadBalance ()
 
void ThreadedLoadBalance1 (ThreadIdType ThreadId)
 
void ThreadedLoadBalance2 (ThreadIdType ThreadId)
 
void SignalNeighborsAndWait (ThreadIdType ThreadId)
 
void SignalNeighbor (unsigned int SemaphoreArrayNumber, ThreadIdType ThreadId)
 
void WaitForNeighbor (unsigned int SemaphoreArrayNumber, ThreadIdType ThreadId)
 
virtual void ThreadedInitializeIteration (ThreadIdType ThreadId)
 
 itkPadStruct (ITK_CACHE_LINE_ALIGNMENT, ThreadDataUnaligned, ThreadDataPadded)
 
 itkAlignedTypedef (ITK_CACHE_LINE_ALIGNMENT, ThreadDataPadded, ThreadData)
 

Additional Inherited Members

- Protected Types inherited from itk::ImageToImageFilter< TInputImage, TOutputImage >
using InputToOutputRegionCopierType = ImageToImageFilterDetail::ImageRegionCopier< Self::OutputImageDimension, Self::InputImageDimension >
 
using OutputToInputRegionCopierType = ImageToImageFilterDetail::ImageRegionCopier< Self::InputImageDimension, Self::OutputImageDimension >
 
- Protected Member Functions inherited from itk::FiniteDifferenceImageFilter< TInputImage, TOutputImage >
 FiniteDifferenceImageFilter ()
 
 ~FiniteDifferenceImageFilter () override=default
 
void GenerateInputRequestedRegion () override
 
virtual bool Halt ()
 
virtual bool ThreadedHalt (void *)
 
virtual void InitializeIteration ()
 
virtual TimeStepType ResolveTimeStep (const std::vector< TimeStepType > &timeStepList, const std::vector< bool > &valid) const
 
virtual void SetElapsedIterations (IdentifierType _arg)
 
virtual void PostProcessOutput ()
 
- Protected Member Functions inherited from itk::InPlaceImageFilter< TInputImage, TOutputImage >
 InPlaceImageFilter ()=default
 
 ~InPlaceImageFilter () override=default
 
void AllocateOutputs () override
 
void ReleaseInputs () override
 
virtual bool GetRunningInPlace () const
 
- Protected Member Functions inherited from itk::ImageToImageFilter< TInputImage, TOutputImage >
 ImageToImageFilter ()
 
 ~ImageToImageFilter () override=default
 
void VerifyInputInformation () ITKv5_CONST override
 
virtual void CallCopyOutputRegionToInputRegion (InputImageRegionType &destRegion, const OutputImageRegionType &srcRegion)
 
virtual void CallCopyInputRegionToOutputRegion (OutputImageRegionType &destRegion, const InputImageRegionType &srcRegion)
 
void PushBackInput (const DataObject *input) override
 
void PushFrontInput (const DataObject *input) override
 
- Protected Member Functions inherited from itk::ImageSource< TOutputImage >
 ImageSource ()
 
 ~ImageSource () override=default
 
void ClassicMultiThread (ThreadFunctionType callbackFunction)
 
virtual void ThreadedGenerateData (const OutputImageRegionType &region, ThreadIdType threadId)
 
virtual void DynamicThreadedGenerateData (const OutputImageRegionType &outputRegionForThread)
 
virtual void BeforeThreadedGenerateData ()
 
virtual void AfterThreadedGenerateData ()
 
virtual const ImageRegionSplitterBaseGetImageRegionSplitter () const
 
virtual unsigned int SplitRequestedRegion (unsigned int i, unsigned int pieces, OutputImageRegionType &splitRegion)
 
virtual bool GetDynamicMultiThreading () const
 
virtual void SetDynamicMultiThreading (bool _arg)
 
virtual void DynamicMultiThreadingOn ()
 
virtual void DynamicMultiThreadingOff ()
 
- Protected Member Functions inherited from itk::ProcessObject
 ProcessObject ()
 
 ~ProcessObject () override
 
DataObjectGetInput (const DataObjectIdentifierType &key)
 
const DataObjectGetInput (const DataObjectIdentifierType &key) const
 
DataObjectGetInput (DataObjectPointerArraySizeType idx)
 
const DataObjectGetInput (DataObjectPointerArraySizeType idx) const
 
virtual void SetInput (const DataObjectIdentifierType &key, DataObject *input)
 
virtual void SetNthInput (DataObjectPointerArraySizeType idx, DataObject *input)
 
virtual void AddInput (DataObject *input)
 
virtual void RemoveInput (const DataObjectIdentifierType &key)
 
virtual void RemoveInput (DataObjectPointerArraySizeType)
 
DataObjectGetPrimaryInput ()
 
const DataObjectGetPrimaryInput () const
 
virtual void SetPrimaryInputName (const DataObjectIdentifierType &key)
 
virtual const char * GetPrimaryInputName () const
 
virtual void SetPrimaryInput (DataObject *object)
 
void SetNumberOfIndexedInputs (DataObjectPointerArraySizeType num)
 
virtual void SetNumberOfRequiredInputs (DataObjectPointerArraySizeType)
 
virtual const DataObjectPointerArraySizeTypeGetNumberOfRequiredInputs () const
 
bool RemoveRequiredInputName (const DataObjectIdentifierType &)
 
bool IsRequiredInputName (const DataObjectIdentifierType &) const
 
void SetRequiredInputNames (const NameArray &)
 
bool AddRequiredInputName (const DataObjectIdentifierType &)
 
bool AddRequiredInputName (const DataObjectIdentifierType &, DataObjectPointerArraySizeType idx)
 
void AddOptionalInputName (const DataObjectIdentifierType &)
 
void AddOptionalInputName (const DataObjectIdentifierType &, DataObjectPointerArraySizeType idx)
 
DataObjectGetOutput (const DataObjectIdentifierType &key)
 
const DataObjectGetOutput (const DataObjectIdentifierType &key) const
 
virtual void SetPrimaryOutputName (const DataObjectIdentifierType &key)
 
virtual const char * GetPrimaryOutputName () const
 
DataObjectGetOutput (DataObjectPointerArraySizeType i)
 
const DataObjectGetOutput (DataObjectPointerArraySizeType i) const
 
virtual void SetOutput (const DataObjectIdentifierType &name, DataObject *output)
 
virtual void RemoveOutput (const DataObjectIdentifierType &key)
 
DataObjectGetPrimaryOutput ()
 
const DataObjectGetPrimaryOutput () const
 
virtual void SetPrimaryOutput (DataObject *object)
 
virtual void SetNthOutput (DataObjectPointerArraySizeType idx, DataObject *output)
 
virtual void AddOutput (DataObject *output)
 
virtual void RemoveOutput (DataObjectPointerArraySizeType idx)
 
virtual void SetNumberOfRequiredOutputs (DataObjectPointerArraySizeType _arg)
 
virtual const DataObjectPointerArraySizeTypeGetNumberOfRequiredOutputs () const
 
void SetNumberOfIndexedOutputs (DataObjectPointerArraySizeType num)
 
DataObjectIdentifierType MakeNameFromInputIndex (DataObjectPointerArraySizeType idx) const
 
DataObjectIdentifierType MakeNameFromOutputIndex (DataObjectPointerArraySizeType idx) const
 
DataObjectPointerArraySizeType MakeIndexFromInputName (const DataObjectIdentifierType &name) const
 
DataObjectPointerArraySizeType MakeIndexFromOutputName (const DataObjectIdentifierType &name) const
 
bool IsIndexedInputName (const DataObjectIdentifierType &) const
 
bool IsIndexedOutputName (const DataObjectIdentifierType &) const
 
virtual void VerifyPreconditions () ITKv5_CONST
 
virtual void GenerateOutputRequestedRegion (DataObject *output)
 
virtual void GenerateOutputInformation ()
 
virtual void PropagateResetPipeline ()
 
virtual void CacheInputReleaseDataFlags ()
 
virtual void RestoreInputReleaseDataFlags ()
 
virtual bool GetThreaderUpdateProgress () const
 
virtual void ThreaderUpdateProgressOn ()
 
virtual void ThreaderUpdateProgressOff ()
 
virtual void SetThreaderUpdateProgress (bool arg)
 
- Protected Member Functions inherited from itk::Object
 Object ()
 
 ~Object () override
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
virtual void SetTimeStamp (const TimeStamp &timeStamp)
 
- 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 ()
 
- Static Protected Member Functions inherited from itk::ImageSource< TOutputImage >
static const ImageRegionSplitterBaseGetGlobalDefaultSplitter ()
 
static ITK_THREAD_RETURN_FUNCTION_CALL_CONVENTION ThreaderCallback (void *arg)
 
- Static Protected Member Functions inherited from itk::ProcessObject
static constexpr float progressFixedToFloat (uint32_t fixed)
 
static uint32_t progressFloatToFixed (float f)
 
- Protected Attributes inherited from itk::FiniteDifferenceImageFilter< TInputImage, TOutputImage >
bool m_IsInitialized
 
IdentifierType m_NumberOfIterations
 
IdentifierType m_ElapsedIterations
 
bool m_ManualReinitialization
 
double m_RMSChange
 
double m_MaximumRMSError
 
- Protected Attributes inherited from itk::ImageSource< TOutputImage >
bool m_DynamicMultiThreading
 
- Protected Attributes inherited from itk::ProcessObject
bool m_Updating
 
TimeStamp m_OutputInformationMTime
 
- Protected Attributes inherited from itk::LightObject
std::atomic< int > m_ReferenceCount
 

Detailed Description

template<typename TInputImage, typename TOutputImage>
class itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >

This class implements a finite difference partial differential equation solver for evolving surfaces embedded in volumes as level-sets.

The "sparse field" approach to the level-set model is a logical extension of the classical narrow band technique, which seeks to minimize computational effort by restricting calculations to those pixels in a region of interest around the moving surface (the $k$-level curve). The sparse field method uses a narrow band that is exactly the width needed to calculate changes on the level curve for the next time step. Because the band of grid points under consideration is so sparse, this approach has several advantages: the algorithm does exactly the number of calculations needed to determine the next position of the $k$-level curve, and the distance transform around the level curve can be recomputed at each iteration.
The sparse field algorithm works by constructing a linked list of indices that are adjacent to the $k$-level set. These indices are called the "active set". The values at these active set indices define the position of the $k$-level curve. The active set indices are shifted to follow the distance transform embedding of the $k$-level curve as their values move in and out of a fixed numerical range about $k$. In this way, the active set is maintained as only those pixels adjacent to the evolving surface. Calculations are then done only at indices contained in the active set.
The city-block neighborhoods of the active set indices are maintained as separate lists called "layers". At each iteration, the values at the layers are reinitialized as the distance transform from the active set. The number of layers can be adjusted according to the footprint needed for the calculations on the level curve.
Briefly, the sparse field solver algorithm is as follows:
  1. For each active layer index $x_j$: Compute the change at $u_{x_j}$, the grid point in the embedding, based on local geometry and external forces and using a stable numerical scheme.
  2. For each active layer index $x_j$, add the change to the grid point value and redefine the active set indices and those of its layers based on any value changes which have moved outside of the numerical range allowed for the active set.
  3. Starting with the first layers adjacent to the active set and moving outwards, reconstruct the distance transform by setting values in the layers according to their neighbors. At the very outer layers, add or remove indices which have come into or moved out of the sparse field.
HOW TO USE THIS CLASS
Typically, this class should be subclassed with additional functionality for specific applications. It is possible, however to use this solver as a filter directly by instantiating it and supplying it with an appropriate LevelSetFunction object via the SetDifferenceFunction method. See the subclasses and their associated documentation for more information on using this class. Also see the FiniteDifferenceImageFilter documentation for a general overview of this class of solvers.
INPUTS
This filter takes an itk::Image as input. The appropriate type of input image is entirely determined by the application. As a rule, however, the input type is immediately converted to the output type before processing. This is because the input is not assumed to be a real value type and must be converted to signed, real values for the calculations. The input values will also be shifted by the $k$ isosurface value so that the algorithm only needs to consider the zero level set.
OUTPUTS
The output of the filter is the distance transform embedding of the isosurface as the zero level set. Values outside the surface will be negative and values inside the surface will be positive. The distance transform only holds for those indices in layers around the active layer. Elsewhere, the values are a fixed positive or negative that is one greater than the layer of greatest magnitude. In other words, if there are three layers, then inside values increase only to 4.0 and outside values only to -4.0.
PARAMETERS
The NumberOfLayers parameter controls the number of layers inside and outside of the active set (see description above). The sparse field will contain 2*NumberOfLayers+1 lists of indices: the active set and city block neighbors inside and outside the active set. It is important to specify enough layers to cover the footprint of your calculations. Curvature calculations in three dimensions, for example, require 3 layers. In two dimensions, a minimum of 2 layers is probably required. Higher order derivatives and other geometrical measures may require more layers. If too few layers are specified, then the calculations will pull values from the background, which may consist of arbitrary or random values.
The IsoSurfaceValue indicates which value in the input represents the interface of interest. By default, this value is zero. When the solver initializes, it will subtract the IsoSurfaceValue from all values, in the input, shifting the isosurface of interest to zero in the output.
IMPORTANT!
Read the documentation for FiniteDifferenceImageFilter before attempting to use this filter. The solver requires that you specify a FiniteDifferenceFunction to use for calculations. This is set using the method SetDifferenceFunction in the parent class.
REFERENCES
Whitaker, Ross. A Level-Set Approach to 3D Reconstruction from Range Data. International Journal of Computer Vision. V. 29 No. 3, 203-231. 1998.
Sethian, J.A. Level Set Methods. Cambridge University Press. 1996.

Definition at line 255 of file itkParallelSparseFieldLevelSetImageFilter.h.

Member Typedef Documentation

◆ ConstPointer

template<typename TInputImage , typename TOutputImage >
using itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::ConstPointer = SmartPointer<const Self>

Definition at line 265 of file itkParallelSparseFieldLevelSetImageFilter.h.

◆ FiniteDifferenceFunctionType

template<typename TInputImage , typename TOutputImage >
using itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::FiniteDifferenceFunctionType = typename Superclass::FiniteDifferenceFunctionType

Definition at line 269 of file itkParallelSparseFieldLevelSetImageFilter.h.

◆ IndexType

template<typename TInputImage , typename TOutputImage >
using itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::IndexType = typename OutputImageType::IndexType

Definition at line 282 of file itkParallelSparseFieldLevelSetImageFilter.h.

◆ InputImageType

template<typename TInputImage , typename TOutputImage >
using itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::InputImageType = TInputImage

Information derived from the image types.

Definition at line 280 of file itkParallelSparseFieldLevelSetImageFilter.h.

◆ LayerListType

template<typename TInputImage , typename TOutputImage >
using itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::LayerListType = std::vector<LayerPointerType>

A type for a list of LayerPointerTypes

Definition at line 302 of file itkParallelSparseFieldLevelSetImageFilter.h.

◆ LayerNodeStorageType

template<typename TInputImage , typename TOutputImage >
using itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::LayerNodeStorageType = ObjectStore<LayerNodeType>

Memory pre-allocator used to manage layer nodes in a multithreaded environment.

Definition at line 313 of file itkParallelSparseFieldLevelSetImageFilter.h.

◆ LayerNodeType

template<typename TInputImage , typename TOutputImage >
using itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::LayerNodeType = ParallelSparseFieldLevelSetNode<IndexType>

Node type used in parallel sparse field layer lists.

Definition at line 295 of file itkParallelSparseFieldLevelSetImageFilter.h.

◆ LayerPointerType

template<typename TInputImage , typename TOutputImage >
using itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::LayerPointerType = typename LayerType::Pointer

Definition at line 299 of file itkParallelSparseFieldLevelSetImageFilter.h.

◆ LayerType

template<typename TInputImage , typename TOutputImage >
using itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::LayerType = SparseFieldLayer<LayerNodeType>

A list type used in the algorithm.

Definition at line 298 of file itkParallelSparseFieldLevelSetImageFilter.h.

◆ NeighborhoodScalesType

template<typename TInputImage , typename TOutputImage >
using itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::NeighborhoodScalesType = typename Superclass::NeighborhoodScalesType

Definition at line 271 of file itkParallelSparseFieldLevelSetImageFilter.h.

◆ OffsetType

template<typename TInputImage , typename TOutputImage >
using itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::OffsetType = Offset<Self::ImageDimension>

Definition at line 315 of file itkParallelSparseFieldLevelSetImageFilter.h.

◆ OutputImageType

template<typename TInputImage , typename TOutputImage >
using itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::OutputImageType = TOutputImage

Definition at line 281 of file itkParallelSparseFieldLevelSetImageFilter.h.

◆ PixelType

template<typename TInputImage , typename TOutputImage >
using itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::PixelType = typename OutputImageType::PixelType

Definition at line 286 of file itkParallelSparseFieldLevelSetImageFilter.h.

◆ Pointer

template<typename TInputImage , typename TOutputImage >
using itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::Pointer = SmartPointer<Self>

Definition at line 264 of file itkParallelSparseFieldLevelSetImageFilter.h.

◆ RadiusType

template<typename TInputImage , typename TOutputImage >
using itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::RadiusType = typename Superclass::RadiusType

Definition at line 270 of file itkParallelSparseFieldLevelSetImageFilter.h.

◆ Self

template<typename TInputImage , typename TOutputImage >
using itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::Self = ParallelSparseFieldLevelSetImageFilter

Standard class type aliases

Definition at line 262 of file itkParallelSparseFieldLevelSetImageFilter.h.

◆ StatusImageType

template<typename TInputImage , typename TOutputImage >
using itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::StatusImageType = Image<StatusType, Self::ImageDimension>

The type of the image used to index status information. Necessary for the internals of the algorithm.

Definition at line 309 of file itkParallelSparseFieldLevelSetImageFilter.h.

◆ StatusType

template<typename TInputImage , typename TOutputImage >
using itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::StatusType = signed char

Type used for storing status information

Definition at line 305 of file itkParallelSparseFieldLevelSetImageFilter.h.

◆ Superclass

template<typename TInputImage , typename TOutputImage >
using itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::Superclass = FiniteDifferenceImageFilter<TInputImage, TOutputImage>

Definition at line 263 of file itkParallelSparseFieldLevelSetImageFilter.h.

◆ ThreadRegionType

template<typename TInputImage , typename TOutputImage >
using itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::ThreadRegionType = typename OutputImageType::RegionType

Definition at line 288 of file itkParallelSparseFieldLevelSetImageFilter.h.

◆ TimeStepType

template<typename TInputImage , typename TOutputImage >
using itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::TimeStepType = typename Superclass::TimeStepType

Typedefs from the superclass

Definition at line 268 of file itkParallelSparseFieldLevelSetImageFilter.h.

◆ ValueType

template<typename TInputImage , typename TOutputImage >
using itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::ValueType = typename OutputImageType::ValueType

The data type used in numerical computations. Derived from the output image type.

Definition at line 292 of file itkParallelSparseFieldLevelSetImageFilter.h.

Constructor & Destructor Documentation

◆ ParallelSparseFieldLevelSetImageFilter()

template<typename TInputImage , typename TOutputImage >
itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::ParallelSparseFieldLevelSetImageFilter ( )
protected

Connectivity information for examining neighbor pixels.

◆ ~ParallelSparseFieldLevelSetImageFilter()

template<typename TInputImage , typename TOutputImage >
itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::~ParallelSparseFieldLevelSetImageFilter ( )
overrideprotecteddefault

Connectivity information for examining neighbor pixels.

Member Function Documentation

◆ AllocateUpdateBuffer()

template<typename TInputImage , typename TOutputImage >
void itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::AllocateUpdateBuffer ( )
inlineoverrideprotectedvirtual

Reserves memory in the update buffer

Implements itk::FiniteDifferenceImageFilter< TInputImage, TOutputImage >.

Definition at line 440 of file itkParallelSparseFieldLevelSetImageFilter.h.

◆ ApplyUpdate()

template<typename TInputImage , typename TOutputImage >
void itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::ApplyUpdate ( const TimeStepType )
inlineoverrideprotectedvirtual

This method is not implemented or necessary for this solver

Implements itk::FiniteDifferenceImageFilter< TInputImage, TOutputImage >.

Definition at line 565 of file itkParallelSparseFieldLevelSetImageFilter.h.

◆ CalculateChange()

template<typename TInputImage , typename TOutputImage >
TimeStepType itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::CalculateChange ( )
inlineoverrideprotectedvirtual

This method is not implemented or necessary for this solver

Implements itk::FiniteDifferenceImageFilter< TInputImage, TOutputImage >.

Definition at line 575 of file itkParallelSparseFieldLevelSetImageFilter.h.

References itk::NumericTraits< T >::ZeroValue().

◆ CheckLoadBalance()

template<typename TInputImage , typename TOutputImage >
virtual void itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::CheckLoadBalance ( )
protectedvirtual

Check if the load is fairly balanced among the threads. This is performed by just one thread while all other threads wait. This need NOT be performed every iteration because the level-set surface moves slowly and it is correct to believe that during an iteration the movement is small enough that the small gain obtained by load balancing (if any) does not warrant the overhead for calling this method. How often this is done is controlled by a parameter LOAD_BALANCE_ITERATION_FREQUENCY which is defined in the IterateThreaderCallback() function. A parameter that defines a degree of unbalancedness of the load among threads is MAX_PIXEL_DIFFERENCE_PERCENT which is defined in CheckLoadBalance().

◆ ClearInterNeighborNodeTransferBufferLayers()

template<typename TInputImage , typename TOutputImage >
void itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::ClearInterNeighborNodeTransferBufferLayers ( ThreadIdType  ThreadId,
unsigned int  InOrOut,
unsigned int  BufferLayerNumber 
)
protected

Delete all nodes in a thread's own lists which its used to transfer nodes to neighboring threads.

◆ ClearList()

template<typename TInputImage , typename TOutputImage >
void itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::ClearList ( ThreadIdType  ThreadId,
LayerPointerType  ListPtr 
)
protected

Delete all nodes in the List

◆ ComputeInitialThreadBoundaries()

template<typename TInputImage , typename TOutputImage >
void itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::ComputeInitialThreadBoundaries ( )
protected

This performs the initial load distribution among the threads. Every thread gets a slab of the data to work on. The slabs created along a specific dimension. Load balancing is performed along the greatest numbered dimension (i.e. the 3rd dimension in the 3D case and the 2nd dimension in the 2D case). During the initializing of the sparse field layer an histogram is computed that stores the number of nodes in the active set for each index along the chosen dimension. This histogram is used to divide the work "equally" among threads so that each thread approximately get the same number of nodes to process.

◆ ConstructActiveLayer()

template<typename TInputImage , typename TOutputImage >
void itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::ConstructActiveLayer ( )
protected

Constructs the active layer and initialize the first layers inside and outside of the active layer. The active layer defines the position of the zero level set by its values, which are constrained within a range around zero.

◆ ConstructLayer()

template<typename TInputImage , typename TOutputImage >
void itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::ConstructLayer ( const StatusType from,
const StatusType to 
)
protected

Initializes a layer of the sparse field using a previously initialized layer. Builds the list of nodes in m_Layer[to] using m_Layer[from]. Marks values in the m_StatusImage.

◆ CopyInputToOutput()

template<typename TInputImage , typename TOutputImage >
void itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::CopyInputToOutput ( )
overrideprotectedvirtual

Copies the input to the output image. Processing occurs on the output image, so the data type of the output image determines the precision of the calculations (i.e. double or float). This method overrides the parent class method to do some additional processing.

Implements itk::FiniteDifferenceImageFilter< TInputImage, TOutputImage >.

◆ CopyInsertInterNeighborNodeTransferBufferLayers()

template<typename TInputImage , typename TOutputImage >
void itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::CopyInsertInterNeighborNodeTransferBufferLayers ( ThreadIdType  ThreadId,
LayerPointerType  List,
unsigned int  InOrOut,
unsigned int  BufferLayerNumber 
)
protected

Make a copy of the nodes given to one thread by its neighbors to process and insert them into the thread's own list.

◆ CopyInsertList()

template<typename TInputImage , typename TOutputImage >
void itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::CopyInsertList ( ThreadIdType  ThreadId,
LayerPointerType  FromListPtr,
LayerPointerType  ToListPtr 
)
protected

Make a copy of the nodes in the FromList and insert them into the ToList.

◆ CreateAnother()

template<typename TInputImage , typename TOutputImage >
virtual::itk::LightObject::Pointer itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::CreateAnother ( ) const
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.

◆ DeallocateData()

template<typename TInputImage , typename TOutputImage >
void itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::DeallocateData ( )
protected

Delete the data and synchronization primitives used by the threads during iterations.

◆ GenerateData()

template<typename TInputImage , typename TOutputImage >
void itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::GenerateData ( )
overrideprotectedvirtual

The RMS change calculated from each update. Can be used by a subclass to determine halting criteria. Valid only for the previous iteration, not during the current iteration. Calculated in ApplyUpdate. Reimplement the GenerateData() function from FiniteDifferenceImageFilter for more effective multithreading

Reimplemented from itk::FiniteDifferenceImageFilter< TInputImage, TOutputImage >.

◆ GetActiveListForIndex()

template<typename TInputImage , typename TOutputImage >
LayerPointerType itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::GetActiveListForIndex ( const IndexType  index)
inline

Connectivity information for examining neighbor pixels.

Definition at line 330 of file itkParallelSparseFieldLevelSetImageFilter.h.

◆ GetIsoSurfaceValue()

template<typename TInputImage , typename TOutputImage >
virtual ValueType itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::GetIsoSurfaceValue ( ) const
virtual

Connectivity information for examining neighbor pixels.

◆ GetNameOfClass()

template<typename TInputImage , typename TOutputImage >
virtual const char* itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from itk::FiniteDifferenceImageFilter< TInputImage, TOutputImage >.

◆ GetNumberOfLayers()

template<typename TInputImage , typename TOutputImage >
virtual StatusType itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::GetNumberOfLayers ( ) const
virtual

Connectivity information for examining neighbor pixels.

◆ GetThreadNumber()

template<typename TInputImage , typename TOutputImage >
unsigned int itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::GetThreadNumber ( unsigned int  splitAxisValue)
protected

Find the thread to which a pixel belongs

◆ GetThreadRegionSplitByBoundary()

template<typename TInputImage , typename TOutputImage >
void itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::GetThreadRegionSplitByBoundary ( ThreadIdType  ThreadId,
ThreadRegionType ThreadRegion 
)
protected

Obtain a thread's region split as per the load balancing is done.

◆ GetThreadRegionSplitUniformly()

template<typename TInputImage , typename TOutputImage >
void itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::GetThreadRegionSplitUniformly ( ThreadIdType  ThreadId,
ThreadRegionType ThreadRegion 
)
protected

Split the volume uniformly along the chosen dimension for post processing the output.

◆ Initialize()

template<typename TInputImage , typename TOutputImage >
void itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::Initialize ( )
overrideprotectedvirtual

Constructs the sparse field layers and initializes their values. Also creates data structures that are NOT local to a thread.

Reimplemented from itk::FiniteDifferenceImageFilter< TInputImage, TOutputImage >.

◆ InitializeActiveLayerValues()

template<typename TInputImage , typename TOutputImage >
void itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::InitializeActiveLayerValues ( )
protected

Initializes the values of the active layer set.

◆ InitializeBackgroundPixels()

template<typename TInputImage , typename TOutputImage >
virtual void itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::InitializeBackgroundPixels ( )
protectedvirtual

This method pre-processes pixels inside and outside the sparse field layers. The default is to set them to positive and negative values, respectively. This is not necessary as part of the calculations, but produces a more intuitive output for the user.

◆ Iterate()

template<typename TInputImage , typename TOutputImage >
void itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::Iterate ( )
protected

This method calculates the change and does the update, i.e. one iteration of this iterative solver. A barrier class is used to synchronize execution and keep the CalculateChange and ApplyUpdate sections from executing simultaneously.

◆ itkAlignedTypedef()

template<typename TInputImage , typename TOutputImage >
itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::itkAlignedTypedef ( ITK_CACHE_LINE_ALIGNMENT  ,
ThreadDataPadded  ,
ThreadData   
)
protected

Connectivity information for examining neighbor pixels.

◆ itkPadStruct()

template<typename TInputImage , typename TOutputImage >
itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::itkPadStruct ( ITK_CACHE_LINE_ALIGNMENT  ,
ThreadDataUnaligned  ,
ThreadDataPadded   
)
protected

Connectivity information for examining neighbor pixels.

◆ New()

template<typename TInputImage , typename TOutputImage >
static Pointer itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::New ( )
static

Method for creation through the object factory.

◆ PrintSelf()

template<typename TInputImage , typename TOutputImage >
void itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
overrideprotectedvirtual

Connectivity information for examining neighbor pixels.

Reimplemented from itk::FiniteDifferenceImageFilter< TInputImage, TOutputImage >.

◆ ProcessStatusList()

template<typename TInputImage , typename TOutputImage >
void itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::ProcessStatusList ( LayerType InputList,
const StatusType ChangeToStatus,
const StatusType SearchForStatus,
ThreadIdType  ThreadId 
)
protected

Connectivity information for examining neighbor pixels.

◆ PropagateAllLayerValues()

template<typename TInputImage , typename TOutputImage >
void itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::PropagateAllLayerValues ( )
protected

Adjusts the values associated with all the index layers of the sparse field by propagating out one layer at a time from the active set. This method also takes care of deleting nodes from the layers which have been marked in the status image as having been moved to other layers.

◆ PropagateLayerValues()

template<typename TInputImage , typename TOutputImage >
void itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::PropagateLayerValues ( const StatusType from,
const StatusType to,
const StatusType promote,
unsigned int  InOrOut 
)
protected

Adjusts the values in a single layer "to" using values in a neighboring layer "from". The list of indices in "to" are traversed and assigned new values appropriately. Any indices in "to" without neighbors in "from" are moved into the "promote" layer (or deleted if "promote" is greater than the number of layers). "InOrOut" == 1 indicates this propagation is inwards (more negative). "InOrOut" == 0 indicates this propagation is outwards (more positive).

◆ SetIsoSurfaceValue()

template<typename TInputImage , typename TOutputImage >
virtual void itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::SetIsoSurfaceValue ( ValueType  _arg)
virtual

Set/Get the value of the isosurface to use in the input image.

◆ SetNumberOfLayers()

template<typename TInputImage , typename TOutputImage >
virtual void itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::SetNumberOfLayers ( StatusType  _arg)
virtual

Set/Get the number of layers to use in the sparse field. Argument is the number of layers on ONE side of the active layer, so the total layers in the sparse field is 2 * NumberOfLayers + 1

◆ SignalNeighbor()

template<typename TInputImage , typename TOutputImage >
void itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::SignalNeighbor ( unsigned int  SemaphoreArrayNumber,
ThreadIdType  ThreadId 
)
protected

Connectivity information for examining neighbor pixels.

◆ SignalNeighborsAndWait()

template<typename TInputImage , typename TOutputImage >
void itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::SignalNeighborsAndWait ( ThreadIdType  ThreadId)
protected

Connectivity information for examining neighbor pixels.

◆ ThreadedAllocateData()

template<typename TInputImage , typename TOutputImage >
void itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::ThreadedAllocateData ( ThreadIdType  ThreadId)
protected

Each thread allocates and initializes the data it will use by itself. This maintains the memory locality of data w.r.t. the thread in a shared memory environment.

◆ ThreadedApplyUpdate()

template<typename TInputImage , typename TOutputImage >
virtual void itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::ThreadedApplyUpdate ( const TimeStepType dt,
ThreadIdType  ThreadId 
)
protectedvirtual

Does the actual work of updating the output from the UpdateContainer over an output region supplied by the multithreading mechanism.

◆ ThreadedCalculateChange()

template<typename TInputImage , typename TOutputImage >
virtual TimeStepType itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::ThreadedCalculateChange ( ThreadIdType  ThreadId)
protectedvirtual

This method does the actual work of calculating change over a region supplied by the multithreading mechanism.

◆ ThreadedCalculateUpdateValue()

template<typename TInputImage , typename TOutputImage >
virtual ValueType itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::ThreadedCalculateUpdateValue ( const  ThreadIdType,
const  IndexType,
const TimeStepType dt,
const ValueType value,
const ValueType change 
)
inlineprotectedvirtual

This method allows a subclass to override the way in which updates to output values are applied during each iteration. The default simply follows the standard finite difference scheme of scaling the change by the timestep and adding to the value of the previous iteration.

Definition at line 545 of file itkParallelSparseFieldLevelSetImageFilter.h.

◆ ThreadedInitializeData()

template<typename TInputImage , typename TOutputImage >
void itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::ThreadedInitializeData ( ThreadIdType  ThreadId,
const ThreadRegionType ThreadRegion 
)
protected

Connectivity information for examining neighbor pixels.

◆ ThreadedInitializeIteration()

template<typename TInputImage , typename TOutputImage >
virtual void itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::ThreadedInitializeIteration ( ThreadIdType  ThreadId)
protectedvirtual

If child classes need an entry point to the start of every iteration step they can override this method. This method is defined but empty in this class.

◆ ThreadedLoadBalance1()

template<typename TInputImage , typename TOutputImage >
void itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::ThreadedLoadBalance1 ( ThreadIdType  ThreadId)
protected

Redistribute an load among the threads to obtain a more balanced load distribution. This is performed in parallel by all the threads.

◆ ThreadedLoadBalance2()

template<typename TInputImage , typename TOutputImage >
void itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::ThreadedLoadBalance2 ( ThreadIdType  ThreadId)
protected

Connectivity information for examining neighbor pixels.

◆ ThreadedPostProcessOutput()

template<typename TInputImage , typename TOutputImage >
void itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::ThreadedPostProcessOutput ( const ThreadRegionType regionToProcess)
protected

Assign background pixels INSIDE the sparse field layers to a new level set with value less than the innermost layer. Assign background pixels OUTSIDE the sparse field layers to a new level set with value greater than the outermost layer.

◆ ThreadedProcessFirstLayerStatusLists()

template<typename TInputImage , typename TOutputImage >
void itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::ThreadedProcessFirstLayerStatusLists ( unsigned int  InputLayerNumber,
unsigned int  OutputLayerNumber,
const StatusType SearchForStatus,
unsigned int  InOrOut,
unsigned int  BufferLayerNumber,
ThreadIdType  ThreadId 
)
protected

Performs two tasks. The situation here is that ThreadedProcessStatusList has been called just once after the active layer values have been updated and the UpLists and DownLists formed. Some nodes are now moving into the active layer. The two tasks performed are:

  1. modify the status-image like it is performed by the ThreadedProcessStatusList.
  2. Update the values in the output-image for those nodes that are moving IN the active layer.

◆ ThreadedProcessOutsideList()

template<typename TInputImage , typename TOutputImage >
void itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::ThreadedProcessOutsideList ( unsigned int  InputLayerNumber,
const StatusType ChangeToStatus,
unsigned int  InOrOut,
unsigned int  BufferLayerNumber,
ThreadIdType  ThreadId 
)
protected

Push each index in the input list into its appropriate status layer (ChangeToStatus) and ... ... update the status image value at that index

◆ ThreadedProcessPixelEnteringActiveLayer()

template<typename TInputImage , typename TOutputImage >
virtual void itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::ThreadedProcessPixelEnteringActiveLayer ( const IndexType ,
const ValueType ,
ThreadIdType   
)
protectedvirtual

Connectivity information for examining neighbor pixels.

◆ ThreadedProcessStatusList()

template<typename TInputImage , typename TOutputImage >
void itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::ThreadedProcessStatusList ( unsigned int  InputLayerNumber,
unsigned int  OutputLayerNumber,
const StatusType ChangeToStatus,
const StatusType SearchForStatus,
unsigned int  InOrOut,
unsigned int  BufferLayerNumber,
ThreadIdType  ThreadId 
)
protected

Push each index in the input list into its appropriate status layer (ChangeToStatus) and update the status image value at that index. Also examine the neighbors of the index, (with status SearchForStatus) to determine which need to go onto the output list.

◆ ThreadedPropagateLayerValues()

template<typename TInputImage , typename TOutputImage >
void itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::ThreadedPropagateLayerValues ( const StatusType from,
const StatusType to,
const StatusType promote,
unsigned int  InOrOut,
ThreadIdType  ThreadId 
)
protected

Connectivity information for examining neighbor pixels.

◆ ThreadedUpdateActiveLayerValues()

template<typename TInputImage , typename TOutputImage >
void itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::ThreadedUpdateActiveLayerValues ( const TimeStepType dt,
LayerType UpList,
LayerType DownList,
ThreadIdType  ThreadId 
)
protected
  1. Updates the values (in the output-image) of the nodes in the active layer that are moving OUT of the active layer. These values are used in the ThreadedProcessFirstLayerStatusLists() method to assign values for new nodes that are moving IN the active layer.
    1. This function also constructs the up/down lists for nodes that are moving out of the active layer.

◆ WaitForNeighbor()

template<typename TInputImage , typename TOutputImage >
void itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::WaitForNeighbor ( unsigned int  SemaphoreArrayNumber,
ThreadIdType  ThreadId 
)
protected

Connectivity information for examining neighbor pixels.

Member Data Documentation

◆ ImageDimension

template<typename TInputImage , typename TOutputImage >
constexpr unsigned int itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::ImageDimension = TOutputImage::ImageDimension
staticconstexpr

Definition at line 284 of file itkParallelSparseFieldLevelSetImageFilter.h.

◆ m_Boundary

template<typename TInputImage , typename TOutputImage >
unsigned int* itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::m_Boundary { nullptr }
protected

The boundaries defining thread regions

Definition at line 735 of file itkParallelSparseFieldLevelSetImageFilter.h.

◆ m_BoundaryChanged

template<typename TInputImage , typename TOutputImage >
bool itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::m_BoundaryChanged { false }
protected

A boolean variable stating if the boundaries had been changed during CheckLoadBalance()

Definition at line 732 of file itkParallelSparseFieldLevelSetImageFilter.h.

◆ m_BoundsCheckingActive

template<typename TInputImage , typename TOutputImage >
bool itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::m_BoundsCheckingActive { false }
private

This flag is true when methods need to check boundary conditions and false when methods do not need to check for boundary conditions.

Definition at line 813 of file itkParallelSparseFieldLevelSetImageFilter.h.

◆ m_ConstantGradientValue

template<typename TInputImage , typename TOutputImage >
double itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::m_ConstantGradientValue { 1.0 }
protected

The constant gradient to maintain between isosurfaces in the spare-field of the level-set image. This value defaults to 1.0

Definition at line 360 of file itkParallelSparseFieldLevelSetImageFilter.h.

◆ m_Data

template<typename TInputImage , typename TOutputImage >
ThreadData* itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::m_Data { nullptr }
protected

An array storing the individual (local) data structures for each thread.

Definition at line 798 of file itkParallelSparseFieldLevelSetImageFilter.h.

◆ m_GlobalZHistogram

template<typename TInputImage , typename TOutputImage >
int* itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::m_GlobalZHistogram { nullptr }
protected

Histogram of number of pixels in each Z plane for the entire 3D volume

Definition at line 738 of file itkParallelSparseFieldLevelSetImageFilter.h.

◆ m_InterpolateSurfaceLocation

template<typename TInputImage , typename TOutputImage >
bool itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::m_InterpolateSurfaceLocation { true }
protected

This flag tells the solver whether or not to interpolate for the actual surface location when calculating change at each active layer node. By default this is turned on. Subclasses which do not sample propagation (speed), advection, or curvature terms should turn this flag off.

Definition at line 808 of file itkParallelSparseFieldLevelSetImageFilter.h.

◆ m_IsoSurfaceValue

template<typename TInputImage , typename TOutputImage >
ValueType itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::m_IsoSurfaceValue
protected

The value in the input which represents the isosurface of interest.

Definition at line 419 of file itkParallelSparseFieldLevelSetImageFilter.h.

◆ m_LayerNodeStore

template<typename TInputImage , typename TOutputImage >
LayerNodeStorageType::Pointer itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::m_LayerNodeStore
protected

Storage for layer node objects.

Definition at line 416 of file itkParallelSparseFieldLevelSetImageFilter.h.

◆ m_Layers

template<typename TInputImage , typename TOutputImage >
LayerListType itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::m_Layers
protected

An array which contains all of the layers needed in the sparse field. Layers are organized as follows: m_Layer[0] = active layer, m_Layer[i:odd] = inside layer (i+1)/2, m_Layer[i:even] = outside layer i/2. This is used only during the initialization of the level set.

Definition at line 398 of file itkParallelSparseFieldLevelSetImageFilter.h.

◆ m_MapZToThreadNumber

template<typename TInputImage , typename TOutputImage >
unsigned int* itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::m_MapZToThreadNumber { nullptr }
protected

The mapping from a z-value to the thread in whose region the z-value lies

Definition at line 742 of file itkParallelSparseFieldLevelSetImageFilter.h.

◆ m_NeighborList

template<typename TInputImage , typename TOutputImage >
ParallelSparseFieldCityBlockNeighborList<NeighborhoodIterator<OutputImageType> > itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::m_NeighborList
protected

Connectivity information for examining neighbor pixels.

Definition at line 356 of file itkParallelSparseFieldLevelSetImageFilter.h.

◆ m_NumberOfLayers

template<typename TInputImage , typename TOutputImage >
StatusType itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::m_NumberOfLayers
protected

The number of layers to use in the sparse field. Sparse field will consist of m_NumberOfLayers layers on both sides of a single active layer. This active layer is the interface of interest, i.e. the zero level set.

Definition at line 404 of file itkParallelSparseFieldLevelSetImageFilter.h.

◆ m_NumOfThreads

template<typename TInputImage , typename TOutputImage >
ThreadIdType itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::m_NumOfThreads { 0 }
protected

The number of threads to use.

Definition at line 722 of file itkParallelSparseFieldLevelSetImageFilter.h.

◆ m_OutputImage

template<typename TInputImage , typename TOutputImage >
OutputImageType::Pointer itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::m_OutputImage
protected

Connectivity information for examining neighbor pixels.

Definition at line 408 of file itkParallelSparseFieldLevelSetImageFilter.h.

◆ m_OutputImageTemp

template<typename TInputImage , typename TOutputImage >
OutputImageType::Pointer itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::m_OutputImageTemp
protected

Connectivity information for examining neighbor pixels.

Definition at line 413 of file itkParallelSparseFieldLevelSetImageFilter.h.

◆ m_ShiftedImage

template<typename TInputImage , typename TOutputImage >
OutputImageType::Pointer itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::m_ShiftedImage
protected

This image is a copy of the input with m_IsoSurfaceValue subtracted from each pixel. This way we only need to consider the zero level set in our calculations. Makes the implementation easier and more efficient. This is used only during the initialization of the level set.

Definition at line 392 of file itkParallelSparseFieldLevelSetImageFilter.h.

◆ m_SplitAxis

template<typename TInputImage , typename TOutputImage >
unsigned int itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::m_SplitAxis { 0 }
protected

The dimension along which to distribute the load.

Definition at line 725 of file itkParallelSparseFieldLevelSetImageFilter.h.

◆ m_StatusActiveChangingDown

template<typename TInputImage , typename TOutputImage >
StatusType itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::m_StatusActiveChangingDown
staticprotected

Special status value which indicates a pending change to a more negative sparse field.

Definition at line 374 of file itkParallelSparseFieldLevelSetImageFilter.h.

◆ m_StatusActiveChangingUp

template<typename TInputImage , typename TOutputImage >
StatusType itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::m_StatusActiveChangingUp
staticprotected

Special status value which indicates a pending change to a more positive sparse field.

Definition at line 370 of file itkParallelSparseFieldLevelSetImageFilter.h.

◆ m_StatusBoundaryPixel

template<typename TInputImage , typename TOutputImage >
StatusType itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::m_StatusBoundaryPixel
staticprotected

Special status value which indicates a pixel is on the boundary of the image

Definition at line 386 of file itkParallelSparseFieldLevelSetImageFilter.h.

◆ m_StatusChanging

template<typename TInputImage , typename TOutputImage >
StatusType itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::m_StatusChanging
staticprotected

Special status value which indicates pending change to another sparse field layer.

Definition at line 382 of file itkParallelSparseFieldLevelSetImageFilter.h.

◆ m_StatusImage

template<typename TInputImage , typename TOutputImage >
StatusImageType::Pointer itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::m_StatusImage
protected

An image of status values used internally by the algorithm.

Definition at line 407 of file itkParallelSparseFieldLevelSetImageFilter.h.

◆ m_StatusImageTemp

template<typename TInputImage , typename TOutputImage >
StatusImageType::Pointer itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::m_StatusImageTemp
protected

Images used temporarily during the initialization of the thread data structures.

Definition at line 412 of file itkParallelSparseFieldLevelSetImageFilter.h.

◆ m_StatusNull

template<typename TInputImage , typename TOutputImage >
StatusType itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::m_StatusNull
staticprotected

Special status value used as a default for indices which have no meaningful status.

Definition at line 378 of file itkParallelSparseFieldLevelSetImageFilter.h.

◆ m_Stop

template<typename TInputImage , typename TOutputImage >
bool itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::m_Stop { false }
protected

Used to check if there are too few pixels remaining. If yes, then we can stop iterating.

Definition at line 802 of file itkParallelSparseFieldLevelSetImageFilter.h.

◆ m_TimeStep

template<typename TInputImage , typename TOutputImage >
TimeStepType itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::m_TimeStep
protected

Connectivity information for examining neighbor pixels.

Definition at line 719 of file itkParallelSparseFieldLevelSetImageFilter.h.

◆ m_TimeStepList

template<typename TInputImage , typename TOutputImage >
std::vector<TimeStepType> itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::m_TimeStepList
protected

Thread-specific data

Definition at line 717 of file itkParallelSparseFieldLevelSetImageFilter.h.

◆ m_ValidTimeStepList

template<typename TInputImage , typename TOutputImage >
std::vector<bool> itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::m_ValidTimeStepList
protected

Connectivity information for examining neighbor pixels.

Definition at line 718 of file itkParallelSparseFieldLevelSetImageFilter.h.

◆ m_ValueOne

template<typename TInputImage , typename TOutputImage >
ValueType itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::m_ValueOne
staticprotected

Multiplicative identity of the ValueType.

Definition at line 363 of file itkParallelSparseFieldLevelSetImageFilter.h.

◆ m_ValueZero

template<typename TInputImage , typename TOutputImage >
ValueType itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::m_ValueZero
staticprotected

Additive identity of the ValueType.

Definition at line 366 of file itkParallelSparseFieldLevelSetImageFilter.h.

◆ m_ZCumulativeFrequency

template<typename TInputImage , typename TOutputImage >
int* itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::m_ZCumulativeFrequency { nullptr }
protected

Cumulative frequency of number of pixels in each Z plane for the entire 3D volume

Definition at line 746 of file itkParallelSparseFieldLevelSetImageFilter.h.

◆ m_ZSize

template<typename TInputImage , typename TOutputImage >
unsigned int itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::m_ZSize { 0 }
protected

The length of the dimension along which to distribute the load.

Definition at line 728 of file itkParallelSparseFieldLevelSetImageFilter.h.


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