ITK  5.2.0
Insight Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Attributes | List of all members
itk::ShapeDetectionLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType > Class Template Reference

#include <itkShapeDetectionLevelSetImageFilter.h>

+ Inheritance diagram for itk::ShapeDetectionLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >:
+ Collaboration diagram for itk::ShapeDetectionLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >:

Public Types

using ConstPointer = SmartPointer< const Self >
 
using FeatureImageType = typename Superclass::FeatureImageType
 
using OutputImageType = typename Superclass::OutputImageType
 
using Pointer = SmartPointer< Self >
 
using Self = ShapeDetectionLevelSetImageFilter
 
using ShapeDetectionFunctionPointer = typename ShapeDetectionFunctionType::Pointer
 
using ShapeDetectionFunctionType = ShapeDetectionLevelSetFunction< OutputImageType, FeatureImageType >
 
using Superclass = SegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >
 
using ValueType = typename Superclass::ValueType
 
- Public Types inherited from itk::SegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >
using ConstPointer = SmartPointer< const Self >
 
using FeatureImageType = TFeatureImage
 
using IndexType = typename Superclass::IndexType
 
using InputImageType = typename Superclass::InputImageType
 
using OutputImageType = Image< TOutputPixelType, Self::InputImageDimension >
 
using Pointer = SmartPointer< Self >
 
using SegmentationFunctionType = SegmentationLevelSetFunction< OutputImageType, FeatureImageType >
 
using Self = SegmentationLevelSetImageFilter
 
using SpeedImageType = typename SegmentationFunctionType::ImageType
 
using Superclass = SparseFieldLevelSetImageFilter< TInputImage, OutputImageType >
 
using TimeStepType = typename Superclass::TimeStepType
 
using ValueType = typename Superclass::ValueType
 
using VectorImageType = typename SegmentationFunctionType::VectorImageType
 
- Public Types inherited from itk::SparseFieldLevelSetImageFilter< TInputImage, Image< TOutputPixelType, TInputImage::ImageDimension > >
using ConstPointer = SmartPointer< const Self >
 
using IndexType = typename OutputImageType::IndexType
 
using InputImageType = TInputImage
 
using LayerListType = std::vector< LayerPointerType >
 
using LayerNodeStorageType = ObjectStore< LayerNodeType >
 
using LayerNodeType = SparseFieldLevelSetNode< IndexType >
 
using LayerPointerType = typename LayerType::Pointer
 
using LayerType = SparseFieldLayer< LayerNodeType >
 
using NeighborhoodScalesType = typename Superclass::NeighborhoodScalesType
 
using OutputImageType = Image< TOutputPixelType, TInputImage::ImageDimension >
 
using Pointer = SmartPointer< Self >
 
using RadiusType = typename Superclass::RadiusType
 
using Self = SparseFieldLevelSetImageFilter
 
using StatusImageType = Image< StatusType, Self::ImageDimension >
 
using StatusType = signed char
 
using Superclass = FiniteDifferenceImageFilter< TInputImage, Image< TOutputPixelType, TInputImage::ImageDimension > >
 
using TimeStepType = typename Superclass::TimeStepType
 
using UpdateBufferType = std::vector< ValueType >
 
using ValueType = typename OutputImageType::ValueType
 
- Public Types inherited from itk::FiniteDifferenceImageFilter< TInputImage, Image< TOutputPixelType, TInputImage::ImageDimension > >
using ConstPointer = SmartPointer< const Self >
 
using FiniteDifferenceFunctionType = FiniteDifferenceFunction< Image< TOutputPixelType, TInputImage::ImageDimension > >
 
using InputImageType = TInputImage
 
using InputPixelType = typename TInputImage::PixelType
 
using InputPixelValueType = typename NumericTraits< InputPixelType >::ValueType
 
using NeighborhoodScalesType = typename FiniteDifferenceFunctionType::NeighborhoodScalesType
 
using OutputImageType = Image< TOutputPixelType, TInputImage::ImageDimension >
 
