Medical Imaging Interaction Toolkit  2023.12.99-4c75e429
Medical Imaging Interaction Toolkit
mitkImageToPointCloudFilter.h
Go to the documentation of this file.
1 /*============================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center (DKFZ)
6 All rights reserved.
7 
8 Use of this source code is governed by a 3-clause BSD license that can be
9 found in the LICENSE file.
10 
11 ============================================================================*/
12 
13 #ifndef mitkImageToPointCloudFilter_h
14 #define mitkImageToPointCloudFilter_h
15 
18 
19 #include <itkCastImageFilter.h>
20 
21 namespace mitk
22 {
31  {
32  public:
40  {
41  LAPLACIAN_STD_DEV2 = 0,
42  LAPLACIAN_STD_DEV3 = 1,
43  LAPLACIAN_STD_DEV4 = 2
44  };
45 
47 
48  itkFactorylessNewMacro(Self);
49 
50  typedef itk::Image<double, 3> FloatImageType;
51 
53  itkGetMacro(Method, DetectionMethod);
54 
56  itkSetMacro(Method, DetectionMethod);
57 
58  protected :
59 
61  void GenerateData() override;
62 
64  void GenerateOutputInformation() override;
65 
68 
70  ~ImageToPointCloudFilter() override;
71 
72  private:
75  template <typename TPixel, unsigned int VImageDimension>
76  void StdDeviations(itk::Image<TPixel, VImageDimension> *image, int amount);
77 
80  mitk::BaseGeometry *m_Geometry;
81 
83  DetectionMethod m_Method;
84  };
85 }
86 #endif
mitkImageToUnstructuredGridFilter.h
mitk::ImageToPointCloudFilter::DetectionMethod
DetectionMethod
The method which calculates and extracts the edge pixels/points. For the edge detection the laplacian...
Definition: mitkImageToPointCloudFilter.h:39
MITKSURFACEINTERPOLATION_EXPORT
#define MITKSURFACEINTERPOLATION_EXPORT
Definition: MitkSurfaceInterpolationExports.h:15
mitk
Find image slices visible on a given plane.
Definition: RenderingTests.dox:1
mitk::ImageToPointCloudFilter
The filter extracts the edge pixels of an image as points and stores them in an UnstructuredGrid....
Definition: mitkImageToPointCloudFilter.h:30
mitk::BaseDataSource
Superclass of all classes generating some kind of mitk::BaseData.
Definition: mitkBaseDataSource.h:71
mitk::BaseGeometry
BaseGeometry Describes the geometry of a data object.
Definition: mitkBaseGeometry.h:94
mitk::ImageToPointCloudFilter::FloatImageType
itk::Image< double, 3 > FloatImageType
Definition: mitkImageToPointCloudFilter.h:48
MitkSurfaceInterpolationExports.h
mitkClassMacro
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:36
mitk::ImageToUnstructuredGridFilter
Converts an Image into an UnstructuredGrid represented by Points. The filter uses a Threshold to extr...
Definition: mitkImageToUnstructuredGridFilter.h:33