ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
rtkAmsterdamShroudImageFilter.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 rtkAmsterdamShroudImageFilter_h
20#define rtkAmsterdamShroudImageFilter_h
21
24#include <itkCropImageFilter.h>
32
33namespace rtk
34{
35
80template <class TInputImage>
81class ITK_TEMPLATE_EXPORT AmsterdamShroudImageFilter
82 : public itk::ImageToImageFilter<TInputImage, itk::Image<double, TInputImage::ImageDimension - 1>>
83{
84public:
85 ITK_DISALLOW_COPY_AND_MOVE(AmsterdamShroudImageFilter);
86
89 using Superclass = itk::ImageToImageFilter<TInputImage, itk::Image<double, TInputImage::ImageDimension - 1>>;
92
94 using TOutputImage = itk::Image<double, TInputImage::ImageDimension - 1>;
98
100 static constexpr unsigned int InputImageDimension = TInputImage::ImageDimension;
101 static constexpr unsigned int OutputImageDimension = TOutputImage::ImageDimension;
102 static constexpr unsigned int ImageDimension = TOutputImage::ImageDimension;
103
105 itkNewMacro(Self);
106
112 itkGetMacro(UnsharpMaskSize, unsigned int);
113 itkSetMacro(UnsharpMaskSize, unsigned int);
114
116 itkGetModifiableObjectMacro(Geometry, GeometryType);
117 itkSetObjectMacro(Geometry, GeometryType);
118
122 itkGetMacro(Corner1, PointType);
124 itkGetMacro(Corner2, PointType);
126
128 itkOverrideGetNameOfClassMacro(AmsterdamShroudImageFilter);
129
130protected:
132 ~AmsterdamShroudImageFilter() override = default;
133
134 void
136 void
138 void
140
143 void
144 GenerateData() override;
145
148 virtual void
150
151private:
159
167 unsigned int m_UnsharpMaskSize{ 17 };
171}; // end of class
172
173} // end namespace rtk
174
175#ifndef ITK_MANUAL_INSTANTIATION
176# include "rtkAmsterdamShroudImageFilter.hxx"
177#endif
178
179#endif
Convolve a given image with an arbitrary image kernel.
static constexpr ImageDimensionType ImageDimension
Base class for filters that take an image as input and produce an image as output.
Templated n-dimensional image class.
Definition itkImage.h:89
Pixel-wise multiplication of two images.
Permutes the image axes according to a user specified order.
A templated class holding a geometric point in n-Dimensional space.
Definition itkPoint.h:54
Base class for computing IIR convolution with an approximation of a Gaussian kernel.
Implements transparent reference counting.
Pixel-wise subtraction of two images.
Set image values to a user-specified value if they are below, above, or outside threshold values.
virtual void CropOutsideProjectedBox()
typename GeometryType::Pointer GeometryPointer
itk::ImageToImageFilter< TInputImage, itk::Image< double, TInputImage::ImageDimension - 1 > > Superclass
itk::ConvolutionImageFilter< TOutputImage, TOutputImage > ConvolutionType
itk::SmartPointer< const Self > ConstPointer
rtk::ThreeDCircularProjectionGeometry GeometryType
itk::PermuteAxesImageFilter< TOutputImage > PermuteType
itk::ThresholdImageFilter< TInputImage > ThresholdType
static constexpr unsigned int ImageDimension
static constexpr unsigned int OutputImageDimension
itk::RecursiveGaussianImageFilter< TInputImage, TInputImage > DerivativeType
void GenerateOutputInformation() override
~AmsterdamShroudImageFilter() override=default
void GenerateInputRequestedRegion() override
itk::MultiplyImageFilter< TInputImage, TInputImage, TInputImage > NegativeType
itk::SubtractImageFilter< TOutputImage, TOutputImage > SubtractType
itk::Image< double, TInputImage::ImageDimension - 1 > TOutputImage
itk::SumProjectionImageFilter< TInputImage, TOutputImage > SumType
static constexpr unsigned int InputImageDimension
Projection geometry for a source and a 2-D flat panel.
#define itkSetMacro(name, type)