using OutputPixelType = typename Image< TOutputPixelType, TInputImage::ImageDimension > ::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, Image< TOutputPixelType, TInputImage::ImageDimension > >
 
using TimeStepType = typename FiniteDifferenceFunctionType::TimeStepType
 
- Public Types inherited from itk::InPlaceImageFilter< TInputImage, Image< TOutputPixelType, TInputImage::ImageDimension > >
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, Image< TOutputPixelType, TInputImage::ImageDimension > >
 
- Public Types inherited from itk::ImageToImageFilter< TInputImage, Image< TOutputPixelType, TInputImage::ImageDimension > >
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< Image< TOutputPixelType, TInputImage::ImageDimension > >
 
- Public Types inherited from itk::ImageSource< Image< TOutputPixelType, TInputImage::ImageDimension > >
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 = Image< TOutputPixelType, TInputImage::ImageDimension >
 
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::SegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >
void SetMaximumIterations (unsigned int i)
 
unsigned int GetMaximumIterations ()
 
virtual void SetFeatureImage (const FeatureImageType *f)
 
virtual const FeatureImageTypeGetFeatureImage () const
 
virtual void SetInitialImage (const InputImageType *input)
 
virtual const InputImageTypeGetInitialImage () const
 
void SetInput2 (const FeatureImageType *input)
 
void SetSpeedImage (SpeedImageType *s)
 
void SetAdvectionImage (VectorImageType *v)
 
virtual const SpeedImageTypeGetSpeedImage () const
 
virtual const VectorImageTypeGetAdvectionImage () const
 
void SetUseNegativeFeaturesOn ()
 
void SetUseNegativeFeaturesOff ()
 
void SetUseNegativeFeatures (bool u)
 
bool GetUseNegativeFeatures () const
 
virtual void SetReverseExpansionDirection (bool _arg)
 
virtual bool GetReverseExpansionDirection () const
 
virtual void ReverseExpansionDirectionOn ()
 
virtual void ReverseExpansionDirectionOff ()
 
virtual void SetAutoGenerateSpeedAdvection (bool _arg)
 
virtual bool GetAutoGenerateSpeedAdvection () const
 
virtual void AutoGenerateSpeedAdvectionOn ()
 
virtual void AutoGenerateSpeedAdvectionOff ()
 
void SetFeatureScaling (ValueType v)
 
void SetPropagationScaling (ValueType v)
 
ValueType GetPropagationScaling () const
 
void SetAdvectionScaling (ValueType v)
 
ValueType GetAdvectionScaling () const
 
void SetCurvatureScaling (ValueType v)
 
ValueType GetCurvatureScaling () const
 
void SetUseMinimalCurvature (bool b)
 
bool GetUseMinimalCurvature () const
 
void UseMinimalCurvatureOn ()
 
void UseMinimalCurvatureOff ()
 
virtual void SetSegmentationFunction (SegmentationFunctionType *s)
 
virtual SegmentationFunctionTypeGetSegmentationFunction ()
 
void SetMaximumCurvatureTimeStep (double n)
 
double GetMaximumCurvatureTimeStep () const
 
void SetMaximumPropagationTimeStep (double n)
 
double GetMaximumPropagationTimeStep () const
 
void GenerateSpeedImage ()
 
void GenerateAdvectionImage ()
 
- Public Member Functions inherited from itk::SparseFieldLevelSetImageFilter< TInputImage, Image< TOutputPixelType, TInputImage::ImageDimension > >
virtual ::itk::LightObject::Pointer CreateAnother () const
 
virtual void SetNumberOfLayers (unsigned int _arg)
 
virtual unsigned int GetNumberOfLayers () const
 
virtual void SetIsoSurfaceValue (ValueType _arg)
 
virtual ValueType GetIsoSurfaceValue () const
 
virtual void SetInterpolateSurfaceLocation (bool _arg)
 
virtual bool GetInterpolateSurfaceLocation () const
 
void InterpolateSurfaceLocationOn ()
 
void InterpolateSurfaceLocationOff ()
 
- Public Member Functions inherited from itk::FiniteDifferenceImageFilter< TInputImage, Image< TOutputPixelType, TInputImage::ImageDimension > >
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, Image< TOutputPixelType, TInputImage::ImageDimension > >
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, Image< TOutputPixelType, TInputImage::ImageDimension > >
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< Image< TOutputPixelType, TInputImage::ImageDimension > >
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::SparseFieldLevelSetImageFilter< TInputImage, Image< TOutputPixelType, TInputImage::ImageDimension > >
static Pointer New ()
 
- Static Public Member Functions inherited from itk::ImageToImageFilter< TInputImage, Image< TOutputPixelType, TInputImage::ImageDimension > >
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 ()
 

Protected Member Functions

void GenerateData () override
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
 ShapeDetectionLevelSetImageFilter ()
 
 ~ShapeDetectionLevelSetImageFilter () override=default
 
- Protected Member Functions inherited from itk::SegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >
 ~SegmentationLevelSetImageFilter () override=default
 
 SegmentationLevelSetImageFilter ()
 
void InitializeIteration () override
 
- Protected Member Functions inherited from itk::SparseFieldLevelSetImageFilter< TInputImage, Image< TOutputPixelType, TInputImage::ImageDimension > >
 SparseFieldLevelSetImageFilter ()
 
 ~SparseFieldLevelSetImageFilter () override=default
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
virtual ValueType CalculateUpdateValue (const IndexType &, const TimeStepType &dt, const ValueType &value, const ValueType &change)
 
void PostProcessOutput () override
 
virtual void InitializeBackgroundPixels ()
 
void Initialize () override
 
void CopyInputToOutput () override
 
void AllocateUpdateBuffer () override
 
void ApplyUpdate (const TimeStepType &dt) override
 
TimeStepType CalculateChange () override
 
void ConstructLayer (StatusType from, StatusType to)
 
void ConstructActiveLayer ()
 
void InitializeActiveLayerValues ()
 
void PropagateLayerValues (StatusType from, StatusType to, StatusType promote, int InOrOut)
 
void PropagateAllLayerValues ()
 
void UpdateActiveLayerValues (TimeStepType dt, LayerType *UpList, LayerType *DownList)
 
void ProcessStatusList (LayerType *InputList, LayerType *OutputList, StatusType ChangeToStatus, StatusType SearchForStatus)
 
void ProcessOutsideList (LayerType *OutsideList, StatusType ChangeToStatus)
 
virtual ValueType GetValueZero () const
 
virtual ValueType GetValueOne () const
 
- Protected Member Functions inherited from itk::FiniteDifferenceImageFilter< TInputImage, Image< TOutputPixelType, TInputImage::ImageDimension > >
 FiniteDifferenceImageFilter ()
 
 ~FiniteDifferenceImageFilter () override=default
 
void GenerateData () override
 
void GenerateInputRequestedRegion () override
 
virtual bool Halt ()
 
virtual bool ThreadedHalt (void *)
 
virtual TimeStepType ResolveTimeStep (const std::vector< TimeStepType > &timeStepList, const std::vector< bool > &valid) const
 
virtual void SetElapsedIterations (IdentifierType _arg)
 
- Protected Member Functions inherited from itk::InPlaceImageFilter< TInputImage, Image< TOutputPixelType, TInputImage::ImageDimension > >
 InPlaceImageFilter ()=default
 
 ~InPlaceImageFilter () override=default
 
void AllocateOutputs () override
 
void ReleaseInputs () override
 
virtual bool GetRunningInPlace () const
 
- Protected Member Functions inherited from itk::ImageToImageFilter< TInputImage, Image< TOutputPixelType, TInputImage::ImageDimension > >
void PushBackInput (const DataObject *input) override
 
void PushFrontInput (const DataObject *input) override
 
 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)
 
- Protected Member Functions inherited from itk::ImageSource< Image< TOutputPixelType, TInputImage::ImageDimension > >
 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 ()
 

Private Attributes

ShapeDetectionFunctionPointer m_ShapeDetectionFunction
 

Additional Inherited Members

- Static Public Attributes inherited from itk::SparseFieldLevelSetImageFilter< TInputImage, Image< TOutputPixelType, TInputImage::ImageDimension > >
static constexpr unsigned int ImageDimension
 
- Static Public Attributes inherited from itk::FiniteDifferenceImageFilter< TInputImage, Image< TOutputPixelType, TInputImage::ImageDimension > >
static constexpr unsigned int ImageDimension
 
- Static Public Attributes inherited from itk::InPlaceImageFilter< TInputImage, Image< TOutputPixelType, TInputImage::ImageDimension > >
static constexpr unsigned int InputImageDimension
 
static constexpr unsigned int OutputImageDimension
 
- Static Public Attributes inherited from itk::ImageToImageFilter< TInputImage, Image< TOutputPixelType, TInputImage::ImageDimension > >
static constexpr unsigned int InputImageDimension
 
static constexpr unsigned int OutputImageDimension
 
- Static Public Attributes inherited from itk::ImageSource< Image< TOutputPixelType, TInputImage::ImageDimension > >
static constexpr unsigned int OutputImageDimension
 
- Protected Types inherited from itk::ImageToImageFilter< TInputImage, Image< TOutputPixelType, TInputImage::ImageDimension > >
using InputToOutputRegionCopierType = ImageToImageFilterDetail::ImageRegionCopier< Self::OutputImageDimension, Self::InputImageDimension >
 
using OutputToInputRegionCopierType = ImageToImageFilterDetail::ImageRegionCopier< Self::InputImageDimension, Self::OutputImageDimension >
 
- Static Protected Member Functions inherited from itk::ImageSource< Image< TOutputPixelType, TInputImage::ImageDimension > >
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::SegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >
bool m_ReverseExpansionDirection
 
bool m_AutoGenerateSpeedAdvection
 
- Protected Attributes inherited from itk::SparseFieldLevelSetImageFilter< TInputImage, Image< TOutputPixelType, TInputImage::ImageDimension > >
SparseFieldCityBlockNeighborList< NeighborhoodIterator< OutputImageType > > m_NeighborList
 
double m_ConstantGradientValue
 
OutputImageType::Pointer m_ShiftedImage
 
LayerListType m_Layers
 
unsigned int m_NumberOfLayers
 
StatusImageType::Pointer m_StatusImage
 
LayerNodeStorageType::Pointer m_LayerNodeStore
 
ValueType m_IsoSurfaceValue
 
UpdateBufferType m_UpdateBuffer
 
bool m_InterpolateSurfaceLocation
 
const InputImageTypem_InputImage
 
OutputImageTypem_OutputImage
 
- Protected Attributes inherited from itk::FiniteDifferenceImageFilter< TInputImage, Image< TOutputPixelType, TInputImage::ImageDimension > >
bool m_IsInitialized
 
IdentifierType m_NumberOfIterations
 
IdentifierType m_ElapsedIterations
 
bool m_ManualReinitialization
 
double m_RMSChange
 
double m_MaximumRMSError
 
- Protected Attributes inherited from itk::ImageSource< Image< TOutputPixelType, TInputImage::ImageDimension > >
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
 
- Static Protected Attributes inherited from itk::SparseFieldLevelSetImageFilter< TInputImage, Image< TOutputPixelType, TInputImage::ImageDimension > >
static ValueType m_ValueOne
 
static ValueType m_ValueZero
 
static StatusType m_StatusChanging
 
static StatusType m_StatusActiveChangingUp
 
static StatusType m_StatusActiveChangingDown
 
static StatusType m_StatusBoundaryPixel
 
static StatusType m_StatusNull
 

Detailed Description

template<typename TInputImage, typename TFeatureImage, typename TOutputPixelType = float>
class itk::ShapeDetectionLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >

