SimpleITK  
sitkTileImageFilter.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* http://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 sitkTileImageFilter_h
19#define sitkTileImageFilter_h
20
21/*
22 * WARNING: DO NOT EDIT THIS FILE!
23 * THIS FILE IS AUTOMATICALLY GENERATED BY THE SIMPLEITK BUILD PROCESS.
24 * Please look at sitkMultiInputImageFilterTemplate.h.jinja to make changes.
25 */
26
27#include <memory>
28
29#include "sitkBasicFilters.h"
30#include "sitkImageFilter.h"
32
33namespace itk::simple {
34
50public:
52
55
59
62
63
64
65
66
71 void
72 SetLayout(std::vector<uint32_t> Layout )
73 { this->m_Layout = std::move(Layout); }
74
78 std::vector<uint32_t>
79 GetLayout() const { return this->m_Layout; }
80
81
85 void
86 SetDefaultPixelValue(double DefaultPixelValue )
87 { this->m_DefaultPixelValue = DefaultPixelValue; }
88
91 double
92 GetDefaultPixelValue() const { return this->m_DefaultPixelValue; }
93
94
96 std::string GetName() const { return std::string("TileImageFilter"); }
97
99 std::string ToString() const;
100
102 Image Execute(const std::vector<Image> &images);
103
104 Image Execute(const Image& image1);
105
106 Image Execute(const Image& image1, const Image& image2);
107
108 Image Execute(const Image& image1, const Image& image2, const Image& image3);
109
110 Image Execute(const Image& image1, const Image& image2, const Image& image3, const Image& image4);
111
112 Image Execute(const Image& image1, const Image& image2, const Image& image3, const Image& image4, const Image& image5);
113
114
115
116
117private:
118
120 using MemberFunctionType = Image (Self::*)(const std::vector<Image> &);
121 template <class TImageType> Image ExecuteInternal(const std::vector<Image> &images);
122
123
124
125
128
129
130 std::vector<uint32_t> m_Layout{ std::vector<uint32_t>(3, 100) };
131
132 double m_DefaultPixelValue{ 0.0 };
133
134
135
136
137
138
139
140};
141
142
151SITKBasicFilters_EXPORT Image Tile(const std::vector<Image> &images, std::vector<uint32_t> layout = std::vector<uint32_t>(3, 100), double defaultPixelValue = 0.0);
152
153SITKBasicFilters_EXPORT Image Tile(const Image& image1, std::vector<uint32_t> layout = std::vector<uint32_t>(3, 100), double defaultPixelValue = 0.0);
154
155SITKBasicFilters_EXPORT Image Tile(const Image& image1, const Image& image2, std::vector<uint32_t> layout = std::vector<uint32_t>(3, 100), double defaultPixelValue = 0.0);
156
157SITKBasicFilters_EXPORT Image Tile(const Image& image1, const Image& image2, const Image& image3, std::vector<uint32_t> layout = std::vector<uint32_t>(3, 100), double defaultPixelValue = 0.0);
158
159SITKBasicFilters_EXPORT Image Tile(const Image& image1, const Image& image2, const Image& image3, const Image& image4, std::vector<uint32_t> layout = std::vector<uint32_t>(3, 100), double defaultPixelValue = 0.0);
160
161SITKBasicFilters_EXPORT Image Tile(const Image& image1, const Image& image2, const Image& image3, const Image& image4, const Image& image5, std::vector<uint32_t> layout = std::vector<uint32_t>(3, 100), double defaultPixelValue = 0.0);
162
164
165}
166#endif
The Image class for SimpleITK.
Definition sitkImage.h:77
std::string ToString() const
Image Execute(const Image &image1, const Image &image2, const Image &image3)
Image ExecuteInternal(const std::vector< Image > &images)
void SetDefaultPixelValue(double DefaultPixelValue)
Image Execute(const Image &image1, const Image &image2)
Image Execute(const Image &image1, const Image &image2, const Image &image3, const Image &image4, const Image &image5)
std::vector< uint32_t > GetLayout() const
Image Execute(const std::vector< Image > &images)
void SetLayout(std::vector< uint32_t > Layout)
std::vector< uint32_t > m_Layout
static const detail::MemberFunctionFactory< MemberFunctionType > & GetMemberFunctionFactory()
Image Execute(const Image &image1)
Image(Self::*)(const std::vector< Image > &) MemberFunctionType
Image Execute(const Image &image1, const Image &image2, const Image &image3, const Image &image4)
NonLabelPixelIDTypeList PixelIDTypeList
A class used to instantiate and generate function object to templated member functions.
typelist2::append< BasicPixelIDTypeList, ComplexPixelIDTypeList, VectorPixelIDTypeList >::type NonLabelPixelIDTypeList
Image Tile(const std::vector< Image > &images, std::vector< uint32_t > layout=std::vector< uint32_t >(3, 100), double defaultPixelValue=0.0)
Tile multiple input images into a single output image.
#define SITKBasicFilters_EXPORT