Commit 7fd49235 authored by Emmanuel Christophe's avatar Emmanuel Christophe

STYLE: remove >2 empty lines

parent d401c28d
......@@ -36,7 +36,6 @@ namespace otb
*/
namespace Functor {
template< class TInput, class TOutput>
......@@ -114,8 +113,6 @@ private:
}
template <class TInputImage, class TOutputImage>
class ITK_EXPORT ChangeLabelImageFilter :
public itk::UnaryFunctorImageFilter<TInputImage,TOutputImage,
......@@ -191,29 +188,6 @@ private:
#ifndef __otbChangeLabelImageFilter_h
#define __otbChangeLabelImageFilter_h
......
......@@ -156,7 +156,6 @@ private:
};
} // end namespace otb
#ifndef ITK_MANUAL_INSTANTIATION
......
......@@ -201,8 +201,6 @@ ContinuousMinimumMaximumImageCalculator<TInputImage>
m_ContinuousIndexOfMinimum[1] = m_IndexOfMinimum[1] + vOffset;
}
/*
......@@ -277,7 +275,6 @@ ContinuousMinimumMaximumImageCalculator<TInputImage>
}
template<class TInputImage>
void
ContinuousMinimumMaximumImageCalculator<TInputImage>
......@@ -288,7 +285,6 @@ ContinuousMinimumMaximumImageCalculator<TInputImage>
}
template<class TInputImage>
void
ContinuousMinimumMaximumImageCalculator<TInputImage>
......
......@@ -111,7 +111,6 @@ private:
#endif
#endif
......@@ -119,4 +119,3 @@ EuclideanDistanceWithMissingValuePow2< TVector >
#endif
......@@ -136,4 +136,3 @@ FlexibleDistanceWithMissingValue< TVector >
#endif
......@@ -29,7 +29,6 @@
#include "itkSpatialFunction.h"
namespace otb
{
......
......@@ -25,9 +25,6 @@
#include "itkInPlaceImageFilter.h"
namespace otb
{
......
......@@ -185,5 +185,3 @@ private:
#endif
......@@ -278,7 +278,6 @@ ImportVectorImageFilter<TOutputImage>
}
} // end namespace otb
#endif
......@@ -105,7 +105,6 @@ KeyPointDensityImageFilter< TInputImage , TOutputImage, TDetector >
}
/*----------------------------------------------------------------
PrintSelf
-----------------------------------------------------------------*/
......
......@@ -126,7 +126,6 @@ private:
void operator=(const Self&); //purposely not implemented
}; // end class LabelizeImageFilterBase
} // end namespace otb
......
......@@ -93,7 +93,6 @@ public:
}
protected:
LabelizeNeighborhoodConnectedImageFilter();
virtual ~LabelizeNeighborhoodConnectedImageFilter() {};
......
......@@ -97,7 +97,6 @@ public:
}
private:
double m_Threshold;
};
......
......@@ -63,7 +63,6 @@ PersistentVectorizationImageFilter<TInputImage, TOutputPath>
this->GraftOutput(m_MinMaxFilter->GetOutput());
for (PixelType label = m_MinMaxFilter->GetMinimum()+1; label<=m_MinMaxFilter->GetMaximum(); ++label)
{
ImageToEdgePathFilterPointerType edgeFilter = ImageToEdgePathFilterType::New();
......
......@@ -52,7 +52,6 @@ public:
itkTypeMacro(PointSetToDensityImageFilter,itk::PointSetToImageFilter);
/** typedefs parameters support */
typedef TInputPointSet PointSetType;
......
......@@ -103,7 +103,6 @@ PointSetToDensityImageFilter< TInputPointSet , TOutputImage>
outputPtr->SetRegions( region );
}/** End of GenerateoutputInformation*/
......
......@@ -137,7 +137,6 @@ public itk::ImageToImageFilter<TInputImage, otb::VectorImage<unsigned char, 2> >
typedef typename MaskImageType::PixelType MaskPixelType;
typedef otb::MultiChannelExtractROI<InputInternalPixelType,
InputInternalPixelType> ChannelExtractorType;
typedef typename ChannelExtractorType::ChannelsType ChannelsType;
......
......@@ -69,7 +69,6 @@ QuaternaryFunctorImageFilter<TInputImage1,TInputImage2,TInputImage3,TInputImage4
}
/**
* Connect one of the operands for pixel-wise addition
*/
......
......@@ -101,7 +101,6 @@ public:
}
private:
double m_Tolerance;
......
......@@ -129,8 +129,6 @@ public:
itkGetMacro(UseObjectValue,bool);
typedef itk::SpatialObject<InputSpatialObjectType::ObjectDimension> SpatialObjectType;
typedef typename SpatialObjectType::ChildrenListType* ChildrenType;
typedef typename SpatialObjectType::ChildrenListType::iterator IteratorType;
......
......@@ -22,7 +22,6 @@
#include "itkImageRegionIteratorWithIndex.h"
namespace otb
{
......@@ -79,7 +78,6 @@ SpatialObjectToImageDrawingFilter<TInputSpatialObject,TOutputImage>
}
/** Get the input Spatial Object */
template <class TInputSpatialObject, class TOutputImage>
const typename SpatialObjectToImageDrawingFilter<TInputSpatialObject,TOutputImage>::InputSpatialObjectType *
......@@ -473,7 +471,6 @@ SpatialObjectToImageDrawingFilter<TInputSpatialObject,TOutputImage>
}
} // end namespace otb
#endif
......@@ -190,8 +190,6 @@ PersistentMatrixTransposeMatrixImageFilter<TInputImage, TInputImage2>
}
template<class TInputImage, class TInputImage2>
void
PersistentMatrixTransposeMatrixImageFilter<TInputImage, TInputImage2>
......
......@@ -186,7 +186,6 @@ StreamingResampleImageFilter<TInputImage,TOutputImage,TInterpolatorPrecisionType
}
template<class TInputImage, class TOutputImage, class TInterpolatorPrecisionType>
void
StreamingResampleImageFilter<TInputImage,TOutputImage,TInterpolatorPrecisionType>
......
......@@ -224,8 +224,6 @@ public:
typedef typename StatFilterType::ArrayPixelType ArrayPixelType;
/** Type of DataObjects used for scalar outputs */
typedef typename StatFilterType::RealPixelObjectType RealPixelObjectType;
typedef typename StatFilterType::PixelObjectType PixelObjectType;
......
......@@ -402,7 +402,6 @@ PersistentStatisticsVectorImageFilter<TInputImage>
tempMatrix.SetSize(this->GetInput()->GetNumberOfComponentsPerPixel(), this->GetInput()->GetNumberOfComponentsPerPixel());
itk::ImageRegionConstIteratorWithIndex<TInputImage> it (inputPtr, outputRegionForThread);
it.GoToBegin();
// do the work
......
......@@ -59,7 +59,6 @@ public:
typedef typename TOutputList::ConstIterator OutputListIterator;
/** Get the functor object. The functor is returned by reference.
* (Functors do not have to derive from itk::LightObject, so they do
* not necessarily have a reference count. So we cannot return a
......
......@@ -104,7 +104,6 @@ public:
}
typedef itk::ConstNeighborhoodIterator<TInputImage1>
NeighborhoodIteratorType1;
typedef itk::ConstNeighborhoodIterator<TInputImage2>
......
......@@ -245,7 +245,6 @@ BinaryFunctorNeighborhoodJoinHistogramImageFilter<TInputImage1,TInputImage2,TOut
maxInput2 + (maxInput2 - minInput2 ) * m_UpperBoundIncreaseFactor;
typedef itk::ImageRegionConstIteratorWithIndex<Input1ImageType> Input1IteratorType;
typedef itk::ImageRegionConstIteratorWithIndex<Input2ImageType> Input2IteratorType;
......@@ -284,7 +283,6 @@ BinaryFunctorNeighborhoodJoinHistogramImageFilter<TInputImage1,TInputImage2,TOut
}
/**
* ThreadedGenerateData Performs the neighborhood-wise operation
*/
......@@ -367,8 +365,6 @@ BinaryFunctorNeighborhoodJoinHistogramImageFilter<TInputImage1, TInputImage2, TO
}
}
} // end namespace otb
......
......@@ -234,8 +234,6 @@ protected:
return Eabcd_c - Eab_c*Ecd_c - Eac_c*Ebd_c - Ead_c*Ebc_c;
}
inline TOutput PhiMI(VectorType v1, VectorType v2)
......
......@@ -59,7 +59,6 @@ void CommandProgressUpdate<TFilter>::Execute(const itk::Object * object, const i
}
} // end namespace otb
......
......@@ -79,7 +79,6 @@ protected :
};
namespace Functor
{
/** \class KullbackLeiblerDistance
......
......@@ -134,7 +134,6 @@ public:
}
TOutput entropyX = itk::NumericTraits<TOutput>::Zero;
TOutput entropyY = itk::NumericTraits<TOutput>::Zero;
TOutput jointEntropy = itk::NumericTraits<TOutput>::Zero;
......@@ -181,7 +180,6 @@ public:
}
};
}
......
......@@ -108,7 +108,6 @@ public:
}
typedef itk::ConstNeighborhoodIterator<TInputImage1>
NeighborhoodIteratorType1;
typedef itk::ConstNeighborhoodIterator<TInputImage2>
......
......@@ -250,8 +250,6 @@ BinaryFunctorNeighborhoodImageFilter<TInputImage1, TInputImage2, TOutputImage, T
}
}
} // end namespace otb
......
......@@ -103,7 +103,6 @@ public:
}
typedef itk::ConstNeighborhoodIterator<TInputImage1>
NeighborhoodIteratorType1;
typedef itk::ConstNeighborhoodIterator<TInputImage2>
......@@ -154,5 +153,4 @@ private:
#endif
#endif
......@@ -94,8 +94,6 @@ int CommandLineArgumentParseResult
}
void CommandLineArgumentParseResult
::Clear()
{
......@@ -326,8 +324,6 @@ bool CommandLineArgumentParser::TryParseCommandLine(int argc, char *argv[],
}
}
// Check that all required arguments are specified
......
......@@ -92,7 +92,6 @@ DrawLineSpatialObjectFilter<TInputImage, TOutputImage>
}
/**
* Standard "PrintSelf" method
*/
......
......@@ -318,7 +318,6 @@ DrawLineSpatialObjectListFilter<TInputImage, TOutput>
}
/**
* Standard "PrintSelf" method
*/
......
......@@ -101,7 +101,6 @@ public:
itkGetConstMacro(SizeY,unsigned long);
protected:
ExtractROIBase();
virtual ~ExtractROIBase() {};
......
......@@ -42,7 +42,6 @@ public:
typedef itk::SmartPointer<const Self> ConstPointer;
/** Standard macros */
itkNewMacro(Self);
itkTypeMacro(GISConnectionImplementation,itk::DataObject);
......@@ -74,7 +73,6 @@ public:
virtual void PerformTransaction(const TransactorType& theTransaction) const {} ;
protected:
/** Constructor */
GISConnectionImplementation(){};
......@@ -94,11 +92,9 @@ private:
std::string m_Options;
};
}// end namespace otb
#endif