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

ENH variable name modification in MaskMuParserFunctor for name coherency with CCFunctor.

parent 3144bb47
No related branches found
No related tags found
Loading
......@@ -114,7 +114,7 @@ MaskMuParserFunctor<TInputPixel>::SetNumberOfBands(unsigned int NbOfBands)
// customized data
m_Parser->DefineVar("intensity", &m_Intensity);
m_Parser->DefineVar("spectralangle", &m_SpectralAngle);
m_Parser->DefineVar("spectralAngle", &m_SpectralAngle);
}
/** Set the reference pixel used to compute the "spectralangle" parser variable */
......
......@@ -34,7 +34,7 @@ VectorDataToRoadDescriptionFilter<TVectorData, TOpticalImage>
m_NDVIFeatureFunction->SetExpression("ndvi(b3, b4) > 0.3");
m_SpectralAngleFeatureFunction = ParserConditionFeatureFunctionType::New();
m_SpectralAngleFeatureFunction->SetExpression("spectralangle > 0.15");
m_SpectralAngleFeatureFunction->SetExpression("spectralAngle > 0.15");
//Example for QuickBird images (on a specific image)
typename ParserConditionFeatureFunctionType::PixelType refPixel;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment