Commit edef3e4f authored by OTB Bot's avatar OTB Bot

STYLE

parent 4cf401be
......@@ -214,7 +214,7 @@ private:
otb::Wrapper::ElevationParametersHandler::SetupDEMHandlerFromElevationParameters(this,"epi.elevation");
if (otb::Wrapper::ElevationParametersHandler::IsGeoidUsed(this,"epi.elevation") &&
otb::Wrapper::ElevationParametersHandler::IsDEMUsed(this,"epi.elevation") &&
otb::Wrapper::ElevationParametersHandler::IsDEMUsed(this,"epi.elevation") &&
!IsParameterEnabled("epi.elevation.avgdem.step"))
{
m_DeformationFieldSource->SetUseDEM(true);
......
......@@ -81,7 +81,7 @@ StreamingShrinkImageRegionSplitter
unsigned int nbSplits = internalSplitter->GetNumberOfSplits(m_ImageRegion,numberOfPieces);
//Iterate over streams computed by the adaptative splitter
for (unsigned int i = 0 ; i < nbSplits ; ++i)
for (unsigned int i = 0; i < nbSplits; ++i)
{
RegionType region;
IndexType index;
......@@ -91,7 +91,7 @@ StreamingShrinkImageRegionSplitter
const unsigned int sizeY = region.GetSize()[1] - 1;
for (unsigned int j = 0 ; j < sizeY ; ++j)
for (unsigned int j = 0; j < sizeY; ++j)
{
//Add region aligned with the shrink factor
if (((index[1]+j) % m_TileSizeAlignment) == 0)
......
......@@ -43,7 +43,6 @@ StreamingShrinkStreamingManager<TImage>::PrepareStreaming( itk::DataObject * inp
typedef otb::StreamingShrinkImageRegionSplitter TileSplitterType;
TileSplitterType::Pointer splitter = TileSplitterType::New();
splitter->SetTileSizeAlignment(m_ShrinkFactor);
......
......@@ -64,7 +64,7 @@ int otbImageListToSingleImageFilter(int argc, char * argv[])
// Filter Typedef
typedef otb::VectorImageToImageListFilter<VectorImageType, ImageListType> VectorImageToImageListFilterType;
typedef otb::ImageListToSingleImageFilter<ImageListType::ImageType> ImageListToSingleImageFilter;
typedef otb::BandMathImageFilter<ImageType> BandMathImageFilterType ;
typedef otb::BandMathImageFilter<ImageType> BandMathImageFilterType;
// Instantiating objects
VectorImageToImageListFilterType::Pointer filter1 = VectorImageToImageListFilterType::New();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment