Skip to content
Snippets Groups Projects
Commit cf21975a authored by Julien Michel's avatar Julien Michel
Browse files

Merge branch 'cli_long_help' of https://git.orfeo-toolbox.org/git/otb into cli_long_help

parents 5dcce21b 093a8abb
No related branches found
No related tags found
No related merge requests found
......@@ -275,13 +275,13 @@ Here are a few of these functionalities:
otbcli_BandMath -il image1_epipolar.tif
-out image1_epipolar_mask.tif
-exp "if(im1b1<=0,0,255)"
-exp "im1b1<=0 ? 0 : 255"
::
otbcli_BandMath -il image2_epipolar.tif
-out image2_epipolar_mask.tif
-exp "if(im1b1<=0,0,255)"
-exp "im1b1<=0 ? 0 : 255"
- -mask.variancet: The block matching algorithm has difficulties to
find matches on uniform areas. We can use the variance threshold to
......@@ -342,7 +342,7 @@ to their optimal metric value:
otbcli_BandMath -il disparity_map_ncc.tif
-out thres_hdisparity.tif uint8
-exp "if(im1b3>0.9,255,0)"
-exp "im1b3>0.9 ? 255 : 0"
Then, we concatenate thresholded disparities using the
*ConcatenateImages*:
......
......@@ -377,15 +377,14 @@ OutputProcessXMLParameter::ParseGroup(const std::string& group)
}
}
m_Node->LinkEndChild(n_Parameter);
// dig into Choice parameter
if (type == ParameterType_Choice)
{
std::string choiceGroup(key);
choiceGroup += '.';
choiceGroup += value;
this->ParseGroup(choiceGroup);
}
}
// dig into Choice parameter
if (type == ParameterType_Choice)
{
std::string choiceGroup(key);
choiceGroup += '.';
choiceGroup += m_Appli->GetParameterString(key);
this->ParseGroup(choiceGroup);
}
}
}
......
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