Segments structures in images based on a user supplied edge potential map.

IMPORTANT
The SegmentationLevelSetImageFilter class and the ShapeDetectionLevelSetFunction class contain additional information necessary to gain full understanding of how to use this filter.
OVERVIEW
This class is a level set method segmentation filter. An initial contour is propagated outwards (or inwards) until it ''sticks'' to the shape boundaries. This is done by using a level set speed function based on a user supplied edge potential map. This approach for segmentation follows that of Malladi et al (1995).
INPUTS
This filter requires two inputs. The first input is a initial level set. The initial level set is a real image which contains the initial contour/surface as the zero level set. For example, a signed distance function from the initial contour/surface is typically used. Note that for this algorithm the initial contour has to be wholly within (or wholly outside) the structure to be segmented.
The second input is the feature image. For this filter, this is the edge potential map. General characteristics of an edge potential map is that it has values close to zero in regions near the edges and values close to one inside the shape itself. Typically, the edge potential map is compute from the image gradient, for example:

\[ g(I) = 1 / ( 1 + | (\nabla * G)(I)| ) \]

\[ g(I) = \exp^{-|(\nabla * G)(I)|} \]

where $ I $ is image intensity and $ (\nabla * G) $ is the derivative of Gaussian operator.

See SegmentationLevelSetImageFilter and SparseFieldLevelSetImageFilter for more information on Inputs.
PARAMETERS
The PropagationScaling parameter can be used to switch from propagation outwards (POSITIVE scaling parameter) versus propagating inwards (NEGATIVE scaling parameter).

The smoothness of the resulting contour/surface can be adjusted using a combination of PropagationScaling and CurvatureScaling parameters. The larger the CurvatureScaling parameter, the smoother the resulting contour. The CurvatureScaling parameter should be non-negative for proper operation of this algorithm. To follow the implementation in Malladi et al paper, set the PropagtionScaling to $\pm 1.0$ and CurvatureScaling to $ \epsilon $.

Note that there is no advection term for this filter. Setting the advection scaling will have no effect.

OUTPUTS
The filter outputs a single, scalar, real-valued image. Negative values in the output image represent the inside of the segmented region and positive values in the image represent the outside of the segmented region. The zero crossings of the image correspond to the position of the propagating front.
See SparseFieldLevelSetImageFilter and SegmentationLevelSetImageFilter for more information.
REFERENCES
"Shape Modeling with Front Propagation: A Level Set Approach", R. Malladi, J. A. Sethian and B. C. Vermuri. IEEE Trans. on Pattern Analysis and Machine Intelligence, Vol 17, No. 2, pp 158-174, February 1995
See also
SegmentationLevelSetImageFilter
ShapeDetectionLevelSetFunction
SparseFieldLevelSetImageFilter
Examples
Examples/Segmentation/ShapeDetectionLevelSetFilter.cxx.

Definition at line 106 of file itkShapeDetectionLevelSetImageFilter.h.

Member Typedef Documentation

◆ ConstPointer

template<typename TInputImage , typename TFeatureImage , typename TOutputPixelType = float>
using itk::ShapeDetectionLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::ConstPointer = SmartPointer<const Self>

Definition at line 116 of file itkShapeDetectionLevelSetImageFilter.h.

◆ FeatureImageType

template<typename TInputImage , typename TFeatureImage , typename TOutputPixelType = float>
using itk::ShapeDetectionLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::FeatureImageType = typename Superclass::FeatureImageType

Definition at line 121 of file itkShapeDetectionLevelSetImageFilter.h.

◆ OutputImageType

template<typename TInputImage , typename TFeatureImage , typename TOutputPixelType = float>
using itk::ShapeDetectionLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::OutputImageType = typename Superclass::OutputImageType

Definition at line 120 of file itkShapeDetectionLevelSetImageFilter.h.

◆ Pointer

template<typename TInputImage , typename TFeatureImage , typename TOutputPixelType = float>
using itk::ShapeDetectionLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::Pointer = SmartPointer<Self>

Definition at line 115 of file itkShapeDetectionLevelSetImageFilter.h.

◆ Self

template<typename TInputImage , typename TFeatureImage , typename TOutputPixelType = float>
using itk::ShapeDetectionLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::Self = ShapeDetectionLevelSetImageFilter

Standard class type aliases

Definition at line 113 of file itkShapeDetectionLevelSetImageFilter.h.

◆ ShapeDetectionFunctionPointer

template<typename TInputImage , typename TFeatureImage , typename TOutputPixelType = float>
using itk::ShapeDetectionLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::ShapeDetectionFunctionPointer = typename ShapeDetectionFunctionType::Pointer

Definition at line 125 of file itkShapeDetectionLevelSetImageFilter.h.

◆ ShapeDetectionFunctionType

template<typename TInputImage , typename TFeatureImage , typename TOutputPixelType = float>
using itk::ShapeDetectionLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::ShapeDetectionFunctionType = ShapeDetectionLevelSetFunction<OutputImageType, FeatureImageType>

Type of the segmentation function

Definition at line 124 of file itkShapeDetectionLevelSetImageFilter.h.

◆ Superclass

template<typename TInputImage , typename TFeatureImage , typename TOutputPixelType = float>
using itk::ShapeDetectionLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::Superclass = SegmentationLevelSetImageFilter<TInputImage, TFeatureImage, TOutputPixelType>

Definition at line 114 of file itkShapeDetectionLevelSetImageFilter.h.

◆ ValueType

template<typename TInputImage , typename TFeatureImage , typename TOutputPixelType = float>
using itk::ShapeDetectionLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::ValueType = typename Superclass::ValueType

Inherited type alias from the superclass.

Definition at line 119 of file itkShapeDetectionLevelSetImageFilter.h.

Constructor & Destructor Documentation

◆ ~ShapeDetectionLevelSetImageFilter()

template<typename TInputImage , typename TFeatureImage , typename TOutputPixelType = float>
itk::ShapeDetectionLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::~ShapeDetectionLevelSetImageFilter ( )
overrideprotecteddefault

◆ ShapeDetectionLevelSetImageFilter()

template<typename TInputImage , typename TFeatureImage , typename TOutputPixelType = float>
itk::ShapeDetectionLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::ShapeDetectionLevelSetImageFilter ( )
protected

Member Function Documentation

◆ CreateAnother()

template<typename TInputImage , typename TFeatureImage , typename TOutputPixelType = float>
virtual::itk::LightObject::Pointer itk::ShapeDetectionLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::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.

◆ GenerateData()

template<typename TInputImage , typename TFeatureImage , typename TOutputPixelType = float>
void itk::ShapeDetectionLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::GenerateData ( )
overrideprotectedvirtual

Overridden from Superclass to handle the case when PropagationScaling is zero and CurvatureScaling is non-zero.

Reimplemented from itk::SegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >.

◆ GetNameOfClass()

template<typename TInputImage , typename TFeatureImage , typename TOutputPixelType = float>
virtual const char* itk::ShapeDetectionLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from itk::SegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >.

◆ New()

template<typename TInputImage , typename TFeatureImage , typename TOutputPixelType = float>
static Pointer itk::ShapeDetectionLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::New ( )
static

Method for creation through the object factory

◆ PrintSelf()

template<typename TInputImage , typename TFeatureImage , typename TOutputPixelType = float>
void itk::ShapeDetectionLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
overrideprotectedvirtual

Flag which sets the inward/outward direction of propagation speed. See SetReverseExpansionDirection for more information.

Reimplemented from itk::SegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >.

Member Data Documentation

◆ m_ShapeDetectionFunction

template<typename TInputImage , typename TFeatureImage , typename TOutputPixelType = float>
ShapeDetectionFunctionPointer itk::ShapeDetectionLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::m_ShapeDetectionFunction
private

Definition at line 146 of file itkShapeDetectionLevelSetImageFilter.h.


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