Skip to content
Snippets Groups Projects
Commit a12c6545 authored by Emmanuel Christophe's avatar Emmanuel Christophe
Browse files

STYLE: replace tab by spaces

parent 7b041a13
No related branches found
No related tags found
No related merge requests found
......@@ -108,12 +108,12 @@ ReflectanceToSurfaceReflectanceImageFilter<TInputImage,TOutputImage>
if(ffvfOK)
functionValues->SetFilterFunctionValues(m_FilterFunctionCoef[i]);
else // if no ffvf set, compute the step to be sure that the valueswavelength are between min and max and 1 as coef
{
functionValues->SetMinSpectralValue(imageMetadataInterface->GetFirstWavelengths(dict)[i]);
functionValues->SetMaxSpectralValue(imageMetadataInterface->GetLastWavelengths(dict)[i]);
functionValues->SetUserStep( functionValues->GetMaxSpectralValue()-functionValues->GetMinSpectralValue()/2. );
}
else // if no ffvf set, compute the step to be sure that the valueswavelength are between min and max and 1 as coef
{
functionValues->SetMinSpectralValue(imageMetadataInterface->GetFirstWavelengths(dict)[i]);
functionValues->SetMaxSpectralValue(imageMetadataInterface->GetLastWavelengths(dict)[i]);
functionValues->SetUserStep( functionValues->GetMaxSpectralValue()-functionValues->GetMinSpectralValue()/2. );
}
m_CorrectionParameters->SetWavelenghtSpectralBandWithIndex(i, functionValues);
}
......
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