Medical Imaging Interaction Toolkit
2023.04.00
Medical Imaging Interaction Toolkit
mitkPadImageFilter.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 mitkPadImageFilter_h
14
#define mitkPadImageFilter_h
15
16
#include "
MitkAlgorithmsExtExports.h
"
17
#include "
mitkCommon.h
"
18
#include "
mitkImageTimeSelector.h
"
19
#include "
mitkImageToImageFilter.h
"
20
21
#include "itkImage.h"
22
23
namespace
mitk
24
{
33
class
MITKALGORITHMSEXT_EXPORT
PadImageFilter
:
public
ImageToImageFilter
34
{
35
public
:
36
mitkClassMacro
(
PadImageFilter
,
ImageToImageFilter
);
37
38
itkFactorylessNewMacro(
Self
);
39
40
itkCloneMacro(
Self
);
41
43
itkSetMacro(PadConstant,
int
);
44
46
itkSetMacro(BinaryFilter,
bool
);
47
49
itkSetMacro(LowerThreshold,
int
);
50
52
itkSetMacro(UpperThreshold,
int
);
53
54
protected
:
55
PadImageFilter
();
56
57
~
PadImageFilter
()
override
;
58
59
void
GenerateData()
override
;
60
61
private
:
62
bool
m_BinaryFilter;
63
int
m_PadConstant, m_LowerThreshold, m_UpperThreshold;
64
};
65
66
}
// namespace mitk
67
68
#endif
mitkImageToImageFilter.h
mitkImageTimeSelector.h
MitkAlgorithmsExtExports.h
MITKALGORITHMSEXT_EXPORT
#define MITKALGORITHMSEXT_EXPORT
Definition:
MitkAlgorithmsExtExports.h:15
mitk
DataCollection - Class to facilitate loading/accessing structured data.
Definition:
RenderingTests.dox:1
mitk::PadImageFilter
PadImageFilter class pads the first input image to the size of the second input image....
Definition:
mitkPadImageFilter.h:33
mitk::BaseDataSource
Superclass of all classes generating some kind of mitk::BaseData.
Definition:
mitkBaseDataSource.h:71
mitkCommon.h
mitkClassMacro
#define mitkClassMacro(className, SuperClassName)
Definition:
mitkCommon.h:36
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
AlgorithmsExt
include
mitkPadImageFilter.h
Generated on Wed May 17 2023 16:26:10 for Medical Imaging Interaction Toolkit by
1.8.17