SimpleITK  1.3.0.dev466
sitkAdditionalProcedures.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 sitkAdditionalProcedures_h
19 #define sitkAdditionalProcedures_h
20 
21 
22 #include "sitkBasicFilters.h"
23 #include "sitkImage.h"
24 #include "sitkTransform.h"
25 #include "sitkInterpolator.h"
27 
28 namespace itk {
29 namespace simple {
30 
31 
48  Transform transform = itk::simple::Transform(),
50  double defaultPixelValue = 0.0,
51  PixelIDValueEnum outputPixelType = sitkUnknown,
52  bool useNearestNeighborExtrapolator = false);
53 
55  const Image& referenceImage,
56  Transform transform = itk::simple::Transform(),
58  double defaultPixelValue = 0.0,
59  PixelIDValueEnum outputPixelType = sitkUnknown,
60  bool useNearestNeighborExtrapolator = false);
61 
63  std::vector<uint32_t> size,
64  Transform transform = itk::simple::Transform(),
66  std::vector<double> outputOrigin = std::vector<double>(3, 0.0),
67  std::vector<double> outputSpacing = std::vector<double>(3, 1.0),
68  std::vector<double> outputDirection = std::vector<double>(),
69  double defaultPixelValue = 0.0,
70  PixelIDValueEnum outputPixelType = sitkUnknown,
71  bool useNearestNeighborExtrapolator = false);
85  double kernelBandwidthSigma = 400.0,
86  uint32_t patchRadius = 4u,
87  uint32_t numberOfIterations = 1u,
88  uint32_t numberOfSamplePatches = 200u,
89  double sampleVariance = 400.0,
90  double noiseSigma = 0.0,
91  double noiseModelFidelityWeight = 0.0 );
92 
93 // Disable for certain wrapped languages due to overload shadowing
94 #if !defined(SWIGLUA)
95 
97  double kernelBandwidthSigma = 400.0,
98  uint32_t patchRadius = 4u,
99  uint32_t numberOfIterations = 1u,
100  uint32_t numberOfSamplePatches = 200u,
101  double sampleVariance = 400.0);
102 #endif
103 
104 
117  double variance,
118  unsigned int maximumKernelWidth = 32u,
119  double maximumError = 0.01,
120  bool useImageSpacing = true );
121 
122 
133  double sigma,
134  bool normalizeAcrossScale = false );
135 
136 }
137 }
138 #endif
N-D linear interpolation.
#define SITKBasicFilters_EXPORT
PixelIDValueEnum
Enumerated values of pixelIDs.
Image DiscreteGaussian(const Image &image1, double variance, unsigned int maximumKernelWidth=32u, double maximumError=0.01, bool useImageSpacing=true)
Blurs an image by separable convolution with discrete gaussian kernels. This filter performs Gaussian...
A simplified wrapper around a variety of ITK transforms.
Definition: sitkTransform.h:84
Image SmoothingRecursiveGaussian(const Image &image1, double sigma, bool normalizeAcrossScale=false)
Computes the smoothing of an image by convolution with the Gaussian kernels implemented as IIR filter...
::uint32_t uint32_t
The Image class for SimpleITK.
Definition: sitkImage.h:78
Image PatchBasedDenoising(const Image &image1, itk::simple::PatchBasedDenoisingImageFilter::NoiseModelType noiseModel, double kernelBandwidthSigma=400.0, uint32_t patchRadius=4u, uint32_t numberOfIterations=1u, uint32_t numberOfSamplePatches=200u, double sampleVariance=400.0, double noiseSigma=0.0, double noiseModelFidelityWeight=0.0)
itk::simple::PatchBasedDenoisingImageFilter Procedural Interface
Image Resample(const Image &image1, Transform transform=itk::simple::Transform(), InterpolatorEnum interpolator=itk::simple::sitkLinear, double defaultPixelValue=0.0, PixelIDValueEnum outputPixelType=sitkUnknown, bool useNearestNeighborExtrapolator=false)
itk::simple::ResampleImageFilter Procedural Interface