Public Types |
typedef SmartPointer< const Self > | ConstPointer |
typedef CurvesFunctionType::Pointer | CurvesFunctionPointer |
typedef CurvesLevelSetFunction
< OutputImageType,
FeatureImageType > | CurvesFunctionType |
typedef
Superclass::FeatureImageType | FeatureImageType |
typedef Superclass::OutputImageType | OutputImageType |
typedef SmartPointer< Self > | Pointer |
typedef
NarrowBandCurvesLevelSetImageFilter | Self |
typedef
NarrowBandLevelSetImageFilter
< TInputImage, TFeatureImage,
TOutputPixelType, Image
< TOutputPixelType,::itk::GetImageDimension
< TInputImage >
::ImageDimension > > | Superclass |
typedef Superclass::ValueType | ValueType |
Public Types inherited from itk::NarrowBandLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType, Image< TOutputPixelType,::itk::GetImageDimension< TInputImage >::ImageDimension > > |
typedef Superclass::IndexType | IndexType |
typedef Superclass::InputImageType | InputImageType |
typedef
SegmentationLevelSetFunction
< OutputImageType,
FeatureImageType > | SegmentationFunctionType |
typedef Superclass::TimeStepType | TimeStepType |
typedef
SegmentationFunctionType::VectorImageType | VectorImageType |
Public Types inherited from itk::NarrowBandImageFilterBase< TInputImage, Image< TOutputPixelType,::itk::GetImageDimension< TInputImage >::ImageDimension > > |
typedef BandNode< IndexType,
PixelType > | BandNodeType |
typedef
Superclass::FiniteDifferenceFunctionType | FiniteDifferenceFunctionType |
typedef NarrowBandType::Iterator | NarrowBandIterator |
typedef NarrowBandType::Pointer | NarrowBandPointer |
typedef NarrowBand< BandNodeType > | NarrowBandType |
typedef Superclass::PixelType | PixelType |
typedef NarrowBandType::RegionType | RegionType |
typedef TInputImage::PixelType | InputPixelType |
typedef NumericTraits
< InputPixelType >::ValueType | InputPixelValueType |
typedef
FiniteDifferenceFunctionType::NeighborhoodScalesType | NeighborhoodScalesType |
typedef Image
< TOutputPixelType,::itk::GetImageDimension
< TInputImage >
::ImageDimension >::PixelType | OutputPixelType |
typedef NumericTraits
< OutputPixelType >::ValueType | OutputPixelValueType |
typedef
FiniteDifferenceFunctionType::RadiusType | RadiusType |
typedef
InputImageType::ConstPointer | InputImageConstPointer |
typedef InputImageType::PixelType | InputImagePixelType |
typedef InputImageType::Pointer | InputImagePointer |
typedef InputImageType::RegionType | InputImageRegionType |
typedef
Superclass::OutputImagePixelType | OutputImagePixelType |
typedef
Superclass::OutputImagePointer | OutputImagePointer |
typedef
Superclass::OutputImageRegionType | OutputImageRegionType |
typedef
Superclass::DataObjectIdentifierType | DataObjectIdentifierType |
typedef DataObject::Pointer | DataObjectPointer |
typedef
Superclass::DataObjectPointerArraySizeType | DataObjectPointerArraySizeType |
typedef std::vector
< DataObjectPointer > | DataObjectPointerArray |
typedef std::vector
< DataObjectIdentifierType > | NameArray |
Public Member Functions |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
float | GetDerivativeSigma () const |
virtual const char * | GetNameOfClass () const |
| typedef (Concept::HasNumericTraits< TOutputPixelType >) OutputHasNumericTraitsCheck |
|
void | SetDerivativeSigma (float value) |
Public Member Functions inherited from itk::NarrowBandLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType, Image< TOutputPixelType,::itk::GetImageDimension< TInputImage >::ImageDimension > > |
virtual const
SegmentationFunctionType::VectorImageType * | GetAdvectionImage () const |
ValueType | GetAdvectionScaling () const |
ValueType | GetCurvatureScaling () const |
virtual FeatureImageType * | GetFeatureImage () |
unsigned int | GetMaximumIterations () |
ValueType | GetPropagationScaling () const |
virtual SegmentationFunctionType * | GetSegmentationFunction () |
virtual const
SegmentationFunctionType::ImageType * | GetSpeedImage () const |
bool | GetUseNegativeFeatures () const |
virtual void | SetInitialImage (InputImageType *f) |
virtual void | SetMaximumRMSError (const double) |
virtual void | SetSegmentationFunction (SegmentationFunctionType *s) |
void | SetUseNegativeFeaturesOff () |
| typedef (Concept::HasNumericTraits< typename Image< TOutputPixelType,::itk::GetImageDimension< TInputImage >::ImageDimension >::PixelType >) OutputHasNumericTraitsCheck |
virtual void | SetFeatureImage (const FeatureImageType *f) |
void | SetUseNegativeFeaturesOn () |
void | SetUseNegativeFeatures (bool u) |
virtual void | SetReverseExpansionDirection (bool _arg) |
virtual bool | GetReverseExpansionDirection () const |
virtual void | ReverseExpansionDirectionOn () |
virtual void | ReverseExpansionDirectionOff () |
void | SetFeatureScaling (ValueType v) |
void | SetPropagationScaling (ValueType v) |
void | SetAdvectionScaling (ValueType v) |
void | SetCurvatureScaling (ValueType v) |
void | SetMaximumIterations (unsigned int i) |
Public Member Functions inherited from itk::NarrowBandImageFilterBase< TInputImage, Image< TOutputPixelType,::itk::GetImageDimension< TInputImage >::ImageDimension > > |
virtual void | CopyInputToOutput () |
float | GetNarrowBandInnerRadius () const |
float | GetNarrowBandTotalRadius () const |
void | InsertNarrowBandNode (const IndexType &index) |
void | InsertNarrowBandNode (const IndexType &index, const PixelType &value, const signed char &nodestate) |
virtual void | SetNarrowBand (NarrowBandType *ptr) |
virtual void | SetIsoSurfaceValue (ValueType _arg) |
virtual ValueType | GetIsoSurfaceValue () const |
void | InsertNarrowBandNode (const BandNodeType &node) |
void | SetNarrowBandTotalRadius (const float &val) |
void | SetNarrowBandInnerRadius (const float &val) |
virtual const
FiniteDifferenceFunctionType::Pointer & | GetDifferenceFunction () const |
virtual const IdentifierType & | GetElapsedIterations () |
virtual bool | GetIsInitialized () |
virtual void | SetDifferenceFunction (FiniteDifferenceFunctionType *_arg) |
virtual void | SetIsInitialized (bool _arg) |
void | SetStateToInitialized () |
void | SetStateToUninitialized () |
virtual void | SetNumberOfIterations (IdentifierType _arg) |
virtual const IdentifierType & | GetNumberOfIterations () |
virtual void | SetUseImageSpacing (bool _arg) |
virtual void | UseImageSpacingOn () |
virtual void | UseImageSpacingOff () |
virtual const bool & | GetUseImageSpacing () |
virtual const double & | GetMaximumRMSError () |
virtual void | SetRMSChange (double _arg) |
virtual const double & | GetRMSChange () |
virtual void | SetManualReinitialization (bool _arg) |
virtual const bool & | GetManualReinitialization () |
virtual void | ManualReinitializationOn () |
virtual void | ManualReinitializationOff () |
virtual bool | CanRunInPlace () const |
virtual void | SetInPlace (bool _arg) |
virtual bool | GetInPlace () const |
virtual void | InPlaceOn () |
virtual void | InPlaceOff () |
const InputImageType * | GetInput (void) const |
const InputImageType * | GetInput (unsigned int idx) const |
virtual void | PopBackInput () |
virtual void | PopFrontInput () |
virtual void | PushBackInput (const InputImageType *image) |
virtual void | PushFrontInput (const InputImageType *image) |
virtual void | SetInput (const InputImageType *image) |
virtual void | SetInput (unsigned int, const TInputImage *image) |
OutputImageType * | GetOutput (unsigned int idx) |
virtual void | GraftNthOutput (unsigned int idx, DataObject *output) |
virtual void | GraftOutput (DataObject *output) |
virtual void | GraftOutput (const DataObjectIdentifierType &key, DataObject *output) |
OutputImageType * | GetOutput (void) |
const OutputImageType * | GetOutput (void) const |
virtual
ProcessObject::DataObjectPointer | MakeOutput (ProcessObject::DataObjectPointerArraySizeType idx) |
virtual void | AbortGenerateDataOff () |
virtual void | AbortGenerateDataOn () |
virtual void | EnlargeOutputRequestedRegion (DataObject *) |
virtual const bool & | GetAbortGenerateData () |
NameArray | GetInputNames () const |
MultiThreader * | GetMultiThreader () const |
DataObjectPointerArraySizeType | GetNumberOfIndexedInputs () const |
DataObjectPointerArraySizeType | GetNumberOfInputs () const |
DataObjectPointerArraySizeType | GetNumberOfOutputs () const |
virtual
DataObjectPointerArraySizeType | GetNumberOfValidRequiredInputs () const |
NameArray | GetOutputNames () const |
virtual const float & | GetProgress () |
NameArray | GetRequiredInputNames () const |
bool | HasInput (const DataObjectIdentifierType &key) const |
bool | HasOutput (const DataObjectIdentifierType &key) const |
virtual DataObjectPointer | MakeOutput (const DataObjectIdentifierType &) |
virtual void | PrepareOutputs () |
virtual void | PropagateRequestedRegion (DataObject *output) |
virtual void | ResetPipeline () |
virtual void | SetAbortGenerateData (bool _arg) |
virtual void | SetProgress (float _arg) |
virtual void | Update () |
virtual void | UpdateLargestPossibleRegion () |
virtual void | UpdateOutputData (DataObject *output) |
virtual void | UpdateOutputInformation () |
void | UpdateProgress (float amount) |
DataObjectPointerArray | GetInputs () |
DataObjectPointerArray | GetOutputs () |
DataObjectPointerArray | GetIndexedInputs () |
DataObjectPointerArray | GetIndexedOutputs () |
DataObjectPointerArraySizeType | GetNumberOfIndexedOutputs () const |
virtual void | SetReleaseDataFlag (bool flag) |
virtual bool | GetReleaseDataFlag () const |
void | ReleaseDataFlagOn () |
void | ReleaseDataFlagOff () |
virtual void | SetReleaseDataBeforeUpdateFlag (bool _arg) |
virtual const bool & | GetReleaseDataBeforeUpdateFlag () |
virtual void | ReleaseDataBeforeUpdateFlagOn () |
virtual void | ReleaseDataBeforeUpdateFlagOff () |
virtual void | SetNumberOfThreads (ThreadIdType _arg) |
virtual const ThreadIdType & | GetNumberOfThreads () |
unsigned long | AddObserver (const EventObject &event, Command *) |
unsigned long | AddObserver (const EventObject &event, Command *) const |
virtual void | DebugOff () const |
virtual void | DebugOn () const |
Command * | GetCommand (unsigned long tag) |
bool | GetDebug () const |
MetaDataDictionary & | GetMetaDataDictionary (void) |
const MetaDataDictionary & | GetMetaDataDictionary (void) const |
virtual unsigned long | GetMTime () const |
virtual const TimeStamp & | GetTimeStamp () const |
bool | HasObserver (const EventObject &event) const |
void | InvokeEvent (const EventObject &) |
void | InvokeEvent (const EventObject &) const |
virtual void | Modified () const |
virtual void | Register () const |
void | RemoveAllObservers () |
void | RemoveObserver (unsigned long tag) |
void | SetDebug (bool debugFlag) const |
void | SetMetaDataDictionary (const MetaDataDictionary &rhs) |
virtual void | SetReferenceCount (int) |
virtual void | UnRegister () const |
virtual void | Delete () |
virtual int | GetReferenceCount () const |
| itkCloneMacro (Self) |
void | Print (std::ostream &os, Indent indent=0) const |
Protected Member Functions |
void | GenerateData () |
| NarrowBandCurvesLevelSetImageFilter () |
| NarrowBandCurvesLevelSetImageFilter (const Self &) |
void | operator= (const Self &) |
virtual void | PrintSelf (std::ostream &os, Indent indent) const |
| ~NarrowBandCurvesLevelSetImageFilter () |
Protected Member Functions inherited from itk::NarrowBandLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType, Image< TOutputPixelType,::itk::GetImageDimension< TInputImage >::ImageDimension > > |
virtual void | CreateNarrowBand () |
virtual | ~NarrowBandLevelSetImageFilter () |
| NarrowBandLevelSetImageFilter () |
| NarrowBandLevelSetImageFilter (const Self &) |
virtual void | InitializeIteration () |
Protected Member Functions inherited from itk::NarrowBandImageFilterBase< TInputImage, Image< TOutputPixelType,::itk::GetImageDimension< TInputImage >::ImageDimension > > |
void | ClearNarrowBand () |
void | GetSplitRegion (const vcl_size_t &i, ThreadRegionType &splitRegion) |
virtual void | Initialize () |
| NarrowBandImageFilterBase () |
virtual void | PostProcessOutput () |
void | WaitForAll () |
virtual | ~NarrowBandImageFilterBase () |
| FiniteDifferenceImageFilter () |
virtual void | GenerateInputRequestedRegion () |
virtual bool | Halt () |
virtual TimeStepType | ResolveTimeStep (const std::vector< TimeStepType > &timeStepList, const std::vector< bool > &valid) const |
virtual void | SetElapsedIterations (IdentifierType _arg) |
virtual bool | ThreadedHalt (void *) |
virtual | ~FiniteDifferenceImageFilter () |
virtual void | AllocateOutputs () |
virtual bool | GetRunningInPlace () const |
| InPlaceImageFilter () |
virtual void | ReleaseInputs () |
| ~InPlaceImageFilter () |
virtual void | CallCopyInputRegionToOutputRegion (OutputImageRegionType &destRegion, const InputImageRegionType &srcRegion) |
virtual void | CallCopyOutputRegionToInputRegion (InputImageRegionType &destRegion, const OutputImageRegionType &srcRegion) |
| ImageToImageFilter () |
virtual void | VerifyInputInformation () |
| ~ImageToImageFilter () |
void | PushBackInput (const DataObject *input) |
void | PushFrontInput (const DataObject *input) |
virtual void | AfterThreadedGenerateData () |
virtual void | BeforeThreadedGenerateData () |
| ImageSource () |
virtual unsigned int | SplitRequestedRegion (unsigned int i, unsigned int num, OutputImageRegionType &splitRegion) |
virtual void | ThreadedGenerateData (const OutputImageRegionType &outputRegionForThread, ThreadIdType threadId) |
virtual | ~ImageSource () |
virtual void | AddInput (DataObject *input) |
virtual void | AddOutput (DataObject *output) |
bool | AddRequiredInputName (const DataObjectIdentifierType &) |
virtual void | CacheInputReleaseDataFlags () |
virtual void | GenerateOutputInformation () |
virtual void | GenerateOutputRequestedRegion (DataObject *output) |
virtual const
DataObjectPointerArraySizeType & | GetNumberOfRequiredInputs () |
virtual const
DataObjectPointerArraySizeType & | GetNumberOfRequiredOutputs () |
bool | IsIndexedName (const DataObjectIdentifierType &) const |
bool | IsRequiredInputName (const DataObjectIdentifierType &) const |
| itkLegacyMacro (virtual void RemoveInput(DataObject *input)) |
| itkLegacyMacro (virtual void RemoveOutput(DataObject *output)) |
| itkLegacyMacro (void SetNumberOfInputs(DataObjectPointerArraySizeType num)) |
| itkLegacyMacro (void SetNumberOfOutputs(DataObjectPointerArraySizeType num)) |
DataObjectPointerArraySizeType | MakeIndexFromName (const DataObjectIdentifierType &) const |
DataObjectIdentifierType | MakeNameFromIndex (DataObjectPointerArraySizeType) const |
| ProcessObject () |
virtual void | PropagateResetPipeline () |
virtual void | RemoveInput (const DataObjectIdentifierType &key) |
virtual void | RemoveInput (DataObjectPointerArraySizeType) |
virtual void | RemoveOutput (const DataObjectIdentifierType &key) |
virtual void | RemoveOutput (DataObjectPointerArraySizeType idx) |
bool | RemoveRequiredInputName (const DataObjectIdentifierType &) |
virtual void | RestoreInputReleaseDataFlags () |
virtual void | SetInput (const DataObjectIdentifierType &key, DataObject *input) |
virtual void | SetNthInput (DataObjectPointerArraySizeType num, DataObject *input) |
virtual void | SetNthOutput (DataObjectPointerArraySizeType num, DataObject *output) |
void | SetNumberOfIndexedInputs (DataObjectPointerArraySizeType num) |
void | SetNumberOfIndexedOutputs (DataObjectPointerArraySizeType num) |
virtual void | SetNumberOfRequiredInputs (DataObjectPointerArraySizeType) |
virtual void | SetNumberOfRequiredOutputs (DataObjectPointerArraySizeType _arg) |
virtual void | SetOutput (const DataObjectIdentifierType &key, DataObject *output) |
virtual void | SetPrimaryInput (DataObject *input) |
virtual void | SetPrimaryOutput (DataObject *output) |
void | SetRequiredInputNames (const NameArray &) |
virtual void | VerifyPreconditions () |
| ~ProcessObject () |
DataObject * | GetInput (const DataObjectIdentifierType &key) |
const DataObject * | GetInput (const DataObjectIdentifierType &key) const |
DataObject * | GetInput (DataObjectPointerArraySizeType) |
const DataObject * | GetInput (DataObjectPointerArraySizeType idx) const |
DataObject * | GetPrimaryInput () |
const DataObject * | GetPrimaryInput () const |
DataObject * | GetOutput (const DataObjectIdentifierType &key) |
const DataObject * | GetOutput (const DataObjectIdentifierType &key) const |
DataObject * | GetOutput (DataObjectPointerArraySizeType idx) |
const DataObject * | GetOutput (DataObjectPointerArraySizeType idx) const |
DataObject * | GetPrimaryOutput () |
const DataObject * | GetPrimaryOutput () const |
| Object () |
bool | PrintObservers (std::ostream &os, Indent indent) const |
virtual void | SetTimeStamp (const TimeStamp &time) |
virtual | ~Object () |
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 () |
template<class TInputImage, class TFeatureImage, class TOutputPixelType = float>
class itk::NarrowBandCurvesLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >
Segments structures in images based on user supplied edge potential map.
- IMPORTANT
- The NarrowBandLevelSetImageFilter class and the CurvesLevelSetFunction class contain additional information necessary to the 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.
- 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. Unlike the simpler ShapeDetectionLevelSetImageFilter the initial contour does not have to lie wholly within the shape to be segmented. The initial contour is allow to overlap the shape boundary. The extra advection term in the update equation behaves like a doublet and attracts the contour to the boundary. This approach for segmentation follows that of Lorigo et al (2001).
- 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:
where is image intensity and is the derivative of Gaussian operator.
- See NarrowBandLevelSetImageFilter and NarrowBandImageFilterBase for more information on Inputs.
- PARAMETERS
- The method SetUseNegatiiveFeatures() can be used to switch from propagating inwards (false) versus propagting outwards (true).
This implementation allows the user to set the weights between the propagation, advection and curvature term using methods SetPropagationScaling(), SetAdvectionScaling(), SetCurvatureScaling(). In general, the larger the CurvatureScaling, the smoother the resulting contour. To follow the implementation in Caselles's paper, set the PropagationScaling to (the inflation or ballon force) and AdvectionScaling and CurvatureScaling both to 1.0.
- OUTPUTS
- The filter outputs a single, scalar, real-valued image. Negative values in the output image are inside the segmentated region and positive values in the image are outside of the inside region. The zero crossings of the image correspond to the position of the level set front.
- REFERENCES
- L. Lorigo, O. Faugeras, W.E.L. Grimson, R. Keriven, R. Kikinis, A. Nabavi, and C.-F. Westin, Curves: Curve evolution for vessel segmentation. Medical Image Analysis, 5:195-206, 2001.
- See NarrowBandImageFilterBase and NarrowBandLevelSetImageFilter for more information.
- See also:
- NarrowBandLevelSetImageFilter
-
CurvesLevelSetFunction
Definition at line 103 of file itkNarrowBandCurvesLevelSetImageFilter.h.