Medical Imaging Interaction Toolkit
2016.11.0
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) static Pointer New() | |
void | SetSegmentationMask (mitk::Image::Pointer) |
Public Member Functions inherited from mitk::ImageToUnstructuredGridFilter | |
mitkClassMacro (ImageToUnstructuredGridFilter, UnstructuredGridSource) static Pointer New() | |
Pointer | Clone () const |
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) static Pointer New() | |
Pointer | Clone () const |
virtual mitkBaseDataSourceGetOutputDeclarations itk::DataObject::Pointer | MakeOutput (DataObjectPointerArraySizeType idx) override |
virtual 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... | |
Protected Member Functions | |
virtual void | GenerateData () |
virtual void | GenerateOutputInformation () |
FeatureBasedEdgeDetectionFilter () | |
virtual | ~FeatureBasedEdgeDetectionFilter () |
template<typename TPixel , unsigned int VImageDimension> | |
void | ITKThresholding (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 () | |
virtual | ~ImageToUnstructuredGridFilter () |
template<typename TPixel , unsigned int VImageDimension> | |
void | ExtractPoints (const itk::Image< TPixel, VImageDimension > *image) |
Protected Member Functions inherited from mitk::UnstructuredGridSource | |
UnstructuredGridSource () | |
virtual | ~UnstructuredGridSource () |
Protected Member Functions inherited from mitk::BaseDataSource | |
BaseDataSource () | |
virtual | ~BaseDataSource () |
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 Public Member Functions inherited from mitk::BaseDataSource | |
static const char * | GetStaticNameOfClass () |
Static Protected Member Functions inherited from mitk::BaseDataSource | |
static Pointer | New () |
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 35 of file mitkFeatureBasedEdgeDetectionFilter.h.
|
protected |
Constructor
Definition at line 37 of file mitkFeatureBasedEdgeDetectionFilter.cpp.
|
protectedvirtual |
Destructor
Definition at line 44 of file mitkFeatureBasedEdgeDetectionFilter.cpp.
|
protected |
Definition at line 140 of file mitkFeatureBasedEdgeDetectionFilter.cpp.
References mitk::GrabItkImageMemory(), and mitk::New().
|
protectedvirtual |
This method is called by Update().
Reimplemented from mitk::ImageToUnstructuredGridFilter.
Definition at line 48 of file mitkFeatureBasedEdgeDetectionFilter.cpp.
References AccessByItk_1, AccessByItk_3, mitk::MorphologicalOperations::FillHoles(), mitk::ImageToUnstructuredGridFilter::GetInput(), mitk::ProgressBar::GetInstance(), ITKThresholding(), MITK_WARN, mitk::ImageMaskGenerator::New(), mitk::ImageStatisticsCalculator::New(), mitk::UnstructuredGrid::New(), mitk::Image::New(), mitk::BaseDataSource::New(), and mitk::ProgressBar::Progress().
|
protectedvirtual |
Initializes the output information
Reimplemented from mitk::ImageToUnstructuredGridFilter.
Definition at line 197 of file mitkFeatureBasedEdgeDetectionFilter.cpp.
|
protected |
Execute a thresholding filter with the given lower and upper bound
Definition at line 161 of file mitkFeatureBasedEdgeDetectionFilter.cpp.
References mitk::GrabItkImageMemory(), and mitk::New().
mitk::FeatureBasedEdgeDetectionFilter::mitkClassMacro | ( | FeatureBasedEdgeDetectionFilter | , |
ImageToUnstructuredGridFilter | |||
) |
void mitk::FeatureBasedEdgeDetectionFilter::SetSegmentationMask | ( | mitk::Image::Pointer | segmentation | ) |
Sets the segmentation for calculating the statistics within that
Definition at line 192 of file mitkFeatureBasedEdgeDetectionFilter.cpp.
|
protected |
Definition at line 111 of file mitkFeatureBasedEdgeDetectionFilter.cpp.
References mitk::GrabItkImageMemory(), and mitk::New().