Converts an Image into an UnstructuredGrid represented by Points. The filter uses a Threshold to extract every pixel, with value higher than the threshold, as point. If no threshold is set, every pixel is extracted as a point.
More...
#include <mitkImageToUnstructuredGridFilter.h>
Converts an Image into an UnstructuredGrid represented by Points. The filter uses a Threshold to extract every pixel, with value higher than the threshold, as point. If no threshold is set, every pixel is extracted as a point.
Definition at line 33 of file mitkImageToUnstructuredGridFilter.h.
◆ ImageToUnstructuredGridFilter()
mitk::ImageToUnstructuredGridFilter::ImageToUnstructuredGridFilter |
( |
| ) |
|
|
protected |
◆ ~ImageToUnstructuredGridFilter()
mitk::ImageToUnstructuredGridFilter::~ImageToUnstructuredGridFilter |
( |
| ) |
|
|
overrideprotected |
◆ Clone()
Pointer mitk::ImageToUnstructuredGridFilter::Clone |
( |
| ) |
const |
◆ ExtractPoints()
template<typename TPixel , unsigned int VImageDimension>
void mitk::ImageToUnstructuredGridFilter::ExtractPoints |
( |
const itk::Image< TPixel, VImageDimension > * |
image | ) |
|
|
protected |
Access method for extracting the points from the input image
◆ GenerateData()
void mitk::ImageToUnstructuredGridFilter::GenerateData |
( |
| ) |
|
|
override |
This method is called by Update().
◆ GenerateOutputInformation()
void mitk::ImageToUnstructuredGridFilter::GenerateOutputInformation |
( |
| ) |
|
|
override |
Initializes the output information
◆ GetInput() [1/2]
mitk::Image* mitk::ImageToUnstructuredGridFilter::GetInput |
( |
void |
| ) |
|
◆ GetInput() [2/2]
const mitk::Image* mitk::ImageToUnstructuredGridFilter::GetInput |
( |
void |
| ) |
const |
Returns a const reference to the input image
◆ GetNumberOfExtractedPoints()
virtual int mitk::ImageToUnstructuredGridFilter::GetNumberOfExtractedPoints |
( |
| ) |
|
|
virtual |
Returns the number of extracted points after edge detection
◆ GetThreshold()
double mitk::ImageToUnstructuredGridFilter::GetThreshold |
( |
| ) |
|
◆ mitkClassMacro()
◆ New()
static Pointer mitk::ImageToUnstructuredGridFilter::New |
( |
| ) |
|
|
static |
◆ SetInput()
virtual void mitk::ImageToUnstructuredGridFilter::SetInput |
( |
const mitk::Image * |
image | ) |
|
|
virtual |
◆ SetThreshold()
void mitk::ImageToUnstructuredGridFilter::SetThreshold |
( |
double |
threshold | ) |
|
Set the threshold for extracting points. Every pixel, which value is higher than this value, will be a point.
◆ m_NumberOfExtractedPoints
int mitk::ImageToUnstructuredGridFilter::m_NumberOfExtractedPoints |
|
protected |
The documentation for this class was generated from the following file: