option "input" i "Input image filename" string required
option "output" o "Output image filename" string required
-option "variance" - "value of the gaussian variance (multiple values=number of image dimension) - default=1.0" double optional multiple
+option "variance" - "value of the gaussian variance (multiple values=number of image dimension) in mm - default=1.0" double optional multiple
typename DiscreteGaussianImageFilterType::Pointer gaussianFilter=DiscreteGaussianImageFilterType::New();
gaussianFilter->SetInput(input);
gaussianFilter->SetVariance(varianceArray);
+ gaussianFilter->SetUseImageSpacing(true);
gaussianFilter->Update();
//std::cout<<"variance value="<<gaussianFilter->GetVariance()<<std::endl;