Medical Imaging Interaction Toolkit
2023.12.00
Medical Imaging Interaction Toolkit
|
Calculates edges and extracts them as an UnstructuredGrid with respect to the given segmentation. More...
#include <mitkFeatureBasedEdgeDetectionFilter.h>
Public Member Functions | |
mitkClassMacro (FeatureBasedEdgeDetectionFilter, ImageToUnstructuredGridFilter) | |
void | SetSegmentationMask (mitk::Image::Pointer) |
Public Member Functions inherited from mitk::ImageToUnstructuredGridFilter | |
mitkClassMacro (ImageToUnstructuredGridFilter, UnstructuredGridSource) | |
Pointer | Clone () const |
void | GenerateData () override |
void | GenerateOutputInformation () override |
const mitk::Image * | GetInput (void) const |
mitk::Image * | GetInput (void) |
virtual void | SetInput (const mitk::Image *image) |
void | SetThreshold (double threshold) |
double | GetThreshold () |
virtual int | GetNumberOfExtractedPoints () |
Public Member Functions inherited from mitk::UnstructuredGridSource | |
mitkClassMacro (UnstructuredGridSource, 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::ImageToUnstructuredGridFilter | |
static Pointer | New () |
Static Public Member Functions inherited from mitk::UnstructuredGridSource | |
static Pointer | New () |
Static Public Member Functions inherited from mitk::BaseDataSource | |
static const char * | GetStaticNameOfClass () |
Protected Member Functions | |
void | GenerateData () override |
void | GenerateOutputInformation () override |
FeatureBasedEdgeDetectionFilter () | |
~FeatureBasedEdgeDetectionFilter () override | |
template<typename TPixel , unsigned int VImageDimension> | |
void | ITKThresholding (const itk::Image< TPixel, VImageDimension > *originalImage, double lower, double upper, mitk::Image::Pointer &result) |
template<typename TPixel , unsigned int VImageDimension> | |
void | ContourSearch (itk::Image< TPixel, VImageDimension > *originalImage, mitk::Image::Pointer &result) |
template<typename TPixel , unsigned int VImageDimension> | |
void | ThreadedClosing (itk::Image< TPixel, VImageDimension > *originalImage, mitk::Image::Pointer &result) |
Protected Member Functions inherited from mitk::ImageToUnstructuredGridFilter | |
ImageToUnstructuredGridFilter () | |
~ImageToUnstructuredGridFilter () override | |
template<typename TPixel , unsigned int VImageDimension> | |
void | ExtractPoints (const itk::Image< TPixel, VImageDimension > *image) |
Protected Member Functions inherited from mitk::UnstructuredGridSource | |
UnstructuredGridSource () | |
~UnstructuredGridSource () override | |
Protected Member Functions inherited from mitk::BaseDataSource | |
BaseDataSource () | |
~BaseDataSource () override | |
Additional Inherited Members | |
Public Types inherited from mitk::UnstructuredGridSource | |
typedef mitk::UnstructuredGrid | 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 |
Static Protected Member Functions inherited from mitk::BaseDataSource | |
static Pointer | New () |
Protected Attributes inherited from mitk::ImageToUnstructuredGridFilter | |
int | m_NumberOfExtractedPoints |
Calculates edges and extracts them as an UnstructuredGrid with respect to the given segmentation.
At first the statistic of the grey values within the segmentation is calculated. Based on this statistic a thresholding is executed. The thresholded image will be processed by morphological filters. The resulting image will be used for masking the input image. The masked image is used as input for the ImageToPointCloudFilter, which output is an UnstructuredGrid.
Definition at line 31 of file mitkFeatureBasedEdgeDetectionFilter.h.
|
protected |
Constructor
|
overrideprotected |
Destructor
|
protected |
|
overrideprotected |
This method is called by Update().
|
overrideprotected |
Initializes the output information
|
protected |
Execute a thresholding filter with the given lower and upper bound
mitk::FeatureBasedEdgeDetectionFilter::mitkClassMacro | ( | FeatureBasedEdgeDetectionFilter | , |
ImageToUnstructuredGridFilter | |||
) |
|
static |
void mitk::FeatureBasedEdgeDetectionFilter::SetSegmentationMask | ( | mitk::Image::Pointer | ) |
Sets the segmentation for calculating the statistics within that
|
protected |