// The muParser library offers also the possibility to extended existing built-in functions. For example,
// you can use the OTB expression "ndvi(b3,b4)" with the filter. It will return the same result.
//
// Software Guide : EndLatex
// Software Guide : BeginLatex
//
// We can now plug the pipeline and run it.
...
...
@@ -188,14 +170,21 @@ int main( int argc, char* argv[])
writer->Update();
// Software Guide : EndCodeSnippet
// Software Guide : BeginLatex
//
// The muParser library offers also the possibility to extended existing built-in functions. For example,
// you can use the OTB expression "ndvi(b3,b4)" with the filter. The mathematical expression would be in this case \textit{if($ndvi(b3,b4)>0.4$,255,0)}. It will return the same result.
//
// Software Guide : EndLatex
// Software Guide : BeginLatex
//
// Figure~\ref{fig:BandMathImageFilter} shows the result of the threshold over the NDVI indice