Medical Imaging Interaction Toolkit
2024.06.00
Medical Imaging Interaction Toolkit
mitkMultiComponentImageDataComparisonFilter.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 mitkMultiComponentImageDataComparisonFilter_h
14
#define mitkMultiComponentImageDataComparisonFilter_h
15
16
// mitk includes
17
#include "
mitkCompareImageDataFilter.h
"
18
#include "
mitkImageToImageFilter.h
"
19
20
// struct CompareFilterResults;
21
22
namespace
mitk
23
{
29
class
MITKCORE_EXPORT
MultiComponentImageDataComparisonFilter
:
public
ImageToImageFilter
30
{
31
public
:
32
mitkClassMacro
(
MultiComponentImageDataComparisonFilter
,
ImageToImageFilter
);
33
itkSimpleNewMacro(
Self
);
34
37
void
SetTestImage(
const
Image
*_arg);
38
const
Image
*GetTestImage();
39
42
void
SetValidImage(
const
Image
*_arg);
43
const
Image
*GetValidImage();
44
47
itkSetMacro(Tolerance,
double
);
48
itkGetMacro(Tolerance,
double
);
49
52
void
SetCompareFilterResult(
CompareFilterResults
*results);
53
56
CompareFilterResults
*GetCompareFilterResult();
57
66
bool
GetResult(
double
threshold = 0.0f);
67
68
protected
:
69
MultiComponentImageDataComparisonFilter
();
70
71
~
MultiComponentImageDataComparisonFilter
()
override
;
72
73
void
GenerateData()
override
;
74
75
template
<
typename
TPixel>
76
void
CompareMultiComponentImage(
const
Image
*testImage,
const
Image
*validImage);
77
78
double
m_Tolerance
;
79
bool
m_CompareResult
;
80
81
CompareFilterResults
*
m_CompareDetails
;
82
};
83
}
// end namespace mitk
84
85
#endif
mitk::MultiComponentImageDataComparisonFilter::m_CompareResult
bool m_CompareResult
Definition:
mitkMultiComponentImageDataComparisonFilter.h:79
mitkImageToImageFilter.h
mitk::MultiComponentImageDataComparisonFilter::m_Tolerance
double m_Tolerance
Definition:
mitkMultiComponentImageDataComparisonFilter.h:78
mitk::MultiComponentImageDataComparisonFilter::m_CompareDetails
CompareFilterResults * m_CompareDetails
Definition:
mitkMultiComponentImageDataComparisonFilter.h:81
mitk::Image
Image class for storing images.
Definition:
mitkImage.h:69
mitk
Find image slices visible on a given plane.
Definition:
RenderingTests.dox:1
mitk::MultiComponentImageDataComparisonFilter
Filter for comparing two multi channel mitk::Image objects by channel wise by pixel values.
Definition:
mitkMultiComponentImageDataComparisonFilter.h:29
mitk::CompareFilterResults
A simple struct to hold the result of the comparison filter.
Definition:
mitkCompareImageDataFilter.h:28
mitk::BaseDataSource
Superclass of all classes generating some kind of mitk::BaseData.
Definition:
mitkBaseDataSource.h:71
mitkCompareImageDataFilter.h
mitkClassMacro
#define mitkClassMacro(className, SuperClassName)
Definition:
mitkCommon.h:36
MITKCORE_EXPORT
#define MITKCORE_EXPORT
Definition:
MitkCoreExports.h:15
mitk::ImageToImageFilter
Superclass of all classes having one or more Images as input and generating Images as output.
Definition:
mitkImageToImageFilter.h:25
src
MITK
Modules
Core
include
mitkMultiComponentImageDataComparisonFilter.h
Generated on Mon Jun 17 2024 12:43:27 for Medical Imaging Interaction Toolkit by
1.8.17