ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
rtkSeparableQuadraticSurrogateRegularizationImageFilter.h
Go to the documentation of this file.
1/*=========================================================================
2 *
3 * Copyright RTK 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 * 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
19#ifndef rtkSeparableQuadraticSurrogateRegularizationImageFilter_h
20#define rtkSeparableQuadraticSurrogateRegularizationImageFilter_h
21
25
26namespace rtk
27{
28
42
43template <typename TImage>
45 : public itk::ImageToImageFilter<TImage, TImage>
46{
47public:
49
54
56 itkNewMacro(Self);
57
60
62 itkSetMacro(Radius, typename TImage::RegionType::SizeType);
63 itkGetMacro(Radius, typename TImage::RegionType::SizeType);
64
66 itkSetMacro(RegularizationWeights, typename TImage::PixelType);
67 itkGetMacro(RegularizationWeights, typename TImage::PixelType);
68
69protected:
72
78
80 void
81 DynamicThreadedGenerateData(const typename TImage::RegionType & outputRegionForThread) override;
82 void
84
86 typename TImage::PixelType
87 GreenPriorFirstDerivative(typename TImage::PixelType pix);
88 typename TImage::PixelType
89 GreenPriorSecondDerivative(typename TImage::PixelType pix);
90
92 typename TImage::RegionType::SizeType m_Radius;
95 typename TImage::PixelType m_RegularizationWeights;
96};
97} // namespace rtk
98
99
100#ifndef ITK_MANUAL_INSTANTIATION
101# include "rtkSeparableQuadraticSurrogateRegularizationImageFilter.hxx"
102#endif
103
104#endif
Base class for filters that take an image as input and produce an image as output.
Traits for a pixel that define the dimension and component type.
DataObjectPointerArray::size_type DataObjectPointerArraySizeType
DataObject::Pointer DataObjectPointer
DataObject::DataObjectIdentifierType DataObjectIdentifierType
Implements transparent reference counting.
void DynamicThreadedGenerateData(const typename TImage::RegionType &outputRegionForThread) override
TImage::PixelType GreenPriorSecondDerivative(typename TImage::PixelType pix)
TImage::PixelType GreenPriorFirstDerivative(typename TImage::PixelType pix)
itk::ProcessObject::DataObjectPointer MakeOutput(itk::ProcessObject::DataObjectPointerArraySizeType idx) override
itk::ProcessObject::DataObjectPointer MakeOutput(const itk::ProcessObject::DataObjectIdentifierType &) override
#define itkSetMacro(name, type)