From 3b1531241f99910a5e2d484180602f94fad957ba Mon Sep 17 00:00:00 2001 From: Guillaume Pasero <guillaume.pasero@c-s.fr> Date: Tue, 16 Jan 2018 09:22:28 +0100 Subject: [PATCH] DOC: spellcheck --- Documentation/Cookbook/rst/Installation_Linux.txt | 4 ++-- Documentation/Cookbook/rst/Installation_Macx.txt | 4 ++-- Documentation/Cookbook/rst/Installation_Windows.txt | 4 ++-- Documentation/Cookbook/rst/recipes/contrast_enhancement.rst | 2 +- .../AppFiltering/app/otbContrastEnhancement.cxx | 6 +++--- .../AppHyperspectral/app/otbVertexComponentAnalysis.cxx | 4 ++-- .../AppStereo/app/otbStereoRectificationGridGenerator.cxx | 2 +- .../AppVectorUtils/app/otbVectorDataTransform.cxx | 2 +- .../Filtering/Contrast/include/otbComputeGainLutFilter.h | 2 +- .../LearningBase/include/otbMachineLearningModel.txx | 2 +- RELEASE_NOTES.txt | 2 +- 11 files changed, 17 insertions(+), 17 deletions(-) diff --git a/Documentation/Cookbook/rst/Installation_Linux.txt b/Documentation/Cookbook/rst/Installation_Linux.txt index f8b0dd652b..a236e906a5 100644 --- a/Documentation/Cookbook/rst/Installation_Linux.txt +++ b/Documentation/Cookbook/rst/Installation_Linux.txt @@ -39,8 +39,8 @@ archive is extracted, the directory structure consists of: - ``share``: A folder containing common resources and copyright mentions. -- ``tool``: A folder containing usefull scripts to test the installation or - to uninstall OTB libraries and headers while keeping all the depedencies. +- ``tool``: A folder containing useful scripts to test the installation or + to uninstall OTB libraries and headers while keeping all the dependencies. The applications can be launched from the Mapla launcher. If you want to use the otbcli and otbgui launchers, you can initialize your environment diff --git a/Documentation/Cookbook/rst/Installation_Macx.txt b/Documentation/Cookbook/rst/Installation_Macx.txt index 1d227e256e..961e6b1b75 100644 --- a/Documentation/Cookbook/rst/Installation_Macx.txt +++ b/Documentation/Cookbook/rst/Installation_Macx.txt @@ -28,8 +28,8 @@ Contents of OTB-|release|-Darwin64 is briefly listed below: - ``share``: A folder containing common resources and copyright mentions. -- ``tool``: A folder containing usefull scripts to test the installation or - to uninstall OTB libraries and headers while keeping all the depedencies. +- ``tool``: A folder containing useful scripts to test the installation or + to uninstall OTB libraries and headers while keeping all the dependencies. The applications can be launched from the Mapla launcher. If you want to use the otbcli and otbgui launchers, you can initialize your environment diff --git a/Documentation/Cookbook/rst/Installation_Windows.txt b/Documentation/Cookbook/rst/Installation_Windows.txt index 24b3a0c92c..ab1fe76387 100644 --- a/Documentation/Cookbook/rst/Installation_Windows.txt +++ b/Documentation/Cookbook/rst/Installation_Windows.txt @@ -21,8 +21,8 @@ and their launchers (both command line and graphical launchers are provided): - ``include``: A folder containing all the necessary headers to compile OTB based projects. -- ``tool``: A folder containing usefull scripts to test the installation or - to uninstall OTB libraries and headers while keeping all the depedencies. +- ``tool``: A folder containing useful scripts to test the installation or + to uninstall OTB libraries and headers while keeping all the dependencies. The applications can be launched from the Mapla launcher. If you want to use the otbcli and otbgui launchers, you can initialize a command prompt diff --git a/Documentation/Cookbook/rst/recipes/contrast_enhancement.rst b/Documentation/Cookbook/rst/recipes/contrast_enhancement.rst index 79273a1b8d..ab2a9a9817 100644 --- a/Documentation/Cookbook/rst/recipes/contrast_enhancement.rst +++ b/Documentation/Cookbook/rst/recipes/contrast_enhancement.rst @@ -41,7 +41,7 @@ You can apply this transformation with the *ContrastEnhancement* application: -out output_image.tif -spatial global -It allows to compress the dynamic without loosing details and contrast. +It allows to compress the dynamic without losing details and contrast. Advanced parameters ~~~~~~~~~~~~~~~~~~~ diff --git a/Modules/Applications/AppFiltering/app/otbContrastEnhancement.cxx b/Modules/Applications/AppFiltering/app/otbContrastEnhancement.cxx index 16e518a278..3c55bf6efa 100644 --- a/Modules/Applications/AppFiltering/app/otbContrastEnhancement.cxx +++ b/Modules/Applications/AppFiltering/app/otbContrastEnhancement.cxx @@ -151,7 +151,7 @@ private: SetName("ContrastEnhancement"); SetDescription("This application is the implementation of the histogram " "equalization algorithm. It can be used to enhance contrast in an image " - "or to reduce the dynamic of th image without loosing too much contrast. " + "or to reduce the dynamic of the image without losing too much contrast. " "It offers several options as a no data value, " "a contrast limitation factor, a local version of the algorithm and " "also a mode to equalized the luminance of the image."); @@ -704,7 +704,7 @@ private: void ComputeLuminance( const FloatVectorImageType::Pointer inImage , std::vector < unsigned int > rgb ) { - // Retreive coeffs for each channel + // Retrieve coeffs for each channel std::vector < float > lumCoef( 3 , 0.0 ); lumCoef[0] = GetParameterFloat("mode.lum.red.coef"); lumCoef[1] = GetParameterFloat("mode.lum.green.coef"); @@ -828,7 +828,7 @@ private: } } - // Threshold function that is normaly done in ComputeHistoFilter and here is + // Threshold function that is normally done in ComputeHistoFilter and here is // used on the output of HistoPersistentFilterType. void Threshold( HistoPersistentFilterType::HistogramListType * histoList , unsigned int nbBin ) diff --git a/Modules/Applications/AppHyperspectral/app/otbVertexComponentAnalysis.cxx b/Modules/Applications/AppHyperspectral/app/otbVertexComponentAnalysis.cxx index 68c99058b4..c3b04df6a9 100644 --- a/Modules/Applications/AppHyperspectral/app/otbVertexComponentAnalysis.cxx +++ b/Modules/Applications/AppHyperspectral/app/otbVertexComponentAnalysis.cxx @@ -51,7 +51,7 @@ private: { SetName("VertexComponentAnalysis"); SetDescription("Given a set of mixed spectral vectors, estimate" - "reference subtances also known as endmembers using the Vertex" + "reference substances also known as endmembers using the Vertex" "Component Analysis algorithm."); // Documentation @@ -59,7 +59,7 @@ private: SetDocLongDescription("Apply the Vertex Component Analysis [1] to" "an hyperspectral image to extract endmembers. Given a set of mixed" "spectral vectors (multispectral or hyperspectral), the application" - "estimates the spectral signature of reference subtances also known" + "estimates the spectral signature of reference substances also known" "as endmembers."); SetDocLimitations("None"); SetDocAuthors("OTB-Team"); diff --git a/Modules/Applications/AppStereo/app/otbStereoRectificationGridGenerator.cxx b/Modules/Applications/AppStereo/app/otbStereoRectificationGridGenerator.cxx index 111dea621f..616594a6bb 100644 --- a/Modules/Applications/AppStereo/app/otbStereoRectificationGridGenerator.cxx +++ b/Modules/Applications/AppStereo/app/otbStereoRectificationGridGenerator.cxx @@ -115,7 +115,7 @@ private: " geometry.\n\n" "There are several ways to set the elevation source:\n" " * An arbitrary constant elevation\n" - " * A DEM directoy\n" + " * A DEM directory\n" " * Compute an average elevation from a DEM\n\n" "If needed, the application can compute inverse resampling grids (from " "epipolar to original sensor geometry). Don't forget to check the other " diff --git a/Modules/Applications/AppVectorUtils/app/otbVectorDataTransform.cxx b/Modules/Applications/AppVectorUtils/app/otbVectorDataTransform.cxx index 566ca5a34d..be16319089 100644 --- a/Modules/Applications/AppVectorUtils/app/otbVectorDataTransform.cxx +++ b/Modules/Applications/AppVectorUtils/app/otbVectorDataTransform.cxx @@ -89,7 +89,7 @@ private: AddParameter(ParameterType_InputImage, "in", "Support image"); SetParameterDescription("in","Image defining the reference coordinate " - "system in which the tranform is applied. Both projected and sensor " + "system in which the transform is applied. Both projected and sensor " "images are supported."); // Transform Group diff --git a/Modules/Filtering/Contrast/include/otbComputeGainLutFilter.h b/Modules/Filtering/Contrast/include/otbComputeGainLutFilter.h index 431b6f1f0f..5a4c088dbc 100644 --- a/Modules/Filtering/Contrast/include/otbComputeGainLutFilter.h +++ b/Modules/Filtering/Contrast/include/otbComputeGainLutFilter.h @@ -107,7 +107,7 @@ private: HistoType & targetHisto ) ; //TODO Give the opportunity to choose the histogram target - /** Check whether the input histogram has enought pixel to be meaningful */ + /** Check whether the input histogram has enough pixel to be meaningful */ bool IsValid(const HistoType & inputHisto ) ; double m_Min; diff --git a/Modules/Learning/LearningBase/include/otbMachineLearningModel.txx b/Modules/Learning/LearningBase/include/otbMachineLearningModel.txx index 678974e9d4..00da041387 100644 --- a/Modules/Learning/LearningBase/include/otbMachineLearningModel.txx +++ b/Modules/Learning/LearningBase/include/otbMachineLearningModel.txx @@ -109,7 +109,7 @@ MachineLearningModel<TInputValue,TOutputValue,TConfidenceValue> nb_threads = omp_get_num_threads(); threadId = omp_get_thread_num(); nb_batches = std::min(nb_threads,(unsigned int)input->Size()); - // Ensure that we do not spawn unncessary threads + // Ensure that we do not spawn unnecessary threads if(threadId<nb_batches) { unsigned int batch_size = ((unsigned int)input->Size()/nb_batches); diff --git a/RELEASE_NOTES.txt b/RELEASE_NOTES.txt index 1f7046b54e..438e6ae1bb 100644 --- a/RELEASE_NOTES.txt +++ b/RELEASE_NOTES.txt @@ -46,7 +46,7 @@ OTB-v.6.2.0 - Changes since version 6.0.0 (October 26th, 2017) * 0001460: Unable to compile OTB 6.2.0 RC1 with superbuild (CURL issue) * Orfeo Toolbox (OTB) - * 0001453: Applications crash with inxml paramter (GUI mode) + * 0001453: Applications crash with inxml parameter (GUI mode) * 0001405: Crash on optical calibration, TOC mode, GUI only (command line works), only on Mac * 0001422: Optical Calibration application crash on MacOSX * 0001401: ktrace reports too many file open for any otbapplication -- GitLab