Skip to content
Snippets Groups Projects
Commit 7fbd8295 authored by Guillaume Pasero's avatar Guillaume Pasero
Browse files

BUG: Mantis-1328: add fill value parameter in Superimpose

parent 23129321
No related branches found
No related tags found
No related merge requests found
......@@ -106,6 +106,11 @@ private:
SetDefaultParameterFloat("lms", 4.);
MandatoryOff("lms");
AddParameter(ParameterType_Float, "fv", "Fill Value");
SetParameterDescription("fv","Fill value for area outside the reprojected image");
SetDefaultParameterFloat("fv", 0.);
MandatoryOff("fv");
AddParameter(ParameterType_OutputImage, "out", "Output image");
SetParameterDescription("out","Output reprojected image.");
......@@ -210,8 +215,8 @@ private:
FloatVectorImageType::PixelType defaultValue;
itk::NumericTraits<FloatVectorImageType::PixelType>::SetLength(defaultValue, movingImage->GetNumberOfComponentsPerPixel());
defaultValue.Fill(GetParameterFloat("fv"));
if(GetParameterString("mode")=="default")
{
if(IsParameterEnabled("lms"))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment