Public Member Functions |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
virtual const char * | GetNameOfClass () const |
|
void | SetDerivativeSigma (float value) |
virtual ShapeFunctionType * | GetShapeFunction () |
ValueType | GetShapePriorScaling () const |
virtual
ShapePriorSegmentationFunctionType * | GetShapePriorSegmentationFunction () |
virtual void | SetShapeFunction (ShapeFunctionType *s) |
virtual void | SetShapePriorSegmentationFunction (ShapePriorSegmentationFunctionType *s) |
virtual void | SetCostFunction (CostFunctionType *_arg) |
virtual CostFunctionType * | GetCostFunction () |
virtual void | SetOptimizer (OptimizerType *_arg) |
virtual OptimizerType * | GetOptimizer () |
virtual void | SetInitialParameters (ParametersType _arg) |
virtual ParametersType | GetInitialParameters () const |
void | SetShapePriorScaling (ValueType v) |
virtual const ParametersType & | GetCurrentParameters () |
void | GenerateAdvectionImage () |
void | GenerateSpeedImage () |
virtual const VectorImageType * | GetAdvectionImage () const |
ValueType | GetAdvectionScaling () const |
ValueType | GetCurvatureScaling () const |
virtual FeatureImageType * | GetFeatureImage () |
double | GetMaximumCurvatureTimeStep () const |
unsigned int | GetMaximumIterations () |
double | GetMaximumPropagationTimeStep () const |
ValueType | GetPropagationScaling () const |
virtual SegmentationFunctionType * | GetSegmentationFunction () |
virtual const SpeedImageType * | GetSpeedImage () const |
bool | GetUseMinimalCurvature () const |
bool | GetUseNegativeFeatures () const |
void | SetAdvectionImage (VectorImageType *v) |
virtual void | SetInitialImage (InputImageType *f) |
void | SetInput2 (const FeatureImageType *input) |
virtual void | SetSegmentationFunction (SegmentationFunctionType *s) |
void | SetSpeedImage (SpeedImageType *s) |
void | SetUseNegativeFeaturesOff () |
| typedef (Concept::HasNumericTraits< TOutputPixelType >) OutputHasNumericTraitsCheck |
void | UseMinimalCurvatureOff () |
void | UseMinimalCurvatureOn () |
void | SetMaximumIterations (unsigned int i) |
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 () |
virtual void | SetAutoGenerateSpeedAdvection (bool _arg) |
virtual bool | GetAutoGenerateSpeedAdvection () const |
virtual void | AutoGenerateSpeedAdvectionOn () |
virtual void | AutoGenerateSpeedAdvectionOff () |
void | SetFeatureScaling (ValueType v) |
void | SetPropagationScaling (ValueType v) |
void | SetAdvectionScaling (ValueType v) |
void | SetCurvatureScaling (ValueType v) |
void | SetUseMinimalCurvature (bool b) |
void | SetMaximumCurvatureTimeStep (double n) |
void | SetMaximumPropagationTimeStep (double n) |
| typedef (Concept::EqualityComparable< typename Image< TOutputPixelType,::itk::GetImageDimension< TInputImage >::ImageDimension >::PixelType >) OutputEqualityComparableCheck |
| typedef (Concept::Convertible< double, typename Image< TOutputPixelType,::itk::GetImageDimension< TInputImage >::ImageDimension >::PixelType >) DoubleConvertibleToOutputCheck |
| typedef (Concept::OStreamWritable< typename Image< TOutputPixelType,::itk::GetImageDimension< TInputImage >::ImageDimension >::PixelType >) OutputOStreamWritableCheck |
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 () |
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 void | SetMaximumRMSError (double _arg) |
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 () |
| GeodesicActiveContourShapePriorLevelSetImageFilter (const Self &) |
void | operator= (const Self &) |
virtual void | PrintSelf (std::ostream &os, Indent indent) const |
void | ExtractActiveRegion (NodeContainerType *ptr) |
virtual void | InitializeIteration () |
virtual | ~ShapePriorSegmentationLevelSetImageFilter () |
| ShapePriorSegmentationLevelSetImageFilter () |
| SegmentationLevelSetImageFilter () |
virtual | ~SegmentationLevelSetImageFilter () |
void | AllocateUpdateBuffer () |
void | ApplyUpdate (const TimeStepType &dt) |
TimeStepType | CalculateChange () |
virtual ValueType | CalculateUpdateValue (const IndexType &, const TimeStepType &dt, const ValueType &value, const ValueType &change) |
void | ConstructActiveLayer () |
void | ConstructLayer (StatusType from, StatusType to) |
void | CopyInputToOutput () |
virtual ValueType | GetValueOne () const |
virtual ValueType | GetValueZero () const |
void | Initialize () |
void | InitializeActiveLayerValues () |
virtual void | InitializeBackgroundPixels () |
virtual void | PostProcessOutput () |
void | ProcessOutsideList (LayerType *OutsideList, StatusType ChangeToStatus) |
void | ProcessStatusList (LayerType *InputList, LayerType *OutputList, StatusType ChangeToStatus, StatusType SearchForStatus) |
void | PropagateAllLayerValues () |
void | PropagateLayerValues (StatusType from, StatusType to, StatusType promote, int InOrOut) |
void | UpdateActiveLayerValues (TimeStepType dt, LayerType *StatusUpList, LayerType *StatusDownList) |
| SparseFieldLevelSetImageFilter () |
| ~SparseFieldLevelSetImageFilter () |
| 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::GeodesicActiveContourShapePriorLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >
Segments structures in an image based on a user supplied edge potential map and user supplied shape model.
- IMPORTANT
- The SegmentationLevelSetImageFilter class, ShapePriorSegmentationLevelSetImageFilter class and the GeodesicActiveContourShapePrior0LevelSetFunction 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 and a user supplied shape model.
- 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 advection term in the update equation behaves like a doublet and attracts the contour to the boundary. The shape prior term adds robustness by incorporating aprior information about the shape to be segmented. This approach for segmentation follows that of Leventon et al (2000).
- 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 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).
This implementation allows the user to set the weights between the propagation, advection curvature and shape prior term using methods SetPropagationScaling(), SetAdvectionScaling(), SetCurvatureScaling() and SetShapePriorScaling. In general, the larger the CurvatureScaling, the smoother the resulting contour. To follow the implementation in Leventon et al paper, set the PropagationScaling to , the AdvectionScaling and CurvatureScaling both to and the ShapePriorScaling to .
- 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
- Leventon, M.E. et al. "Statistical Shape Influence in Geodesic Active Contours", CVPR 2000.
- See also:
- SegmentationLevelSetImageFilter
-
ShapePriorSegmentationLevelSetImageFilter
-
GeodesicActiveContourShapePriorLevelSetFunction
-
SparseFieldLevelSetImageFilter
-
ShapeSignedDistanceFunction
Definition at line 113 of file itkGeodesicActiveContourShapePriorLevelSetImageFilter.h.