Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
Scores an UnstructuredGrid as good as one matches to the other. More...
#include <mitkPointCloudScoringFilter.h>
Public Types | |
typedef std::pair< int, double > | ScorePair |
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 (PointCloudScoringFilter, UnstructuredGridToUnstructuredGridFilter) static Pointer New() | |
virtual int | GetNumberOfOutpPoints () |
virtual std::vector< ScorePair > | GetFilteredScores () |
Public Member Functions inherited from mitk::UnstructuredGridToUnstructuredGridFilter | |
mitkClassMacro (UnstructuredGridToUnstructuredGridFilter, UnstructuredGridSource) static Pointer New() | |
Pointer | Clone () const |
const mitk::UnstructuredGrid * | GetInput (void) |
virtual const mitk::UnstructuredGrid * | GetInput (unsigned int idx) |
virtual void | SetInput (const UnstructuredGrid *grid) |
virtual void | SetInput (unsigned int idx, const UnstructuredGrid *grid) |
virtual void | CreateOutputsForAllInputs (unsigned int idx) |
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 () override |
virtual void | GenerateOutputInformation () override |
PointCloudScoringFilter () | |
virtual | ~PointCloudScoringFilter () |
Protected Member Functions inherited from mitk::UnstructuredGridToUnstructuredGridFilter | |
UnstructuredGridToUnstructuredGridFilter () | |
virtual | ~UnstructuredGridToUnstructuredGridFilter () |
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 () |
Scores an UnstructuredGrid as good as one matches to the other.
The result UnstructureGrid of the filter are the points where the distance to the closest point of the other UnstructuredGrid is higher than the average distance from all points to their closest neighbours of the other UnstructuredGrid. The second input is the UnstructuredGrid, which you want to score. All Points of the output UnstructuredGrid are from the second input.
Definition at line 37 of file mitkPointCloudScoringFilter.h.
typedef std::pair<int, double> mitk::PointCloudScoringFilter::ScorePair |
Definition at line 40 of file mitkPointCloudScoringFilter.h.
|
protected |
Constructor
Definition at line 29 of file mitkPointCloudScoringFilter.cpp.
|
protectedvirtual |
Destructor
Definition at line 34 of file mitkPointCloudScoringFilter.cpp.
|
overrideprotectedvirtual |
is called by the Update() method
Definition at line 38 of file mitkPointCloudScoringFilter.cpp.
References MITK_ERROR, mitk::UnstructuredGrid::New(), and mitk::New().
|
overrideprotectedvirtual |
Defines the output
Reimplemented from mitk::UnstructuredGridToUnstructuredGridFilter.
Definition at line 183 of file mitkPointCloudScoringFilter.cpp.
|
virtual |
A vector in which the point IDs and their distance to their neighbours is stored
|
virtual |
Number of Points of the scored UnstructuredGrid. These points are far away from their neighbours
mitk::PointCloudScoringFilter::mitkClassMacro | ( | PointCloudScoringFilter | , |
UnstructuredGridToUnstructuredGridFilter | |||
) |