ITK  5.0.0
Insight Segmentation and Registration Toolkit
itkLabelUniqueLabelMapFilter.h
Go to the documentation of this file.
1 /*=========================================================================
2  *
3  * Copyright Insight Software 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  * 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 itkLabelUniqueLabelMapFilter_h
19 #define itkLabelUniqueLabelMapFilter_h
20 
22 #include "itkLabelObject.h"
24 #include <set>
25 
26 
27 namespace itk {
45 template<typename TImage>
47  public AttributeUniqueLabelMapFilter<TImage, typename Functor::LabelLabelObjectAccessor< typename TImage::LabelObjectType > >
48 {
49 public:
50  ITK_DISALLOW_COPY_AND_ASSIGN(LabelUniqueLabelMapFilter);
51 
54  using Superclass =
58 
60  using ImageType = TImage;
61  using ImagePointer = typename ImageType::Pointer;
62  using ImageConstPointer = typename ImageType::ConstPointer;
63  using PixelType = typename ImageType::PixelType;
64  using IndexType = typename ImageType::IndexType;
65 
68 
70  static constexpr unsigned int ImageDimension = TImage::ImageDimension;
71 
73  itkNewMacro(Self);
74 
76  itkTypeMacro(LabelUniqueLabelMapFilter,
78 
79 #ifdef ITK_USE_CONCEPT_CHECKING
80  // Begin concept checking
81 /* itkConceptMacro(InputEqualityComparableCheck,
82  (Concept::EqualityComparable<InputImagePixelType>));
83  itkConceptMacro(IntConvertibleToInputCheck,
84  (Concept::Convertible<int, InputImagePixelType>));
85  itkConceptMacro(InputOStreamWritableCheck,
86  (Concept::OStreamWritable<InputImagePixelType>));*/
87  // End concept checking
88 #endif
89 
90 protected:
91  LabelUniqueLabelMapFilter() = default;
92  ~LabelUniqueLabelMapFilter() override = default;
93 }; // end of class
94 
95 } // end namespace itk
96 
97 #endif
Light weight base class for most itk classes.
typename ImageType::IndexType IndexType
typename ImageType::PixelType PixelType
Make sure that the objects are not overlapping.
~LabelUniqueLabelMapFilter() override=default
typename Superclass::AttributeValueType AttributeValueType
typename Superclass::AttributeAccessorType AttributeAccessorType
typename AttributeAccessorType::AttributeValueType AttributeValueType
typename ImageType::Pointer ImagePointer
static constexpr unsigned int ImageDimension
typename ImageType::ConstPointer ImageConstPointer
Make sure that the objects are not overlapping.