#include <cstdlib>
#include <iostream>
{
}
{
}
int main( int argc, char *argv[])
{
if( argc < 5 )
{
std::cerr << "Missing Parameters " << std::endl;
std::cerr << "Usage: " << argv[0];
std::cerr << " inputImage outputImage lowerSigma upperSigma" << std::endl;
return 1;
}
const double sigma1 = atof(argv[3]);
const double sigma2 = atof(argv[4]);
image = MinusOneToOne(image);
image = DifferenceOfGaussian(image, sigma1, sigma2);
return 0;
}
SITKIO_EXPORT void WriteImage(const Image &image, const std::string &fileName, bool useCompression=false, int compressionLevel=-1)
WriteImage is a procedural interface to the ImageFileWriter. class which is convenient for many image...