ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
rtkDPExtractShroudSignalImageFilter.h
Go to the documentation of this file.
1/*=========================================================================
2 *
3 * Copyright RTK Consortium
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
8 *
9 * https://www.apache.org/licenses/LICENSE-2.0.txt
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
16 *
17 *=========================================================================*/
18
19#ifndef rtkDPExtractShroudSignalImageFilter_h
20#define rtkDPExtractShroudSignalImageFilter_h
21
23
24namespace rtk
25{
36
37template <class TInputPixel, class TOutputPixel>
38class ITK_TEMPLATE_EXPORT DPExtractShroudSignalImageFilter
39 : public itk::ImageToImageFilter<itk::Image<TInputPixel, 2>, itk::Image<TOutputPixel, 1>>
40{
41public:
42 ITK_DISALLOW_COPY_AND_MOVE(DPExtractShroudSignalImageFilter);
43
51
53 static constexpr unsigned int InputImageDimension = TInputImage::ImageDimension;
54 static constexpr unsigned int OutputImageDimension = TOutputImage::ImageDimension;
55 static constexpr unsigned int ImageDimension = TOutputImage::ImageDimension;
56
58 itkNewMacro(Self);
59
61 itkOverrideGetNameOfClassMacro(DPExtractShroudSignalImageFilter);
62
64 itkGetMacro(Amplitude, double);
65 itkSetMacro(Amplitude, double);
66
67protected:
70
71 void
73 void
75 void
76 GenerateData() override;
77
78private:
79 double m_Amplitude{ 0. };
80
81}; // end of class
82
83} // end of namespace rtk
84
85#ifndef ITK_MANUAL_INSTANTIATION
86# include "rtkDPExtractShroudSignalImageFilter.hxx"
87#endif
88
89#endif // ! rtkDPExtractShroudSignalImageFilter_h
static constexpr ImageDimensionType ImageDimension
Base class for filters that take an image as input and produce an image as output.
Templated n-dimensional image class.
Definition itkImage.h:89
Implements transparent reference counting.
itk::ImageToImageFilter< TInputImage, TOutputImage > Superclass
~DPExtractShroudSignalImageFilter() override=default
#define itkSetMacro(name, type)