Medical Imaging Interaction Toolkit
2024.06.99-60d9b802
Medical Imaging Interaction Toolkit
|
This filter interpolates a subdivision curve between control points of the contour. For inserting subpoints Dyn-Levin-Gregory (DLG) interpolation scheme is used. Interpolating a cruve subdivision is done by: F2i = Ci F2i+1 = -1/16Ci-1 + 9/16Ci + 9/16Ci+1 - 1/16Ci+2. More...
#include <mitkContourModelSubDivisionFilter.h>
Public Types | |
typedef ContourModel | OutputType |
typedef OutputType::Pointer | OutputTypePointer |
typedef mitk::ContourModel | InputType |
Public Types inherited from mitk::ContourModelSource | |
typedef ContourModel | OutputType |
typedef OutputType::Pointer | OutputTypePointer |
Public Types inherited from mitk::BaseDataSource | |
typedef BaseDataSource | Self |
typedef itk::ProcessObject | Superclass |
typedef itk::SmartPointer< Self > | Pointer |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef BaseData | OutputType |
typedef itk::DataObject::DataObjectIdentifierType | DataObjectIdentifierType |
Public Member Functions | |
mitkClassMacro (ContourModelSubDivisionFilter, ContourModelSource) | |
Pointer | Clone () const |
void | SetNumberOfIterations (int iterations) |
Set the number of iterations for inserting new interpolated control points. More... | |
virtual void | SetInput (const InputType *input) |
virtual void | SetInput (unsigned int idx, const InputType *input) |
const InputType * | GetInput (void) |
const InputType * | GetInput (unsigned int idx) |
Public Member Functions inherited from mitk::ContourModelSource | |
mitkClassMacro (ContourModelSource, BaseDataSource) | |
Pointer | Clone () const |
mitkBaseDataSourceGetOutputDeclarations itk::DataObject::Pointer | MakeOutput (DataObjectPointerArraySizeType idx) override |
itk::DataObject::Pointer | MakeOutput (const DataObjectIdentifierType &name) override |
Public Member Functions inherited from mitk::BaseDataSource | |
virtual std::vector< std::string > | GetClassHierarchy () const |
virtual const char * | GetClassName () const |
OutputType * | GetOutput () |
const OutputType * | GetOutput () const |
OutputType * | GetOutput (DataObjectPointerArraySizeType idx) |
const OutputType * | GetOutput (DataObjectPointerArraySizeType idx) const |
virtual void | GraftOutput (OutputType *output) |
Graft the specified BaseData onto this BaseDataSource's output. More... | |
virtual void | GraftOutput (const DataObjectIdentifierType &key, OutputType *output) |
virtual void | GraftNthOutput (unsigned int idx, OutputType *output) |
Graft the specified base data object onto this BaseDataSource's idx'th output. More... | |
bool | Updating () const |
Access itk::ProcessObject::m_Updating. More... | |
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from mitk::ContourModelSource | |
static Pointer | New () |
Static Public Member Functions inherited from mitk::BaseDataSource | |
static const char * | GetStaticNameOfClass () |
Protected Member Functions | |
ContourModelSubDivisionFilter () | |
~ContourModelSubDivisionFilter () override | |
void | GenerateOutputInformation () override |
void | GenerateData () override |
Protected Member Functions inherited from mitk::ContourModelSource | |
ContourModelSource () | |
~ContourModelSource () override | |
Protected Member Functions inherited from mitk::BaseDataSource | |
BaseDataSource () | |
~BaseDataSource () override | |
Protected Attributes | |
int | m_InterpolationIterations |
Additional Inherited Members | |
Static Protected Member Functions inherited from mitk::BaseDataSource | |
static Pointer | New () |
This filter interpolates a subdivision curve between control points of the contour. For inserting subpoints Dyn-Levin-Gregory (DLG) interpolation scheme is used. Interpolating a cruve subdivision is done by: F2i = Ci F2i+1 = -1/16Ci-1 + 9/16Ci + 9/16Ci+1 - 1/16Ci+2.
The number of interpolation iterations can be set via SetNumberOfIterations(int) which are 4 by default.
Definition at line 35 of file mitkContourModelSubDivisionFilter.h.
Definition at line 44 of file mitkContourModelSubDivisionFilter.h.
Definition at line 40 of file mitkContourModelSubDivisionFilter.h.
Definition at line 43 of file mitkContourModelSubDivisionFilter.h.
|
protected |
|
overrideprotected |
Pointer mitk::ContourModelSubDivisionFilter::Clone | ( | ) | const |
|
overrideprotected |
|
inlineoverrideprotected |
Definition at line 66 of file mitkContourModelSubDivisionFilter.h.
const InputType* mitk::ContourModelSubDivisionFilter::GetInput | ( | unsigned int | idx | ) |
const InputType* mitk::ContourModelSubDivisionFilter::GetInput | ( | void | ) |
mitk::ContourModelSubDivisionFilter::mitkClassMacro | ( | ContourModelSubDivisionFilter | , |
ContourModelSource | |||
) |
|
static |
|
virtual |
|
virtual |
|
inline |
Set the number of iterations for inserting new interpolated control points.
Definition at line 50 of file mitkContourModelSubDivisionFilter.h.
|
protected |
Definition at line 70 of file mitkContourModelSubDivisionFilter.h.