Commit 4b71a109 authored by Emmanuel Christophe's avatar Emmanuel Christophe

DOC: typos

parent cb0e8b7d
......@@ -47,7 +47,7 @@ ClosingOpeningMorphologicalFilter<TInputImage, TOutputImage, TKernel>
// Filters Typedefs (this class is actually a composite filter)
typedef itk::GrayscaleMorphologicalOpeningImageFilter<InputImageType,OutputImageType, KernelType> OpenFilterType;
typedef itk::GrayscaleMorphologicalClosingImageFilter<InputImageType,OutputImageType,KernelType> CloseFilterType;
// Filters initialisation
// Filters initialization
typename OpenFilterType::Pointer opening = OpenFilterType::New();
typename CloseFilterType::Pointer closing = CloseFilterType::New();
// Set the kernel
......
......@@ -48,7 +48,7 @@ OpeningClosingMorphologicalFilter<TInputImage, TOutputImage, TKernel>
// Filters Typedefs (this class is actually a composite filter)
typedef itk::GrayscaleMorphologicalOpeningImageFilter<InputImageType,OutputImageType, KernelType> OpenFilterType;
typedef itk::GrayscaleMorphologicalClosingImageFilter<InputImageType,OutputImageType,KernelType> CloseFilterType;
// Filters initialisation
// Filters initialization
typename OpenFilterType::Pointer opening = OpenFilterType::New();
typename CloseFilterType::Pointer closing = CloseFilterType::New();
// Set the kernel
......
......@@ -111,7 +111,7 @@ SpectralAngleDistanceImageFilter<TInputImage,TOutputImage>
dist = vcl_acos(scalarProd/vcl_sqrt(normProd));
}
//------ This part was supressed since the filter must perform only the spectral angle computation ---
// Spectral angle normalisation
// Spectral angle normalization
// dist = dist/(CONST_PI_2);
//square ponderation
// dist = vcl_sqrt(dist);
......
......@@ -53,7 +53,7 @@ PersistentMatrixTransposeMatrixImageFilter<TInputImage, TInputImage2>
m_UsePadFirstInput = false;
m_UsePadSecondInput = false;
// Number of component initialisation
// Number of component initialization
m_NumberOfComponents1 = 0;
m_NumberOfComponents2 = 0;
}
......
......@@ -216,7 +216,7 @@ PersistentStatisticsVectorImageFilter<TInputImage>
unsigned int numberOfThreads = this->GetNumberOfThreads();
unsigned int numberOfComponent = inputPtr->GetNumberOfComponentsPerPixel();
// Variable Initialisation
// Variable Initialization
PixelType tempPixel;
tempPixel.SetSize(numberOfComponent);
tempPixel.Fill(itk::NumericTraits<InternalPixelType>::Zero);
......
......@@ -67,7 +67,7 @@ BSplinesInterpolateTransformDeformationFieldGenerator<TPointSet, TDeformationFie
typedef typename PointSetType::PointsContainer::ConstIterator PointSetIteratorType;
typedef typename PointSetType::PointsContainer PointsContainerType;
// Initialisation of the splines interpolator
// Initialization of the splines interpolator
typename SPlineInterpolatorListType::Pointer splineIntList = SPlineInterpolatorListType::New();
for (unsigned int paramIndex = 0;paramIndex<this->GetTransform()->GetNumberOfParameters();++paramIndex)
......
......@@ -43,7 +43,7 @@ BreakAngularPathListFilter<TPath>
typename PathType::VertexType pixel1, pixel2, pixel3;
// Initialisation
// Initialization
PathPointerType newPath = PathType::New();
newPath->Initialize();
......
......@@ -102,7 +102,7 @@ public:
/** Run-time type information (and related methods). */
itkTypeMacro(ImageToHessianDeterminantImageFilter,ImageToImageFilter);
/* Initialisation of Input & Output Images*/
/* Initialization of Input & Output Images*/
typedef TInputImage InputImageType;
typedef typename InputImageType::Pointer InputImagePointerType;
typedef TOutputImage OutputImageType;
......
......@@ -29,7 +29,7 @@ template <class TInputImage, class TOutputImage, class TPrecision>
ImageToHessianDeterminantImageFilter<TInputImage,TOutputImage,TPrecision>
::ImageToHessianDeterminantImageFilter()
{
// Filter intialisation
// Filter intialization
m_HessianFilter = ImageToHessianImageFilterType::New();
m_DeterminantFilter = DeterminantFilterType::New();
......
......@@ -82,7 +82,7 @@ NeighborhoodScalarProductFilter<TInputImage,TOutputModulus,TOutputDirection>
while ((!neighInputIt.IsAtEnd()) && (!outputIt.IsAtEnd()) && (!outputDirIt.IsAtEnd()) )
{
// local variable intialisation
// local variable intialization
int neighborhoodNumberMax = 0;
double scalarMaxValue = 0;
//TODO for a more general algorithm this might be replaced by:
......
......@@ -298,7 +298,7 @@ TOutputImage>
}
//**** END TODO ****/
m_Vcondopt = m_Vcondopt.GetInverse();
// Functor initialisation
// Functor initialization
this->GetFunctor().SetVcondopt(m_Vcondopt);
this->GetFunctor().SetBeta(cutBeta);
this->GetFunctor().SetAlpha(m_Beta(0,0));
......
......@@ -281,7 +281,7 @@ ImageFileReader<TOutputImage>
//
this->m_ImageIO->SetFileName(this->m_FileName.c_str());
this->m_ImageIO->ReadImageInformation();
// Initialisation du nombre de Composante par pixel
// Initialization du nombre de Composante par pixel
// THOMAS ceci n'est pas dans ITK !!
// output->SetNumberOfComponentsPerPixel(this->m_ImageIO->GetNumberOfComponents());
......
......@@ -37,7 +37,7 @@ namespace otb {
* \class ImagerSeriesFileReader
* \brief Reader class dedicated to image series reading
*
* Actually, this class is mostly dedicated to read ENVI META FILE. Specialisations
* Actually, this class is mostly dedicated to read ENVI META FILE. Specializations
* of the template are given relatively to the king of image (or vector image) used
* in input and/or output.
*
......@@ -120,7 +120,7 @@ protected:
/** AllocateListOfComponents
* Once MetaFile is read, allocation of lists are performed in SetFileName.
* This allows specific (or global) initialisation in the GenerateData methods,
* This allows specific (or global) initialization in the GenerateData methods,
* that the user may invoke throught GenerateOutput() or GenerateOutput( idx ).
*/
virtual void AllocateListOfComponents ( void );
......@@ -222,7 +222,7 @@ protected:
/**
* Once MetaFile is read, allocation of lists are performed in SetFileName.
* This allows specific (or global) initialisation in the GenerateData methods,
* This allows specific (or global) initialization in the GenerateData methods,
* that the user may invoke throught GenerateOutput() or GenerateOutput( idx ).
*/
virtual void AllocateListOfComponents ( void );
......@@ -323,7 +323,7 @@ protected:
/**
* Once MetaFile is read, allocation of lists are performed in SetFileName.
* This allows specific (or global) initialisation in the GenerateData methods,
* This allows specific (or global) initialization in the GenerateData methods,
* that the user may invoke throught GenerateOutput() or GenerateOutput( idx ).
*/
virtual void AllocateListOfComponents ( void );
......@@ -428,7 +428,7 @@ protected:
/**
* Once MetaFile is read, allocation of lists are performed in SetFileName.
* This allows specific (or global) initialisation in the GenerateData methods,
* This allows specific (or global) initialization in the GenerateData methods,
* that the user may invoke throught GenerateOutput() or GenerateOutput( idx ).
*/
virtual void AllocateListOfComponents ( void );
......
......@@ -172,7 +172,7 @@ protected:
virtual void ReadMetaFile ();
/**
* Once MetaFile is read, allocation of lists are performed in SetFileName.
* This allows specific (or global) initialisation in the GenerateData methods,
* This allows specific (or global) initialization in the GenerateData methods,
* that the user may invoke throught GenerateOutput() or GenerateOutput( idx ).
*/
virtual void AllocateListOfComponents ( void );
......
......@@ -305,7 +305,7 @@ bool LUMImageIO::InternalReadHeaderInformation(std::fstream & file, const bool r
otbSwappFileOrderToSystemOrderMacro(int,&NbCol,1);
otbSwappFileOrderToSystemOrderMacro(int,&NbLig,1);
//Initialisation of image informations
//Initialization of image informations
m_Dimensions[0] = NbCol;
m_Dimensions[1] = NbLig;
this->SetNumberOfComponents(1);
......@@ -470,7 +470,7 @@ int LUMImageIO::CaiGetTypeLum( const char * type_code,
sens_code[0]='\0';
cod_pix[0]='\0';
/* Initialisations diverses */
/* Initializations diverses */
trouve = -1;
taille = -1;
int nbbits=-1;
......
......@@ -233,7 +233,7 @@ bool MWImageIO::InternalReadHeaderInformation(std::fstream & file, const bool re
SetComponentType(FLOAT);
//Initialisation of image informations
//Initialization of image informations
m_Dimensions[0] = NbCol;
m_Dimensions[1] = NbLig;
this->SetNumberOfComponents(1);
......
......@@ -52,7 +52,7 @@ namespace Functor
* (surprisingly) required for the IterationThreshold.
*
* The functor function uses \code NumberOfIterations \endcode, \code BetaInit \endcode, \code BetaEnd \endcode parameters, that is
* why it is necessary to call a specific method for \code IterationThreshold \endcode intialisation.
* why it is necessary to call a specific method for \code IterationThreshold \endcode intialization.
*
* \sa SOM
*/
......
......@@ -399,7 +399,7 @@ SEMClassifier< TInputImage, TOutputImage >
if ( !m_ComponentDeclared )
{
otbMsgDebugMacro( << "default mixture initialisation with " << m_NbClasses
otbMsgDebugMacro( << "default mixture initialization with " << m_NbClasses
<< " Gaussian components" );
typedef otb::Statistics::GaussianModelComponent< ClassSampleType > GaussianType;
......@@ -594,7 +594,7 @@ void
SEMClassifier< TInputImage, TOutputImage >
::GetMaximumAposterioriLabels ()
{
// Class results initialisation
// Class results initialization
m_Output = OutputType::New();
m_Output->SetSample( this->GetSampleList() );
m_Output->Resize( this->GetSampleList()->Size() );
......
......@@ -159,9 +159,9 @@ private:
ValueType m_MinWeight;
/** Maximum intial neuron weights */
ValueType m_MaxWeight;
/** Random initialisation bool */
/** Random initialization bool */
bool m_RandomInit;
/** Seed for random initialisation */
/** Seed for random initialization */
unsigned int m_Seed;
/** The input list sample */
ListSamplePointerType m_ListSample;
......
......@@ -52,7 +52,7 @@ SOMActivationBuilder<TInputImage,TInputMap,TOutputImage>
InputMapType * map = const_cast<InputMapType*>(this->GetInput());
OutputImagePointerType output = this->GetOutput();
// output initialisation
// output initialization
output->SetRegions(map->GetLargestPossibleRegion());
output->Allocate();
output->FillBuffer(static_cast<typename OutputImageType::PixelType>(0));
......
......@@ -165,7 +165,7 @@ MorphologicalPyramidAnalysisFilter<TInputImage,TOutputImage,TMorphoFilter>
// Size declaration
typename InputImageType::SizeType size;
// local variables declarations and initialisations
// local variables declarations and initializations
int i = 0;
int sizeTmp;
//--------------------------------------------------------//
......
......@@ -36,9 +36,9 @@ namespace otb {
*
* The third template is a Wavelet::FORWARD/Wavelet::INVERSE Wavelet::WaveletDirection
* enumeration type. With Wavelet::FORWARD, the output image is of the same size of the one of
* the input image. But the output image contains only co-located subsample, the reset being 0.
* When Wavelet::INVERSE is used, the input image is considered to as the sub-sampled. then, the output
* image is larger. Inital pixel values are preserved but the output image is interleaved with
* the input image. But the output image contains only co-located subsample, the rest being 0.
* When Wavelet::INVERSE is used, the input image is considered as the sub-sampled. Then, the output
* image is larger. Initial pixel values are preserved but the output image is interleaved with
* 0.
*
* \sa ResampleImageFilter
......
......@@ -38,7 +38,7 @@
namespace otb {
/**
* Template Specialisation for the Wavelet::FORWARD case
* Template Specialization for the Wavelet::FORWARD case
*/
template < class TInputImage, class TOutputImage, class TWaveletOperator >
......@@ -619,7 +619,7 @@ WaveletFilterBank< TInputImage, TOutputImage, TWaveletOperator, Wavelet::FORWARD
}
/**
* Template Specialisation for the Wavelet::INVERSE case
* Template Specialization for the Wavelet::INVERSE case
*/
template < class TInputImage, class TOutputImage, class TWaveletOperator >
......
......@@ -54,7 +54,7 @@ enum Wavelet{
*
* The class is templated with the wavelet ID from the
* Wavelet::Wavelet type. The members throw an
* exception if the template specialisation is not defined
* exception if the template specialization is not defined
* according to the wavelet ID.
*/
template < Wavelet::Wavelet TMotherWaveletOperator >
......
......@@ -91,7 +91,7 @@ private:
* GetFilter(0)->GetNumberOfOutputs() to know the length) and so on until
* the high passed images of the highest decomposition.
*
* Here is the specialisation of the Wavelet::FORWARD transformation.
* Here is the specialization of the Wavelet::FORWARD transformation.
*
* \sa WaveletFilterBank
* \sa WaveletPacketTransform
......@@ -183,14 +183,14 @@ private:
/**
* For multiscale decomposition, m_SubsampleImageFactor is set to 1.
* It yields also a stationnary decomposition.
* It yields also a stationary decomposition.
* For multiresolution decomposition, most of the time, m_SubsampleImageFactor is
* to be set to 2. This is its default value.
*/
unsigned int m_SubsampleImageFactor;
/**
* The list of filter is necessary to keep the papeline updated.
* The list of filter is necessary to keep the pipeline updated.
*/
FilterListPointerType m_FilterList;
}; // end of Forward class
......@@ -211,10 +211,10 @@ private:
* GetFilter(0)->GetNumberOfOutputs() to know the length) and so on until
* the high passed images of the highest decomposition.
*
* Here is the specialisation of the Wavelet::INVERSE transformation.
* Here is the specialization of the Wavelet::INVERSE transformation.
*
* The filter should be implemented with TInputImage for input and output image
* template. Transtyping to TOuputImage is performed by standart C++-style at pixel
* template. Transtyping to TOutputImage is performed by standard C++-style at pixel
* level.
*
* \sa WaveletFilterBank
......
......@@ -29,7 +29,7 @@
namespace otb {
/**
* Template Specialisation for the Wavelet::FORWARD case
* Template Specialization for the Wavelet::FORWARD case
*/
template < class TInputImage, class TOutputImage, class TFilter >
......@@ -106,7 +106,7 @@ WaveletTransform< TInputImage, TOutputImage, TFilter, Wavelet::FORWARD >
}
/**
* Template Specialisation for the Wavelet::INVERSE case
* Template Specialization for the Wavelet::INVERSE case
*/
template < class TInputImage, class TOutputImage, class TFilter >
......
......@@ -1134,7 +1134,7 @@ bool TestHelper::CompareLines(std::string strfileref, std::string strfiletest, i
else
etatCour = ETAT_CHAR;
// "reference" state initialisation.
// "reference" state initialization.
if (i == 0)
etatPrec = etatCour;
......
......@@ -25,7 +25,7 @@
namespace otb
{
/** \class ImageWidgetTransferFunction
* \brief <b>DEPRECATED</b>: Base class for visualisation transfer functions.
* \brief <b>DEPRECATED</b>: Base class for visualization transfer functions.
*
* \deprecated use the new Visualization framework instead.
* \sa StandardImageViewer
......
......@@ -128,7 +128,7 @@ public:
/** Get the sumbsampling rate */
virtual unsigned int GetSubsamplingRate();
/** Filters Initialisation. */
/** Filters Initialization. */
virtual void Init();
protected:
......
......@@ -187,7 +187,7 @@ void
ImageWidget<TInputImage>
::draw()
{
// perform checks from superclass and gl initialisation
// perform checks from superclass and gl initialization
Superclass::draw();
glDisable(GL_BLEND);
......
......@@ -126,7 +126,7 @@ int main ( int argc, char * argv[] )
// Software Guide : BeginLatex
//
// Then, it follows, classical initialisations of the pipeline.
// Then, it follows, classical initializations of the pipeline.
//
// Software Guide : EndLatex
......@@ -159,7 +159,7 @@ int main ( int argc, char * argv[] )
// Software Guide : BeginLatex
//
// By default, \doxygen{otb}{SEMClassifier} performs initialisation of
// By default, \doxygen{otb}{SEMClassifier} performs initialization of
// \code{ModelComponentBase} by as many instanciation of
// \subdoxygen{otb}{Statistics}{GaussianModelComponent} as the number of
// classes to estimate in the mixture. Nevertheless, the user may add specific
......
......@@ -295,7 +295,7 @@ int main(int argc, char* argv[])
//
// Software Guide : BeginLatex
//
// Now comes the intialisation of the functors.
// Now comes the intialization of the functors.
//
// Software Guide : EndLatex
......
......@@ -103,7 +103,7 @@ int main(int argc, char* argv[] )
// Software Guide : BeginLatex
//
// We define a reader for the image to be classified, an initialisation for the
// We define a reader for the image to be classified, an initialization for the
// classification (which could be random) and a writer for the final
// classification.
//
......
......@@ -58,7 +58,7 @@ int otbCloudDetectionFilter(int argc, char * argv[])
CloudDetectionFilterType::Pointer cloudDetection = CloudDetectionFilterType::New();
WriterType::Pointer writer = WriterType::New();
//Initialisation parameters
//Initialization parameters
reader->SetFileName(inputFileName);
cloudDetection->SetInput(reader->GetOutput());
......
......@@ -56,7 +56,7 @@ int otbCloudEstimatorDefaultFilter(int argc, char * argv[])
CloudEstimatorFilterType::Pointer cloudEstimator = CloudEstimatorFilterType::New();
WriterType::Pointer writer = WriterType::New();
//Initialisation parameters
//Initialization parameters
reader->SetFileName(inputFileName);
cloudEstimator->SetInput(reader->GetOutput());
......
......@@ -56,7 +56,7 @@ int otbCloudEstimatorFilter(int argc, char * argv[])
CloudEstimatorFilterType::Pointer cloudEstimator = CloudEstimatorFilterType::New();
WriterType::Pointer writer = WriterType::New();
//Initialisation parameters
//Initialization parameters
reader->SetFileName(inputFileName);
cloudEstimator->SetInput(reader->GetOutput());
......
......@@ -65,7 +65,7 @@ int otbRoadExtractionFilter(int argc, char * argv[])
DrawPathFilterType::Pointer draw = DrawPathFilterType::New();
WriterType::Pointer writer = WriterType::New();
//Initialisation parameters
//Initialization parameters
reader->SetFileName(inputFileName);
roadExtraction->SetInput(reader->GetOutput());
......
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