Medical Imaging Interaction Toolkit
2016.11.0
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) static Pointer New() | |
virtual DetectionMethod | GetMethod () |
virtual int | GetNumberOfExtractedPoints () |
virtual void | SetMethod (DetectionMethod _arg) |
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 () |
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 () |
ImageToPointCloudFilter () | |
virtual | ~ImageToPointCloudFilter () |
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 | |
Static Public Member Functions inherited from mitk::BaseDataSource | |
static const char * | GetStaticNameOfClass () |
Static Protected Member Functions inherited from mitk::BaseDataSource | |
static Pointer | New () |
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 34 of file mitkImageToPointCloudFilter.h.
typedef itk::Image<double, 3> mitk::ImageToPointCloudFilter::FloatImageType |
Definition at line 52 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 43 of file mitkImageToPointCloudFilter.h.
|
protected |
Constructor
Definition at line 31 of file mitkImageToPointCloudFilter.cpp.
|
protectedvirtual |
Destructor
Definition at line 40 of file mitkImageToPointCloudFilter.cpp.
|
protectedvirtual |
This method is called by Update().
Reimplemented from mitk::ImageToUnstructuredGridFilter.
Definition at line 44 of file mitkImageToPointCloudFilter.cpp.
References AccessByItk_1, mitk::ImageToUnstructuredGridFilter::GetInput(), and MITK_ERROR.
|
protectedvirtual |
Initializes the output information
Reimplemented from mitk::ImageToUnstructuredGridFilter.
Definition at line 163 of file mitkImageToPointCloudFilter.cpp.
|
virtual |
Returns the selected DetectionMethod
|
virtual |
Returns the number of extracted points after edge detection
Reimplemented from mitk::ImageToUnstructuredGridFilter.
mitk::ImageToPointCloudFilter::mitkClassMacro | ( | ImageToPointCloudFilter | , |
ImageToUnstructuredGridFilter | |||
) |
|
virtual |
Sets the DetectionMethod for edge detection and extraction