Medical Imaging Interaction Toolkit  2025.12.02
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 
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
#define MITKSURFACEINTERPOLATION_EXPORT
BaseGeometry Describes the geometry of a data object.
The filter extracts the edge pixels of an image as points and stores them in an UnstructuredGrid....
mitkClassMacro(ImageToPointCloudFilter, ImageToUnstructuredGridFilter)
void GenerateOutputInformation() override
DetectionMethod
The method which calculates and extracts the edge pixels/points. For the edge detection the laplacian...
Converts an Image into an UnstructuredGrid represented by Points. The filter uses a Threshold to extr...
Find image slices visible on a given plane.