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.
Image Execute(const Image &)
void SetOutputPixelType(PixelIDValueEnum pixelID)
Read an image file and return a SimpleITK Image.
void SetFileName(const PathType &fn)
Write out a SimpleITK image to the specified file location.
void Execute(const Image &)
void SetFileName(const PathType &fileName)
The Image class for SimpleITK.
PixelIDValueEnum GetPixelID() const
Computes the smoothing of an image by convolution with the Gaussian kernels implemented as IIR filter...
void SetSigma(std::vector< double > Sigma)
Image Execute(Image &&image1)