Medical Imaging Interaction Toolkit
2024.06.99-60d9b802
Medical Imaging Interaction Toolkit
|
#include <mitkLabeledImageToSurfaceFilter.h>
Public Types | |
typedef int | LabelType |
typedef std::map< LabelType, unsigned long > | LabelMapType |
typedef std::map< unsigned int, LabelType > | IdxToLabelMapType |
Public Types inherited from mitk::ImageToSurfaceFilter | |
enum | DecimationType { NoDecimation, DecimatePro, QuadricDecimation } |
typedef ImageToSurfaceFilter | Self |
typedef SurfaceSource | Superclass |
typedef itk::SmartPointer< Self > | Pointer |
typedef itk::SmartPointer< const Self > | ConstPointer |
Public Types inherited from mitk::SurfaceSource | |
typedef SurfaceSource | Self |
typedef BaseDataSource | Superclass |
typedef itk::SmartPointer< Self > | Pointer |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef Surface | OutputType |
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 (LabeledImageToSurfaceFilter, ImageToSurfaceFilter) | |
Pointer | Clone () const |
virtual void | SetGenerateAllLabels (bool _arg) |
virtual bool | GetGenerateAllLabels () |
virtual void | GenerateAllLabelsOn () |
virtual void | GenerateAllLabelsOff () |
virtual void | SetLabel (LabelType _arg) |
virtual LabelType | GetLabel () |
virtual void | SetBackgroundLabel (LabelType _arg) |
virtual LabelType | GetBackgroundLabel () |
virtual void | SetGaussianStandardDeviation (double _arg) |
virtual double | GetGaussianStandardDeviation () |
LabelType | GetLabelForNthOutput (const unsigned int &i) |
mitk::ScalarType | GetVolumeForNthOutput (const unsigned int &i) |
mitk::ScalarType | GetVolumeForLabel (const LabelType &label) |
Public Member Functions inherited from mitk::ImageToSurfaceFilter | |
virtual std::vector< std::string > | GetClassHierarchy () const override |
virtual const char * | GetClassName () const |
Pointer | Clone () const |
void | GenerateData () override |
void | GenerateOutputInformation () override |
const mitk::Image * | GetInput (void) |
virtual void | SetInput (const mitk::Image *image) |
void | SetSmoothIteration (int smoothIteration) |
void | SetSmoothRelaxation (float smoothRelaxation) |
virtual void | SetThreshold (ScalarType _arg) |
virtual ScalarType | GetThreshold () const |
virtual void | SetSmooth (bool _arg) |
virtual void | SmoothOn () |
virtual void | SmoothOff () |
virtual bool | GetSmooth () const |
virtual DecimationType | GetDecimate () const |
virtual void | SetDecimate (DecimationType _arg) |
virtual void | SetTargetReduction (float _arg) |
virtual float | GetTargetReduction () const |
template<class T1 , class T2 , class T3 > | |
void | mitkVtkLinearTransformPoint (T1 matrix[4][4], T2 in[3], T3 out[3]) |
Public Member Functions inherited from mitk::SurfaceSource | |
Pointer | Clone () const |
OutputType * | GetOutput () |
const OutputType * | GetOutput () const |
OutputType * | GetOutput (DataObjectPointerArraySizeType idx) |
const OutputType * | GetOutput (DataObjectPointerArraySizeType idx) const |
itk::DataObject::Pointer | MakeOutput (DataObjectPointerArraySizeType idx) override |
itk::DataObject::Pointer | MakeOutput (const DataObjectIdentifierType &name) override |
Public Member Functions inherited from mitk::BaseDataSource | |
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::ImageToSurfaceFilter | |
static const char * | GetStaticNameOfClass () |
static Pointer | New () |
Static Public Member Functions inherited from mitk::SurfaceSource | |
static const char * | GetStaticNameOfClass () |
static Pointer | New () |
Static Public Member Functions inherited from mitk::BaseDataSource | |
static const char * | GetStaticNameOfClass () |
Protected Member Functions | |
void | GenerateData () override |
void | GenerateOutputInformation () override |
virtual void | CreateSurface (int time, vtkImageData *vtkimage, mitk::Surface *surface, LabelType label) |
virtual LabelMapType | GetAvailableLabels () |
LabeledImageToSurfaceFilter () | |
~LabeledImageToSurfaceFilter () override | |
Protected Member Functions inherited from mitk::ImageToSurfaceFilter | |
ImageToSurfaceFilter () | |
~ImageToSurfaceFilter () override | |
void | CreateSurface (int time, vtkImageData *vtkimage, mitk::Surface *surface, const ScalarType threshold) |
Protected Member Functions inherited from mitk::SurfaceSource | |
SurfaceSource () | |
~SurfaceSource () override | |
Protected Member Functions inherited from mitk::BaseDataSource | |
BaseDataSource () | |
~BaseDataSource () override | |
Protected Attributes | |
double | m_GaussianStandardDeviation |
bool | m_GenerateAllLabels |
LabelType | m_Label |
LabelType | m_BackgroundLabel |
LabelMapType | m_AvailableLabels |
IdxToLabelMapType | m_IdxToLabels |
Protected Attributes inherited from mitk::ImageToSurfaceFilter | |
bool | m_Smooth |
DecimationType | m_Decimate |
ScalarType | m_Threshold |
float | m_TargetReduction |
int | m_SmoothIteration |
float | m_SmoothRelaxation |
Additional Inherited Members | |
Static Protected Member Functions inherited from mitk::BaseDataSource | |
static Pointer | New () |
Calculates surfaces for labeled images. If you have a labeled image containing 5 different labeled regions plus the background, this class creates 5 surface representations from the regions. Each surface is assigned to one output of the filter. You can figure out, which label corresponds to which output using the GetLabelForNthOutput() method. If you want to calculate a surface representation only for one specific label, you may call GenerateAllLabelsOff() and set the desired label by SetLabel(label).
Definition at line 34 of file mitkLabeledImageToSurfaceFilter.h.
typedef std::map<unsigned int, LabelType> mitk::LabeledImageToSurfaceFilter::IdxToLabelMapType |
Definition at line 47 of file mitkLabeledImageToSurfaceFilter.h.
typedef std::map<LabelType, unsigned long> mitk::LabeledImageToSurfaceFilter::LabelMapType |
Definition at line 45 of file mitkLabeledImageToSurfaceFilter.h.
typedef int mitk::LabeledImageToSurfaceFilter::LabelType |
Definition at line 41 of file mitkLabeledImageToSurfaceFilter.h.
|
protected |
|
overrideprotected |
Pointer mitk::LabeledImageToSurfaceFilter::Clone | ( | ) | const |
|
protectedvirtual |
|
virtual |
|
virtual |
|
overrideprotected |
|
overrideprotected |
|
protectedvirtual |
|
virtual |
Returns the label of the background. No surface will be generated for this label!
|
virtual |
Returns the standard deviation of the Gaussian filter which will be used when filter is enabled.
|
virtual |
|
virtual |
Returns the label you want to extract. This method only has an effect, if GenerateAllLabels() is set to false
LabelType mitk::LabeledImageToSurfaceFilter::GetLabelForNthOutput | ( | const unsigned int & | i | ) |
Lets you retrieve the label which was used for generating the Nth output of this filter. If GenerateAllLabels() is set to false, this filter only knows about the label provided via SetLabel(). All other labels in the image are not known.
i | the index of the Nth output. |
mitk::ScalarType mitk::LabeledImageToSurfaceFilter::GetVolumeForLabel | ( | const LabelType & | label | ) |
Lets you retrieve the volume in milliliters of the region with the given label. If GenerateAllLabels is set to false, you may only call this method for the label provided using the SetLabel() method.
label | the label of the region you want to get the volume of |
mitk::ScalarType mitk::LabeledImageToSurfaceFilter::GetVolumeForNthOutput | ( | const unsigned int & | i | ) |
Lets you retrieve the volume in milliliters of the region used to generate the Nth output.
i | the index of the Nth output. |
mitk::LabeledImageToSurfaceFilter::mitkClassMacro | ( | LabeledImageToSurfaceFilter | , |
ImageToSurfaceFilter | |||
) |
|
static |
|
virtual |
Set the label of the background. No surface will be generated for this label!
_arg | the label of the background, by default 0 |
|
virtual |
Set standard deviation for Gaussian Filter.
_arg | by default 1.5 |
|
virtual |
Set whether you want to extract all (true) or only a specific label (false)
_arg | true by default |
|
virtual |
Set the label you want to extract. This method only has an effect, if GenerateAllLabels() is set to false
_arg | the label to extract, by default 1 |
|
protected |
Definition at line 139 of file mitkLabeledImageToSurfaceFilter.h.
|
protected |
Definition at line 137 of file mitkLabeledImageToSurfaceFilter.h.
|
protected |
Definition at line 131 of file mitkLabeledImageToSurfaceFilter.h.
|
protected |
Definition at line 133 of file mitkLabeledImageToSurfaceFilter.h.
|
protected |
Definition at line 141 of file mitkLabeledImageToSurfaceFilter.h.
|
protected |
Definition at line 135 of file mitkLabeledImageToSurfaceFilter.h.