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.in to make changes.
25  */
26 
27 #include <memory>
28 
29 #include "sitkBasicFilters.h"
30 #include "sitkImageFilter.h"
31 
32 namespace itk::simple {
33 
43  : public ImageFilter
44  {
45  public:
47 
49  virtual ~TileImageFilter();
50 
51 
55 
58 
59 
60 \
61 
65  SITK_RETURN_SELF_TYPE_HEADER SetLayout ( std::vector<uint32_t> Layout ) { this->m_Layout = std::move(Layout); return *this; }
66 
70  std::vector<uint32_t> GetLayout() const { return this->m_Layout; }\
71 
75  SITK_RETURN_SELF_TYPE_HEADER SetDefaultPixelValue ( double DefaultPixelValue ) { this->m_DefaultPixelValue = DefaultPixelValue; return *this; }
76 
80  double GetDefaultPixelValue() const { return this->m_DefaultPixelValue; }
81 
83  std::string GetName() const { return std::string ("TileImageFilter"); }
84 
86  std::string ToString() const;
87 
89  Image Execute ( const std::vector<Image> &images);
90  Image Execute ( const Image& image1 );
91  Image Execute ( const Image& image1, const Image& image2 );
92  Image Execute ( const Image& image1, const Image& image2, const Image& image3 );
93  Image Execute ( const Image& image1, const Image& image2, const Image& image3, const Image& image4 );
94  Image Execute ( const Image& image1, const Image& image2, const Image& image3, const Image& image4, const Image& image5 );
95 
96 
97 
98 
99  private:
100 
103  using MemberFunctionType = Image (Self::*)( const std::vector<Image> & );
104  template <class TImageType> Image ExecuteInternal ( const std::vector<Image> &images );
105 
106 
107 
109 
110  std::unique_ptr<detail::MemberFunctionFactory<MemberFunctionType> > m_MemberFactory;
111 
112 
113  std::vector<uint32_t> m_Layout{std::vector<uint32_t>(3, 100)};
114 
115  double m_DefaultPixelValue{0.0};
116 
117 
118  };
119 
120 
130  SITKBasicFilters_EXPORT Image Tile ( const std::vector<Image> &images , std::vector<uint32_t> layout = std::vector<uint32_t>(3, 100), double defaultPixelValue = 0.0 );
131 
132  SITKBasicFilters_EXPORT Image Tile ( const Image& image1, std::vector<uint32_t> layout = std::vector<uint32_t>(3, 100), double defaultPixelValue = 0.0 );
133  SITKBasicFilters_EXPORT Image Tile ( const Image& image1, const Image& image2, std::vector<uint32_t> layout = std::vector<uint32_t>(3, 100), double defaultPixelValue = 0.0 );
134  SITKBasicFilters_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 );
135  SITKBasicFilters_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 );
136  SITKBasicFilters_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 );
137 
140 }
141 #endif
itk::simple::Image
The Image class for SimpleITK.
Definition: sitkImage.h:76
sitkBasicFilters.h
itk::simple::detail::MemberFunctionAddressor
Definition: sitkDetail.h:29
itk::simple::TileImageFilter::m_MemberFactory
std::unique_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
Definition: sitkTileImageFilter.h:110
itk::simple::TileImageFilter::GetLayout
std::vector< uint32_t > GetLayout() const
Definition: sitkTileImageFilter.h:70
itk::simple::TileImageFilter::PixelIDTypeList
NonLabelPixelIDTypeList PixelIDTypeList
Definition: sitkTileImageFilter.h:57
itk::simple::TileImageFilter::GetName
std::string GetName() const
Definition: sitkTileImageFilter.h:83
sitkImageFilter.h
itk::simple::Tile
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.
itk::simple::TileImageFilter
Tile multiple input images into a single output image.
Definition: sitkTileImageFilter.h:42
itk::simple::TileImageFilter::GetDefaultPixelValue
double GetDefaultPixelValue() const
Definition: sitkTileImageFilter.h:80
itk::simple::TileImageFilter::SetDefaultPixelValue
Self & SetDefaultPixelValue(double DefaultPixelValue)
Definition: sitkTileImageFilter.h:75
SITKBasicFilters_EXPORT
#define SITKBasicFilters_EXPORT
Definition: sitkBasicFilters.h:52
itk::simple::NonLabelPixelIDTypeList
typelist2::append< BasicPixelIDTypeList, ComplexPixelIDTypeList, VectorPixelIDTypeList >::type NonLabelPixelIDTypeList
Definition: sitkPixelIDTypeLists.h:180
itk::simple::TileImageFilter::SetLayout
Self & SetLayout(std::vector< uint32_t > Layout)
Definition: sitkTileImageFilter.h:65
itk::simple::TileImageFilter::MemberFunctionType
Image(Self::*)(const std::vector< Image > &) MemberFunctionType
Definition: sitkTileImageFilter.h:103
itk::simple::ImageFilter
The base interface for SimpleITK filters that take one input image.
Definition: sitkImageFilter.h:35
itk::Image
Definition: sitkPixelIDTypes.h:28
itk::simple
Definition: sitkAdditionalProcedures.h:28
itk::images
*par Constraints *The filter requires an image with at least two dimensions and a vector *length of at least The theory supports extension to scalar images