2020-12-03 23:38 CET

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0001143Orfeo Toolbox (OTB)Generalpublic2016-03-29 14:50
Reportersebastic 
Assigned Torashadkm 
PrioritynormalSeverityminorReproducibilityN/A
StatusclosedResolutionfixed 
Summary0001143: Patch for various spelling errors
DescriptionAfter applying the fix for 0001142, the lintian QA tool reported various spelling errors as part of the otb Debian package build process.

The attached patch fixes the typos for OTB 5.2.1.
TagsNo tags attached.
Attached Files
  • patch file icon spelling-errors.patch (12,917 bytes) 2016-02-12 16:12 -
    Description: Fix spelling errors.
     convertion -> conversion
     differents -> different
     intepreted -> interpreted
     accross    -> across
     mulitple   -> multiple
    Author: Bas Couwenberg <sebastic@debian.org>
    
    --- a/Modules/Adapters/GdalAdapters/src/otbOGRGeometryWrapper.cxx
    +++ b/Modules/Adapters/GdalAdapters/src/otbOGRGeometryWrapper.cxx
    @@ -27,7 +27,7 @@
     #endif
     
     #ifdef _MSC_VER
    -// warning convertion int -> bool
    +// warning conversion int -> bool
     #pragma warning ( disable : 4800 )
     #endif
     /*===========================================================================*/
    --- a/Modules/Applications/AppSARPolarMatrixConvert/app/otbSARPolarMatrixConvert.cxx
    +++ b/Modules/Applications/AppSARPolarMatrixConvert/app/otbSARPolarMatrixConvert.cxx
    @@ -264,7 +264,7 @@ private:
         
         
         
    -    AddParameter(ParameterType_Choice, "conv", "Convertion");
    +    AddParameter(ParameterType_Choice, "conv", "Conversion");
     
         //Monostatic case 
         
    --- a/Modules/Applications/AppVectorUtils/app/otbOSMDownloader.cxx
    +++ b/Modules/Applications/AppVectorUtils/app/otbOSMDownloader.cxx
    @@ -56,7 +56,7 @@ private:
         SetDocLongDescription("Generate a vector data from Open Street Map data. A DEM could be use. By default, the entire layer is downloaded, an image can be use as support for the OSM data. The application can provide also available classes in layers . This application required an Internet access. Information about the OSM project : http://www.openstreetmap.fr/");
         SetDocLimitations("None");
         SetDocAuthors("OTB-Team");
    -    SetDocSeeAlso("Convertion");
    +    SetDocSeeAlso("Conversion");
     
         AddDocTag(Tags::Meta);
     
    --- a/Modules/Core/Common/include/otbRGBAPixelConverter.h
    +++ b/Modules/Core/Common/include/otbRGBAPixelConverter.h
    @@ -30,7 +30,7 @@ namespace otb
      * \brief Convert an itk::RGBApixel<InternalType> into another pixel
      * type
      *
    - * To be usable, the desired convertion must be implemented through
    + * To be usable, the desired conversion must be implemented through
      * partial specialisation mecanism.
      *
      *
    --- a/Modules/Core/Common/include/otbVariableLengthVectorConverter.h
    +++ b/Modules/Core/Common/include/otbVariableLengthVectorConverter.h
    @@ -31,7 +31,7 @@ namespace otb
      * \class VariableLengthVectorConverter
      * \brief Convert any data container type into a VariableLengthVector.
      *
    - * To be usable, the desired convertion must be implemented through
    + * To be usable, the desired conversion must be implemented through
      * partial specialisation mecanism.
      *
      *
    --- a/Modules/Core/ImageBase/include/otbConvertPixelBuffer.h
    +++ b/Modules/Core/ImageBase/include/otbConvertPixelBuffer.h
    @@ -66,7 +66,7 @@ public:
                           OutputPixelType* outputData , size_t size);
     
     protected:
    -  /** Convertions related to complex */
    +  /** Conversions related to complex */
       static void ConvertGrayToComplex(InputPixelType * inputData,
                                     OutputPixelType * OutputData, size_t size);
       
    --- a/Modules/Filtering/ChangeDetection/include/otbKullbackLeiblerSupervizedDistanceImageFilter.txx
    +++ b/Modules/Filtering/ChangeDetection/include/otbKullbackLeiblerSupervizedDistanceImageFilter.txx
    @@ -61,14 +61,14 @@ KullbackLeiblerSupervizedDistance<TInput
       typedef itk::ConstNeighborhoodIterator<
           typename ROIConversionType1::OutputImageType> ROIInputType1;
     
    -  typename ROIConversionType1::Pointer convertion1 = ROIConversionType1::New();
    -  convertion1->SetInputImage(img1);
    -  convertion1->SetROIImage(imgROI);
    -  convertion1->Update();
    +  typename ROIConversionType1::Pointer conversion1 = ROIConversionType1::New();
    +  conversion1->SetInputImage(img1);
    +  conversion1->SetROIImage(imgROI);
    +  conversion1->Update();
     
       if (m_CumROI1 != NULL) delete m_CumROI1;
     
    -  m_CumROI1 = new CumulantsForEdgeworth<ROIInputType1> (convertion1->GetOutput());
    +  m_CumROI1 = new CumulantsForEdgeworth<ROIInputType1> (conversion1->GetOutput());
     
       if (!m_CumROI1->IsDataAvailable())
         {
    @@ -84,14 +84,14 @@ KullbackLeiblerSupervizedDistance<TInput
       typedef itk::ConstNeighborhoodIterator<
           typename ROIConversionType2::OutputImageType> ROIInputType2;
     
    -  typename ROIConversionType2::Pointer convertion2 = ROIConversionType2::New();
    -  convertion2->SetInputImage(img2);
    -  convertion2->SetROIImage(imgROI);
    -  convertion2->Update();
    +  typename ROIConversionType2::Pointer conversion2 = ROIConversionType2::New();
    +  conversion2->SetInputImage(img2);
    +  conversion2->SetROIImage(imgROI);
    +  conversion2->Update();
     
       if (m_CumROI2 != NULL) delete m_CumROI2;
     
    -  m_CumROI2 = new CumulantsForEdgeworth<ROIInputType2> (convertion2->GetOutput());
    +  m_CumROI2 = new CumulantsForEdgeworth<ROIInputType2> (conversion2->GetOutput());
     
       if (!m_CumROI2->IsDataAvailable())
         {
    --- a/Modules/Filtering/Projection/include/otbVectorDataProjectionFilter.txx
    +++ b/Modules/Filtering/Projection/include/otbVectorDataProjectionFilter.txx
    @@ -325,7 +325,7 @@ VectorDataProjectionFilter<TInputVectorD
     }
     
     /**
    -   * GenerateData Performs the coordinate convertion for each element in the tree
    +   * GenerateData Performs the coordinate conversion for each element in the tree
      */
     template <class TInputVectorData, class TOutputVectorData>
     void
    --- a/Modules/Filtering/Projection/include/otbVectorDataTransformFilter.txx
    +++ b/Modules/Filtering/Projection/include/otbVectorDataTransformFilter.txx
    @@ -132,7 +132,7 @@ VectorDataTransformFilter<TInputVectorDa
     
     
     /**
    -   * GenerateData Performs the coordinate convertion for each element in the tree
    +   * GenerateData Performs the coordinate conversion for each element in the tree
      */
     template <class TInputVectorData, class TOutputVectorData >
     void
    --- a/Modules/Filtering/VectorDataManipulation/include/otbVectorDataToVectorDataFilter.txx
    +++ b/Modules/Filtering/VectorDataManipulation/include/otbVectorDataToVectorDataFilter.txx
    @@ -74,7 +74,7 @@ VectorDataToVectorDataFilter<TInputVecto
     }
     
     /**
    -   * GenerateData Performs the coordinate convertion for each element in the tree
    +   * GenerateData Performs the coordinate conversion for each element in the tree
      */
     template <class TInputVectorData, class TOutputVectorData>
     void
    --- a/Modules/Applications/AppImageUtils/app/otbColorMapping.cxx
    +++ b/Modules/Applications/AppImageUtils/app/otbColorMapping.cxx
    @@ -22,7 +22,7 @@
     #include <fstream>
     #include <map>
     
    -// Include differents method for color mapping
    +// Include different method for color mapping
     #include "otbChangeLabelImageFilter.h"
     #include "itkLabelToRGBImageFilter.h"
     #include "itkScalarToRGBColormapImageFilter.h"
    --- a/Modules/Filtering/ChangeDetection/include/otbMultivariateAlterationDetectorImageFilter.h
    +++ b/Modules/Filtering/ChangeDetection/include/otbMultivariateAlterationDetectorImageFilter.h
    @@ -50,7 +50,7 @@ namespace otb
      * - Each change map is orthogonal to the others.
      *
      * This is a statistical method which can handle different modalities
    - * and even differents bands and number of bands between images.
    + * and even different bands and number of bands between images.
      *
      * If numbers of bands in image 1 and 2 are equal, then change maps
      * are sorted by increasing correlation. If number of bands is
    --- a/Modules/Filtering/Smoothing/include/otbMeanShiftSmoothingImageFilter.h
    +++ b/Modules/Filtering/Smoothing/include/otbMeanShiftSmoothingImageFilter.h
    @@ -592,7 +592,7 @@ protected:
     
       virtual void AfterThreadedGenerateData();
     
    -  /** Allocates the outputs (need to be reimplemented since outputs have differents type) */
    +  /** Allocates the outputs (need to be reimplemented since outputs have different type) */
       virtual void AllocateOutputs();
     
       /** Constructor */
    --- a/Modules/IO/TestKernel/src/otbTestHelper.cxx
    +++ b/Modules/IO/TestKernel/src/otbTestHelper.cxx
    @@ -545,7 +545,7 @@ int TestHelper::RegressionTestAsciiFile(
     
         //FIXME won't be intuitive for the non order case
         unsigned int numLineDiff = std::min(listStrDiffLineFileRef.size(), listStrDiffLineFileTest.size());
    -    std::cout << "Nb lines differents : " << numLineDiff << std::endl;
    +    std::cout << "Nb lines different : " << numLineDiff << std::endl;
         for (unsigned int i = 0; i < numLineDiff; ++i)
           {
           std::cout << "   -------------------------------" << std::endl;
    --- a/Modules/Segmentation/Conversion/include/otbRasterizeVectorDataFilter.h
    +++ b/Modules/Segmentation/Conversion/include/otbRasterizeVectorDataFilter.h
    @@ -46,7 +46,7 @@ namespace otb {
      *  The user can set an OutputPixelType as a burn vector via
      *  AddBurnValue(OutputImagePixelType burnValuesPix). To have a
      *  different color for each VectorData, use this method with
    - *  differents burnValuesPix as many times as VectorDatas set.
    + *  different burnValuesPix as many times as VectorDatas set.
      *  Again, the color will be duplicated if only one burnValuesPix
      *  is set.
      *
    --- a/Modules/Applications/AppProjection/app/otbGridBasedImageResampling.cxx
    +++ b/Modules/Applications/AppProjection/app/otbGridBasedImageResampling.cxx
    @@ -205,7 +205,7 @@ void DoExecute()
           // deformation grid, which is the only type handled by StreamingWarpImageFilter
           if(GetParameterString("grid.type") == "loc")
             {
    -        GetLogger()->Info("Grid intepreted as a location grid.");
    +        GetLogger()->Info("Grid interpreted as a location grid.");
             m_ExtractX->SetInput(inGrid);
             m_ExtractX->SetChannel(1);
             m_BandMathX->SetNthInput(0,m_ExtractX->GetOutput(),"locX");
    @@ -222,7 +222,7 @@ void DoExecute()
             }
           else
             {
    -        GetLogger()->Info("Grid intepreted as a deformation grid.");
    +        GetLogger()->Info("Grid interpreted as a deformation grid.");
             m_DisplacementFieldCaster->SetInput(inGrid);
             }
     
    --- a/Modules/Applications/AppDescriptors/app/otbHomologousPointsExtraction.cxx
    +++ b/Modules/Applications/AppDescriptors/app/otbHomologousPointsExtraction.cxx
    @@ -88,7 +88,7 @@ private:
           " the first is the full mode where keypoints are extracted from the full extent of both images"
           " (please note that in this mode large image file are not supported). "
           "The second mode, called geobins, allows one to set-up spatial binning to get fewer points"
    -      " spread accross the entire image. "
    +      " spread across the entire image. "
           "In this mode, the corresponding spatial bin in the second image is estimated using geographical"
           " transform or sensor modelling, and is padded according to the user defined precision. Last, in"
           " both modes the application can filter matches whose colocalisation in first image exceed this precision. "
    @@ -142,8 +142,8 @@ private:
         AddChoice("mode.full","Extract and match all keypoints (no streaming)");
         SetParameterDescription("mode.full","Extract and match all keypoints, loading both images entirely into memory");
     
    -    AddChoice("mode.geobins","Search keypoints in small spatial bins regularly spread accross first image");
    -    SetParameterDescription("mode.geobins","This method allows retrieving a set of tie points regulary spread accross image 1. Corresponding bins in image 2 are retrieved using sensor and geographical information if available. The first bin position takes into account the margin parameter. Bins are cropped to the largest image region shrinked by the margin parameter for both in1 and in2 images.");
    +    AddChoice("mode.geobins","Search keypoints in small spatial bins regularly spread across first image");
    +    SetParameterDescription("mode.geobins","This method allows retrieving a set of tie points regulary spread across image 1. Corresponding bins in image 2 are retrieved using sensor and geographical information if available. The first bin position takes into account the margin parameter. Bins are cropped to the largest image region shrinked by the margin parameter for both in1 and in2 images.");
     
         AddParameter(ParameterType_Int,"mode.geobins.binsize","Size of bin");
         SetParameterDescription("mode.geobins.binsize","Radius of the spatial bin in pixels");
    --- a/Modules/Applications/AppStereo/app/otbStereoFramework.cxx
    +++ b/Modules/Applications/AppStereo/app/otbStereoFramework.cxx
    @@ -319,7 +319,7 @@ private:
     
         SetDocName("Stereo Framework");
         SetDocLongDescription("Compute the ground elevation with a stereo block matching algorithm "
    -                          "between one or mulitple stereo pair in sensor geometry. The output is projected in "
    +                          "between one or multiple stereo pair in sensor geometry. The output is projected in "
                               "desired geographic or cartographic map projection (UTM by default). The pipeline is made of the following steps:\n"
                               "for each sensor pair :\n"
                               "\t- compute the epipolar displacement grids from the stereo pair (direct and inverse)\n"
    
    patch file icon spelling-errors.patch (12,917 bytes) 2016-02-12 16:12 +

-Relationships
+Relationships

+Notes

-Issue History
Date Modified Username Field Change
2016-02-12 16:12 sebastic New Issue
2016-02-12 16:12 sebastic File Added: spelling-errors.patch
2016-03-29 14:50 rashadkm Note Added: 0003256
2016-03-29 14:50 rashadkm Status new => closed
2016-03-29 14:50 rashadkm Assigned To => rashadkm
2016-03-29 14:50 rashadkm Resolution open => fixed
+Issue History