Medical Imaging Interaction Toolkit
2024.12.99-0da743f6
Medical Imaging Interaction Toolkit
|
The filter extracts the edge pixels of an image as points and stores them in an UnstructuredGrid. Every pixel which grey value is between the mean +- standard deviation * (2 or 3), will be extracted as point. The DetectionMethod can be set to choose if the doubled or tripled standard deviation is used. More...
#include <mitkImageToPointCloudFilter.h>
Public Types | |
enum | DetectionMethod { LAPLACIAN_STD_DEV2, LAPLACIAN_STD_DEV3, LAPLACIAN_STD_DEV4 } |
The method which calculates and extracts the edge pixels/points. For the edge detection the laplacian filter is used and for extraction the standard deviation multiplied with 2, 3 or 4 (depending on selected method) is used. More... | |
typedef itk::Image< double, 3 > | FloatImageType |
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 |
Public Member Functions | |
mitkClassMacro (ImageToPointCloudFilter, ImageToUnstructuredGridFilter) | |
virtual DetectionMethod | GetMethod () |
virtual void | SetMethod (DetectionMethod _arg) |
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 |
ImageToPointCloudFilter () | |
~ImageToPointCloudFilter () override | |
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 | |
Static Protected Member Functions inherited from mitk::BaseDataSource | |
static Pointer | New () |
Protected Attributes inherited from mitk::ImageToUnstructuredGridFilter | |
int | m_NumberOfExtractedPoints |
The filter extracts the edge pixels of an image as points and stores them in an UnstructuredGrid. Every pixel which grey value is between the mean +- standard deviation * (2 or 3), will be extracted as point. The DetectionMethod can be set to choose if the doubled or tripled standard deviation is used.
Definition at line 30 of file mitkImageToPointCloudFilter.h.
typedef itk::Image<double, 3> mitk::ImageToPointCloudFilter::FloatImageType |
Definition at line 48 of file mitkImageToPointCloudFilter.h.
The method which calculates and extracts the edge pixels/points. For the edge detection the laplacian filter is used and for extraction the standard deviation multiplied with 2, 3 or 4 (depending on selected method) is used.
Enumerator | |
---|---|
LAPLACIAN_STD_DEV2 | |
LAPLACIAN_STD_DEV3 | |
LAPLACIAN_STD_DEV4 |
Definition at line 39 of file mitkImageToPointCloudFilter.h.
|
protected |
Constructor
|
overrideprotected |
Destructor
|
overrideprotected |
This method is called by Update().
|
overrideprotected |
Initializes the output information
|
virtual |
Returns the selected DetectionMethod
mitk::ImageToPointCloudFilter::mitkClassMacro | ( | ImageToPointCloudFilter | , |
ImageToUnstructuredGridFilter | |||
) |
|
static |
|
virtual |
Sets the DetectionMethod for edge detection and extraction