ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
itkJoinSeriesImageFilter.h
Go to the documentation of this file.
1/*=========================================================================
2 *
3 * Copyright NumFOCUS
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#ifndef itkJoinSeriesImageFilter_h
19#define itkJoinSeriesImageFilter_h
20
22
23namespace itk
24{
50template <typename TInputImage, typename TOutputImage>
51class ITK_TEMPLATE_EXPORT JoinSeriesImageFilter : public ImageToImageFilter<TInputImage, TOutputImage>
52{
53public:
54 ITK_DISALLOW_COPY_AND_MOVE(JoinSeriesImageFilter);
55
61
63 itkNewMacro(Self);
64
66 itkOverrideGetNameOfClassMacro(JoinSeriesImageFilter);
67
69 using typename Superclass::InputImageType;
70 using typename Superclass::OutputImageType;
71 using InputImagePointer = typename InputImageType::Pointer;
72 using OutputImagePointer = typename OutputImageType::Pointer;
73 using InputImageRegionType = typename InputImageType::RegionType;
74 using OutputImageRegionType = typename OutputImageType::RegionType;
75
77 static constexpr unsigned int InputImageDimension = TInputImage::ImageDimension;
78 static constexpr unsigned int OutputImageDimension = TOutputImage::ImageDimension;
79
81 itkSetMacro(Spacing, double);
82 itkGetConstMacro(Spacing, double);
84
86 itkSetMacro(Origin, double);
87 itkGetConstMacro(Origin, double);
89
90 itkConceptMacro(InputConvertibleToOutputCheck,
92
93protected:
95 ~JoinSeriesImageFilter() override = default;
96 void
97 PrintSelf(std::ostream & os, Indent indent) const override;
98
104 void
105 VerifyInputInformation() const override;
106
110 void
112
117 void
119
123 void
124 DynamicThreadedGenerateData(const OutputImageRegionType & outputRegionForThread) override;
125
126
127private:
130 using IndexValueType = unsigned int;
131
132 double m_Spacing{ 1.0 };
133 double m_Origin{ 0.0 };
134};
135} // end namespace itk
136
137#ifndef ITK_MANUAL_INSTANTIATION
138# include "itkJoinSeriesImageFilter.hxx"
139#endif
140
141#endif
TOutputImage OutputImageType
Control indentation during Print() invocation.
Definition itkIndent.h:50
typename InputImageType::Pointer InputImagePointer
void GenerateInputRequestedRegion() override
void GenerateOutputInformation() override
ImageToImageFilter< TInputImage, TOutputImage > Superclass
void DynamicThreadedGenerateData(const OutputImageRegionType &outputRegionForThread) override
typename OutputImageType::Pointer OutputImagePointer
void VerifyInputInformation() const override
static constexpr unsigned int OutputImageDimension
typename OutputImageType::RegionType OutputImageRegionType
void PrintSelf(std::ostream &os, Indent indent) const override
~JoinSeriesImageFilter() override=default
SmartPointer< const Self > ConstPointer
static constexpr unsigned int InputImageDimension
typename InputImageType::RegionType InputImageRegionType
Implements transparent reference counting.
#define itkConceptMacro(name, concept)
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....