ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
itkReplaceFeatureMapNanInfImageFilter.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 itkReplaceFeatureMapNanInfImageFilter_h
19#define itkReplaceFeatureMapNanInfImageFilter_h
20
22#include "itkNumericTraits.h"
25
26// useful filters
29#include "itkMaskImageFilter.h"
31#include "itkMath.h"
32
33#include <vector>
34
35namespace itk
36{
51template <typename TImage>
52class ITK_TEMPLATE_EXPORT ReplaceFeatureMapNanInfImageFilter : public ImageToImageFilter<TImage, TImage>
53{
54public:
55 ITK_DISALLOW_COPY_AND_MOVE(ReplaceFeatureMapNanInfImageFilter);
56
62
64 itkNewMacro(Self);
65
67 itkOverrideGetNameOfClassMacro(ReplaceFeatureMapNanInfImageFilter);
68
69protected:
71 using ImagePointer = typename TImage::Pointer;
72 using RegionType = typename TImage::RegionType;
73 using SizeType = typename TImage::SizeType;
74 using IndexType = typename TImage::IndexType;
75 using PixelType = typename TImage::PixelType;
76
79
83
86
90
91 void
92 GenerateData() override;
93
94 void
95 PrintSelf(std::ostream & os, Indent indent) const override;
96
97private:
99
100}; // end of class
101} // end namespace itk
102
103#ifndef ITK_MANUAL_INSTANTIATION
104# include "itkReplaceFeatureMapNanInfImageFilter.hxx"
105#endif
106
107#endif // itkReplaceFeatureMapNanInfImageFilter_h
Read-only ImageRegionIterator: ImageRegionConstIterator<TImage> behaves as ImageRegionIterator<const ...
Templated n-dimensional image class.
Definition itkImage.h:89
Control indentation during Print() invocation.
Definition itkIndent.h:53
Mask an image with a mask.
Computes the minimum and the maximum intensity values of an image.
MaskImageFilter< InterImageType, InterImageType > MaskImageFilterType
itk::Image< RealType, TImage::ImageDimension > InterImageType
VectorIndexSelectionCastImageFilter< TImage, InterImageType > IndexSelectionFiterType
~ReplaceFeatureMapNanInfImageFilter() override=default
void PrintSelf(std::ostream &os, Indent indent) const override
MinimumMaximumImageFilter< InterImageType > MinMaxImageFilterType
typename NumericTraits< PixelType >::ScalarRealType RealType
itk::ImageRegionConstIterator< InterImageType > InterIteratorType
Implements transparent reference counting.
Extracts the selected index of the vector that is the input pixel type.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....