Commit f7b253fd authored by Cédric Traizet's avatar Cédric Traizet
Browse files

REFAC: remove deprecated parameter noise in SARCalibration

parent 90a9ac81
Pipeline #8422 failed with stages
in 110 minutes and 1 second
......@@ -72,11 +72,6 @@ private:
AddParameter(ParameterType_OutputImage, "out", "Output Image");
SetParameterDescription("out", "Output calibrated image. This image contains the backscatter (sigmaNought) of the input image.");
AddParameter(ParameterType_Bool, "noise", "Disable Noise");
SetParameterDescription("noise", "Flag to disable noise. This parameter is deprecated "
", it has the opposite effect of removenoise, which "
"should be preferred to this parameter.");
AddParameter(ParameterType_Bool, "removenoise", "Remove Noise");
SetParameterDescription("removenoise", "Remove the noise of the input product. The type of noise and the "
"denoising method depends on the input sensor. The following sensors are supported: \n \n"
......@@ -118,12 +113,6 @@ private:
m_CalibrationFilter = CalibrationFilterType::New();
// Deprecated parameter noise: use the parameter only if removenoise has not been set
if (!HasUserValue("removenoise") && HasUserValue("noise"))
SetParameterInt("removenoise", !bool(GetParameterInt("noise")));
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment