Medical Imaging Interaction Toolkit
2023.04.00
Medical Imaging Interaction Toolkit
mitkFeatureBasedEdgeDetectionFilter.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 mitkFeatureBasedEdgeDetectionFilter_h
14
#define mitkFeatureBasedEdgeDetectionFilter_h
15
16
#include <
MitkSegmentationExports.h
>
17
#include <
mitkImageToUnstructuredGridFilter.h
>
18
19
namespace
mitk
20
{
31
class
MITKSEGMENTATION_EXPORT
FeatureBasedEdgeDetectionFilter
:
public
ImageToUnstructuredGridFilter
32
{
33
public
:
34
mitkClassMacro
(
FeatureBasedEdgeDetectionFilter
,
ImageToUnstructuredGridFilter
);
35
itkFactorylessNewMacro(
Self
);
36
38
void
SetSegmentationMask(
mitk::Image::Pointer
);
39
40
protected
:
42
void
GenerateData()
override
;
43
45
void
GenerateOutputInformation()
override
;
46
48
FeatureBasedEdgeDetectionFilter
();
49
51
~
FeatureBasedEdgeDetectionFilter
()
override
;
52
54
template
<
typename
TPixel,
unsigned
int
VImageDimension>
55
void
ITKThresholding(
const
itk::Image<TPixel, VImageDimension> *originalImage,
56
double
lower,
57
double
upper,
58
mitk::Image::Pointer
&result);
59
60
template
<
typename
TPixel,
unsigned
int
VImageDimension>
61
void
ContourSearch(itk::Image<TPixel, VImageDimension> *originalImage,
mitk::Image::Pointer
&result);
62
63
template
<
typename
TPixel,
unsigned
int
VImageDimension>
64
void
ThreadedClosing(itk::Image<TPixel, VImageDimension> *originalImage,
mitk::Image::Pointer
&result);
65
66
private
:
67
mitk::UnstructuredGrid::Pointer
m_PointGrid;
68
70
mitk::Image::Pointer
m_SegmentationMask;
71
};
72
}
73
#endif
mitkImageToUnstructuredGridFilter.h
itk::SmartPointer< Self >
mitk
DataCollection - Class to facilitate loading/accessing structured data.
Definition:
RenderingTests.dox:1
mitk::BaseDataSource
Superclass of all classes generating some kind of mitk::BaseData.
Definition:
mitkBaseDataSource.h:71
MITKSEGMENTATION_EXPORT
#define MITKSEGMENTATION_EXPORT
Definition:
MitkSegmentationExports.h:15
mitkClassMacro
#define mitkClassMacro(className, SuperClassName)
Definition:
mitkCommon.h:36
MitkSegmentationExports.h
mitk::ImageToUnstructuredGridFilter
Converts an Image into an UnstructuredGrid represented by Points. The filter uses a Threshold to extr...
Definition:
mitkImageToUnstructuredGridFilter.h:33
mitk::BaseData::Pointer
itk::SmartPointer< Self > Pointer
Definition:
mitkBaseData.h:46
mitk::FeatureBasedEdgeDetectionFilter
Calculates edges and extracts them as an UnstructuredGrid with respect to the given segmentation.
Definition:
mitkFeatureBasedEdgeDetectionFilter.h:31
src
MITK
Modules
Segmentation
Algorithms
mitkFeatureBasedEdgeDetectionFilter.h
Generated on Wed May 17 2023 16:26:07 for Medical Imaging Interaction Toolkit by
1.8.17