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

STYLE

parent 10eae993
Branches
Tags
No related merge requests found
......@@ -256,14 +256,14 @@ namespace otb
m_ReflectanceToSurfaceReflectanceFilter->UpdateOutputInformation();
m_ReflectanceToSurfaceReflectanceFilter->SetUseGenerateParameters(false);
std::ostringstream oss;
std::ostringstream oss;
oss.str("");
oss << m_AtmosphericParam;
AtmosphericRadiativeTerms::Pointer atmoTerms = m_ReflectanceToSurfaceReflectanceFilter->GetAtmosphericRadiativeTerms();
oss << std::endl << std::endl << atmoTerms ;
AtmosphericRadiativeTerms::Pointer atmoTerms = m_ReflectanceToSurfaceReflectanceFilter->GetAtmosphericRadiativeTerms();
oss << std::endl << std::endl << atmoTerms;
GetLogger()->Info("Atmospheric correction parameters : " + oss.str());
GetLogger()->Info("Atmospheric correction parameters : " + oss.str());
//rescale the surface reflectance in milli-reflectance
m_ReflectanceToSurfaceReflectanceFilter->UpdateOutputInformation();
......
......@@ -405,7 +405,6 @@ MeanShiftImageFilter2<TInputImage, TOutputImage, TKernel, TNorm, TOutputMetricIm
}
template <class TInputImage, class TOutputImage, class TKernel, class TNorm, class TOutputMetricImage, class TOutputIterationImage>
void
MeanShiftImageFilter2<TInputImage, TOutputImage, TKernel, TNorm, TOutputMetricImage, TOutputIterationImage>
......@@ -460,7 +459,6 @@ MeanShiftImageFilter2<TInputImage, TOutputImage, TKernel, TNorm, TOutputMetricIm
unsigned int iteration = 0;
// Pixel in the joint spatial-range domain
RealVector jointPixel;
......
......@@ -110,12 +110,12 @@ TileImageFilter<TImage>
typename ImageType::SizeType totalSize;
totalSize.Fill(0);
for(unsigned int i = 0; i < m_Layout[0];++i)
for(unsigned int i = 0; i < m_Layout[0]; ++i)
{
totalSize[0]+=m_ColumnsSizes[i];
}
for(unsigned int i = 0; i < m_Layout[1];++i)
for(unsigned int i = 0; i < m_Layout[1]; ++i)
{
totalSize[1]+=m_RowsSizes[i];
}
......@@ -221,13 +221,13 @@ TileImageFilter<TImage>
typename RegionType::IndexType regionIndex = out2inRegion.GetIndex();
// Compute tile offsets
for(unsigned int i = 0; i < tileXIndex;++i)
for(unsigned int i = 0; i < tileXIndex; ++i)
{
regionIndex[0]-=m_ColumnsSizes.at(i);
}
unsigned int tileYOffset = 0;
for(unsigned int i = 0; i < tileYIndex;++i)
for(unsigned int i = 0; i < tileYIndex; ++i)
{
regionIndex[1]-=m_RowsSizes.at(i);
}
......@@ -267,12 +267,12 @@ TileImageFilter<TImage>
// Compute tile offsets
for(unsigned int i = 0; i < tileXIndex;++i)
for(unsigned int i = 0; i < tileXIndex; ++i)
{
regionIndex[0]+=m_ColumnsSizes.at(i);
}
for(unsigned int i = 0; i < tileYIndex;++i)
for(unsigned int i = 0; i < tileYIndex; ++i)
{
regionIndex[1]+=m_RowsSizes.at(i);
}
......
......@@ -627,7 +627,7 @@ DisparityMapToDEMFilter<TDisparityImage,TInputImage,TOutputDEMImage,TEpipolarGri
RSTransformType::Pointer leftToGroundTransform = RSTransformType::New();
RSTransformType::Pointer rightToGroundTransform = RSTransformType::New();
leftToGroundTransform->SetInputKeywordList(leftSensor->GetImageKeywordlist());
leftToGroundTransform->SetInputKeywordList(leftSensor->GetImageKeywordlist());
rightToGroundTransform->SetInputKeywordList(rightSensor->GetImageKeywordlist());
if(m_DEMDirectory!="")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment