|
using | ConstPointer = SmartPointer< const Self > |
|
using | FeatureImageType = typename Superclass::FeatureImageType |
|
using | GeodesicActiveContourFunctionPointer = typename GeodesicActiveContourFunctionType::Pointer |
|
using | GeodesicActiveContourFunctionType = GeodesicActiveContourShapePriorLevelSetFunction< OutputImageType, FeatureImageType > |
|
using | OutputImageType = typename Superclass::OutputImageType |
|
using | OutputPixelType = typename Superclass::OutputPixelType |
|
using | Pointer = SmartPointer< Self > |
|
using | Self = GeodesicActiveContourShapePriorLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType > |
|
using | Superclass = ShapePriorSegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType > |
|
using | ValueType = typename Superclass::ValueType |
|
using | ConstPointer = SmartPointer< const Self > |
|
using | CostFunctionPointer = typename CostFunctionType::Pointer |
|
using | CostFunctionType = ShapePriorMAPCostFunctionBase< TFeatureImage, TOutputPixelType > |
|
using | FeatureImageType = typename Superclass::FeatureImageType |
|
using | NodeContainerPointer = typename NodeContainerType::Pointer |
|
using | NodeContainerType = typename CostFunctionType::NodeContainerType |
|
using | NodeType = typename CostFunctionType::NodeType |
|
using | OptimizerPointer = typename OptimizerType::Pointer |
|
using | OptimizerType = SingleValuedNonLinearOptimizer |
|
using | OutputImageType = typename Superclass::OutputImageType |
|
using | OutputPixelType = TOutputPixelType |
|
using | ParametersType = typename CostFunctionType::ParametersType |
|
using | Pointer = SmartPointer< Self > |
|
using | Self = ShapePriorSegmentationLevelSetImageFilter |
|
using | ShapeFunctionPointer = typename ShapeFunctionType::Pointer |
|
using | ShapeFunctionType = typename ShapePriorSegmentationFunctionType::ShapeFunctionType |
|
using | ShapePriorSegmentationFunctionType = ShapePriorSegmentationLevelSetFunction< OutputImageType, FeatureImageType > |
|
using | Superclass = SegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType > |
|
using | ValueType = typename Superclass::ValueType |
|
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 |
|
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 |
|
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 |
|
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 > > |
|
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 > > |
|
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 |
|
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 |
|
using | ConstPointer = SmartPointer< const Self > |
|
using | Pointer = SmartPointer< Self > |
|
using | Self = Object |
|
using | Superclass = LightObject |
|
using | ConstPointer = SmartPointer< const Self > |
|
using | Pointer = SmartPointer< Self > |
|
using | Self = LightObject |
|
|
static constexpr unsigned int | ImageDimension = TInputImage::ImageDimension |
|
static constexpr unsigned int | ImageDimension |
|
static constexpr unsigned int | ImageDimension |
|
static constexpr unsigned int | InputImageDimension |
|
static constexpr unsigned int | OutputImageDimension |
|
static constexpr unsigned int | InputImageDimension |
|
static constexpr unsigned int | OutputImageDimension |
|
static constexpr unsigned int | OutputImageDimension |
|
using | InputToOutputRegionCopierType = ImageToImageFilterDetail::ImageRegionCopier< Self::OutputImageDimension, Self::InputImageDimension > |
|
using | OutputToInputRegionCopierType = ImageToImageFilterDetail::ImageRegionCopier< Self::InputImageDimension, Self::OutputImageDimension > |
|
| ~ShapePriorSegmentationLevelSetImageFilter () override=default |
|
| ShapePriorSegmentationLevelSetImageFilter () |
|
void | PrintSelf (std::ostream &os, Indent indent) const override |
|
void | InitializeIteration () override |
|
void | GenerateData () override |
|
void | ExtractActiveRegion (NodeContainerType *ptr) |
|
| ~SegmentationLevelSetImageFilter () override=default |
|
| SegmentationLevelSetImageFilter () |
|
| 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 |
|
| 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) |
|
| InPlaceImageFilter ()=default |
|
| ~InPlaceImageFilter () override=default |
|
void | AllocateOutputs () override |
|
void | ReleaseInputs () override |
|
virtual bool | GetRunningInPlace () const |
|
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) |
|
| ImageSource () |
|
| ~ImageSource () override=default |
|
void | ClassicMultiThread (ThreadFunctionType callbackFunction) |
|
virtual void | ThreadedGenerateData (const OutputImageRegionType ®ion, ThreadIdType threadId) |
|
virtual void | DynamicThreadedGenerateData (const OutputImageRegionType &outputRegionForThread) |
|
virtual void | BeforeThreadedGenerateData () |
|
virtual void | AfterThreadedGenerateData () |
|
virtual const ImageRegionSplitterBase * | GetImageRegionSplitter () 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 () |
|
| ProcessObject () |
|
| ~ProcessObject () override |
|
DataObject * | GetInput (const DataObjectIdentifierType &key) |
|
const DataObject * | GetInput (const DataObjectIdentifierType &key) const |
|
DataObject * | GetInput (DataObjectPointerArraySizeType idx) |
|
const DataObject * | GetInput (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) |
|
DataObject * | GetPrimaryInput () |
|
const DataObject * | GetPrimaryInput () 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 DataObjectPointerArraySizeType & | GetNumberOfRequiredInputs () 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) |
|
DataObject * | GetOutput (const DataObjectIdentifierType &key) |
|
const DataObject * | GetOutput (const DataObjectIdentifierType &key) const |
|
virtual void | SetPrimaryOutputName (const DataObjectIdentifierType &key) |
|
virtual const char * | GetPrimaryOutputName () const |
|
DataObject * | GetOutput (DataObjectPointerArraySizeType i) |
|
const DataObject * | GetOutput (DataObjectPointerArraySizeType i) const |
|
virtual void | SetOutput (const DataObjectIdentifierType &name, DataObject *output) |
|
virtual void | RemoveOutput (const DataObjectIdentifierType &key) |
|
DataObject * | GetPrimaryOutput () |
|
const DataObject * | GetPrimaryOutput () 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 DataObjectPointerArraySizeType & | GetNumberOfRequiredOutputs () 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) |
|
| Object () |
|
| ~Object () override |
|
bool | PrintObservers (std::ostream &os, Indent indent) const |
|
virtual void | SetTimeStamp (const TimeStamp &timeStamp) |
|
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 const ImageRegionSplitterBase * | GetGlobalDefaultSplitter () |
|
static ITK_THREAD_RETURN_FUNCTION_CALL_CONVENTION | ThreaderCallback (void *arg) |
|
static constexpr float | progressFixedToFloat (uint32_t fixed) |
|
static uint32_t | progressFloatToFixed (float f) |
|
bool | m_ReverseExpansionDirection |
|
bool | m_AutoGenerateSpeedAdvection |
|
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 InputImageType * | m_InputImage |
|
OutputImageType * | m_OutputImage |
|
bool | m_IsInitialized |
|
IdentifierType | m_NumberOfIterations |
|
IdentifierType | m_ElapsedIterations |
|
bool | m_ManualReinitialization |
|
double | m_RMSChange |
|
double | m_MaximumRMSError |
|
bool | m_DynamicMultiThreading |
|
bool | m_Updating |
|
TimeStamp | m_OutputInformationMTime |
|
std::atomic< int > | m_ReferenceCount |
|
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 |
|
template<typename TInputImage, typename TFeatureImage, typename 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
- Examples
- Examples/Segmentation/GeodesicActiveContourShapePriorLevelSetImageFilter.cxx.
Definition at line 111 of file itkGeodesicActiveContourShapePriorLevelSetImageFilter.h.