using System;
namespace itk.simple.examples {
class SimpleGaussian {
static void Main(string[] args) {
try {
if (args.Length < 3) {
Console.WriteLine("Usage: SimpleGaussian <input> <sigma> <output>");
return;
}
gaussian.
SetSigma(Double.Parse(args[1]));
} catch (Exception ex) {
Console.WriteLine(ex);
}
}
}
}
A hybrid cast image filter to convert images to other types of images.
Self & SetOutputPixelType(PixelIDValueEnum pixelID)
Image Execute(const Image &)
Read an image file and return a SimpleITK Image.
Self & SetFileName(const PathType &fn)
Write out a SimpleITK image to the specified file location.
Self & SetFileName(const PathType &fileName)
Self & Execute(const Image &)
The Image class for SimpleITK.
PixelIDValueEnum GetPixelID() const
Computes the smoothing of an image by convolution with the Gaussian kernels implemented as IIR filter...
Image Execute(Image &&image1)
Self & SetSigma(std::vector< double > Sigma)