Skip to content
Snippets Groups Projects
Commit 1fe301fe authored by Jonathan Guinet's avatar Jonathan Guinet
Browse files

DOC: Smoothing application doc update.

parent b0aec2b2
Branches
Tags
No related merge requests found
...@@ -57,6 +57,16 @@ private: ...@@ -57,6 +57,16 @@ private:
{ {
SetName("Smoothing"); SetName("Smoothing");
SetDescription("Apply a smoothing filter to an image"); SetDescription("Apply a smoothing filter to an image");
SetDocName("Smoothing Application");
SetDocLongDescription("This application applies smoothing filter to an image."
" Either gaussian, mean, or anisotropic diffusion are available.");
SetDocLimitations("None");
SetDocAuthors("OTB-Team");
SetDocSeeAlso(" ");
SetDocCLExample("otbApplicationLauncherCommandLine Smoothing ${OTB-BIN}/bin"
" --in ${OTB-DATA}/Input/poupees.tif --out smoothedImage.tif --type mean");
AddDocTag("Filtering");
} }
virtual ~Smoothing() virtual ~Smoothing()
...@@ -66,16 +76,18 @@ private: ...@@ -66,16 +76,18 @@ private:
void DoCreateParameters() void DoCreateParameters()
{ {
AddParameter(ParameterType_InputImage, "in", "Input Image"); AddParameter(ParameterType_InputImage, "in", "Input Image");
SetParameterDescription("in", "Input image to filter.");
AddParameter(ParameterType_OutputImage, "out", "Output Image"); AddParameter(ParameterType_OutputImage, "out", "Output Image");
SetParameterDescription("out", "filtered image.");
AddParameter(ParameterType_Choice, "type", "Smoothing Type"); AddParameter(ParameterType_Choice, "type", "Smoothing Type");
SetParameterDescription("type", "smoothing kernel to apply : mean, gaussian, anisotropric diffusion.");
AddChoice("type.mean", "Mean"); AddChoice("type.mean", "Mean");
AddParameter(ParameterType_Radius, "type.mean.radius", "Radius"); AddParameter(ParameterType_Radius, "type.mean.radius", "Radius");
SetParameterInt("type.mean.radius", 2); SetParameterInt("type.mean.radius", 2);
AddChoice("type.gaussian", "Gaussian"); AddChoice("type.gaussian", "Gaussian");
AddParameter(ParameterType_Radius, "type.gaussian.radius", "Radius"); AddParameter(ParameterType_Radius, "type.gaussian.radius", "Radius");
SetParameterInt("type.gaussian.radius", 2); SetParameterInt("type.gaussian.radius", 2);
AddChoice("type.anidif", "Anisotropic Diffusion"); AddChoice("type.anidif", "Anisotropic Diffusion");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment