Skip to content
Snippets Groups Projects
Commit 7cec950d authored by OTB Bot's avatar OTB Bot
Browse files

STYLE

parent eeb74b05
No related branches found
No related tags found
No related merge requests found
......@@ -33,7 +33,7 @@ namespace otb
*
* It takes the spectral response of an object and the relative spectral
* response of a satellite (one response per band) to compute the satellite spectral bands.
*
*
* There are 2 operating modes:
* - luminance mode (default): integrates the spectral response over each band
* - reflectance mode (needs to call SetReflectanceMode(true)): takes into account the solar irradiance in the integration
......
......@@ -84,9 +84,9 @@ ReduceSpectralResponse<TSpectralResponse , TRSR>
while (pit != pairs.end())
{
totalArea += ((*pit).second)*(*solarIrradiance)((*pit).first);
++pit;
++pit;
}
}
}
while (it != pairs.end() - 1)
{
......@@ -295,7 +295,7 @@ ReduceSpectralResponse<TSpectralResponse , TRSR>
for(typename VectorPairType::const_iterator it = m_ReduceResponse->GetResponse().begin(); it != m_ReduceResponse->GetResponse().end(); ++it)
{
os <<indent << "Band Nb : "<< it - m_ReduceResponse->GetResponse().begin() << ": [" << (*it).first << ","<< (*it).second << "]" << std::endl;
}
}
}
} // end namespace otb
......
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