Commit 30588d96 authored by Cédric Traizet's avatar Cédric Traizet

Merge branch 'spelling-errors' into 'develop'

Fix spelling errors.

See merge request !599
parents c212ce9f d955d640
Pipeline #2733 passed with stages
in 5 minutes and 50 seconds
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
<platform>Linux</platform> <platform>Linux</platform>
<application> <application>
<name>OrthoRectification</name> <name>OrthoRectification</name>
<descr>This application allows to ortho-rectify optical images from supported sensors.&#x0A;</descr> <descr>This application allows ortho-rectifying optical images from supported sensors.&#x0A;</descr>
<doc> <doc>
<name>Ortho-rectification</name> <name>Ortho-rectification</name>
<longdescr>An inverse sensor model is built from the input image metadata to convert geographical to raw geometry coordinates. This inverse sensor model is then combined with the chosen map projection to build a global coordinate mapping grid. Last, this grid is used to resample using the chosen interpolation algorithm. A Digital Elevation Model can be specified to account for terrain deformations. &#x0A;In case of SPOT5 images, the sensor model can be approximated by an RPC model in order to speed-up computation.</longdescr> <longdescr>An inverse sensor model is built from the input image metadata to convert geographical to raw geometry coordinates. This inverse sensor model is then combined with the chosen map projection to build a global coordinate mapping grid. Last, this grid is used to resample using the chosen interpolation algorithm. A Digital Elevation Model can be specified to account for terrain deformations. &#x0A;In case of SPOT5 images, the sensor model can be approximated by an RPC model in order to speed-up computation.</longdescr>
......
...@@ -315,7 +315,7 @@ private: ...@@ -315,7 +315,7 @@ private:
// Interpolators // Interpolators
AddParameter(ParameterType_Choice, "interpolator", "Interpolation"); AddParameter(ParameterType_Choice, "interpolator", "Interpolation");
SetParameterDescription("interpolator", "This group of parameters allows to define how the input image will be interpolated during resampling."); SetParameterDescription("interpolator", "This group of parameters allows defining how the input image will be interpolated during resampling.");
MandatoryOff("interpolator"); MandatoryOff("interpolator");
// NN // NN
......
...@@ -302,7 +302,7 @@ private: ...@@ -302,7 +302,7 @@ private:
} }
catch (...) catch (...)
{ {
SetParameterDescription("exp", "Other exception catched"); SetParameterDescription("exp", "Other exception caught");
} }
} }
......
...@@ -488,7 +488,7 @@ private: ...@@ -488,7 +488,7 @@ private:
// in this case, the pipeline cannot be resolved : the output image (wo) // in this case, the pipeline cannot be resolved : the output image (wo)
// won't be computed and a segfault can occur. // won't be computed and a segfault can occur.
otbAppLogFATAL( otbAppLogFATAL(
"w option has not been set : the ouput image cannot be produced." "w option has not been set : the output image cannot be produced."
"Stop execution because the pipeline cannot be resolved"); "Stop execution because the pipeline cannot be resolved");
} }
......
...@@ -440,7 +440,7 @@ auto NewFunctorFilter(Functor f, itk::Size<2> radius) ...@@ -440,7 +440,7 @@ auto NewFunctorFilter(Functor f, itk::Size<2> radius)
/** /**
* \struct NumberOfOutputBandsDecorator * \struct NumberOfOutputBandsDecorator
* \brief This struct allows to forward the operator of template * \brief This struct allows forwarding the operator of template
* parameter, while adding number of ouptut components service. * parameter, while adding number of ouptut components service.
* *
* Its purpose is to enable the use of lambda or functor witht * Its purpose is to enable the use of lambda or functor witht
......
...@@ -67,7 +67,7 @@ struct tuple_index<Arg, std::tuple<NotMatching, Args...>> ...@@ -67,7 +67,7 @@ struct tuple_index<Arg, std::tuple<NotMatching, Args...>>
* used as a tag to set/get the corresponding input and thus should be * used as a tag to set/get the corresponding input and thus should be
* unique in tuple. * unique in tuple.
* *
* This allows to add semantic to inputs and remove the need for the * This allows adding semantic to inputs and remove the need for the
* user to know input orders and set them by their index. * user to know input orders and set them by their index.
* *
* Example of use: * Example of use:
......
...@@ -424,7 +424,7 @@ int otbFunctorImageFilter(int itkNotUsed(argc), char* itkNotUsed(argv)[]) ...@@ -424,7 +424,7 @@ int otbFunctorImageFilter(int itkNotUsed(argc), char* itkNotUsed(argv)[])
return out; return out;
}; };
// In this case, we use the helper function which allows to specify // In this case, we use the helper function which allows specifying
// the number of outputs // the number of outputs
auto filterLambda2 = NewFunctorFilter(Lambda2, vimage->GetNumberOfComponentsPerPixel(), {{3, 3}}); auto filterLambda2 = NewFunctorFilter(Lambda2, vimage->GetNumberOfComponentsPerPixel(), {{3, 3}});
filterLambda2->SetInputs(image); filterLambda2->SetInputs(image);
......
...@@ -41,7 +41,7 @@ namespace otb ...@@ -41,7 +41,7 @@ namespace otb
* regions of input images. There is a shift-scale mode which allows * regions of input images. There is a shift-scale mode which allows
* to shift-scale input images, which can be usefull e.g. color or * to shift-scale input images, which can be usefull e.g. color or
* radiometric harmonization of input set of images. The output * radiometric harmonization of input set of images. The output
* spacing (SetOuputSpacing()), the start index (SetOutputIndex()) and * spacing (SetOutputSpacing()), the start index (SetOutputIndex()) and
* the interpolator (SetInterpolator()) and the origin (SetOrigin()) * the interpolator (SetInterpolator()) and the origin (SetOrigin())
* can be set using the method between brackets. * can be set using the method between brackets.
* *
......
...@@ -38,7 +38,7 @@ namespace otb ...@@ -38,7 +38,7 @@ namespace otb
* Two parameters can be set: * Two parameters can be set:
* -Distance image interpolator: explicit * -Distance image interpolator: explicit
* -Distance image offset: this value is added to the interpolated distance image * -Distance image offset: this value is added to the interpolated distance image
* value, which allows to create a margin around the edges * value, which allows creating a margin around the edges
* of the image (i.e. around the 0-value distance image contour) * of the image (i.e. around the 0-value distance image contour)
* *
* Support streaming * Support streaming
......
...@@ -696,16 +696,16 @@ public: ...@@ -696,16 +696,16 @@ public:
* to select the image in an InputImageList. */ * to select the image in an InputImageList. */
ImageBaseType::PointType GetImageOrigin(const std::string& key, unsigned int idx = 0); ImageBaseType::PointType GetImageOrigin(const std::string& key, unsigned int idx = 0);
/** Get the spacing of the image parameter 'key'. The optional 'idx' allows to /** Get the spacing of the image parameter 'key'. The optional 'idx' allows
* select the image in an InputImageList. We use the signed spacing convention. */ * selecting the image in an InputImageList. We use the signed spacing convention. */
ImageBaseType::SpacingType GetImageSpacing(const std::string& key, unsigned int idx = 0); ImageBaseType::SpacingType GetImageSpacing(const std::string& key, unsigned int idx = 0);
/** Get the size of the image parameter 'key'. The optional 'idx' allows to /** Get the size of the image parameter 'key'. The optional 'idx' allows
* select the image in an InputImageList. It corresponds to the size of LargestPossibleRegion*/ * selecting the image in an InputImageList. It corresponds to the size of LargestPossibleRegion*/
ImageBaseType::SizeType GetImageSize(const std::string& key, unsigned int idx = 0); ImageBaseType::SizeType GetImageSize(const std::string& key, unsigned int idx = 0);
/** Get the number of bands in the image parameter 'key'. The optional 'idx' /** Get the number of bands in the image parameter 'key'. The optional 'idx'
* allows to select the image in an InputImageList.*/ * allows selecting the image in an InputImageList.*/
unsigned int GetImageNbBands(const std::string& key, unsigned int idx = 0); unsigned int GetImageNbBands(const std::string& key, unsigned int idx = 0);
/** Get the projection of the image parameter 'key'. The optional 'idx' allows /** Get the projection of the image parameter 'key'. The optional 'idx' allows
...@@ -713,18 +713,18 @@ public: ...@@ -713,18 +713,18 @@ public:
std::string GetImageProjection(const std::string& key, unsigned int idx = 0); std::string GetImageProjection(const std::string& key, unsigned int idx = 0);
/** Get the keywordlist of the image parameter 'key'. The optional 'idx' /** Get the keywordlist of the image parameter 'key'. The optional 'idx'
* allows to select the image in an InputImageList.*/ * allows selecting the image in an InputImageList.*/
otb::ImageKeywordlist GetImageKeywordlist(const std::string& key, unsigned int idx = 0); otb::ImageKeywordlist GetImageKeywordlist(const std::string& key, unsigned int idx = 0);
/** Set the requested region on the image parameter 'key' and propagate it. /** Set the requested region on the image parameter 'key' and propagate it.
* The returned value is an estimate of the RAM usage (in Bytes) to process * The returned value is an estimate of the RAM usage (in Bytes) to process
* this region. It should be assumed that the index of the largest possible * this region. It should be assumed that the index of the largest possible
* region starts at (0,0). The optional 'idx' allows to select the image in * region starts at (0,0). The optional 'idx' allows selecting the image in
* an InputImageList*/ * an InputImageList*/
unsigned long PropagateRequestedRegion(const std::string& key, ImageBaseType::RegionType region, unsigned int idx = 0); unsigned long PropagateRequestedRegion(const std::string& key, ImageBaseType::RegionType region, unsigned int idx = 0);
/** Get the requested region of the image parameter 'key'. The optional 'idx' /** Get the requested region of the image parameter 'key'. The optional 'idx'
* allows to select the image in an InputImageList. It should be assumed that * allows selecting the image in an InputImageList. It should be assumed that
* the index of the largest possible region starts at (0,0).*/ * the index of the largest possible region starts at (0,0).*/
ImageBaseType::RegionType GetImageRequestedRegion(const std::string& key, unsigned int idx = 0); ImageBaseType::RegionType GetImageRequestedRegion(const std::string& key, unsigned int idx = 0);
...@@ -733,12 +733,12 @@ public: ...@@ -733,12 +733,12 @@ public:
/** Find out what is the pixel type from an image parameter /** Find out what is the pixel type from an image parameter
* This function assumes that the underlying object is either an otb::Image * This function assumes that the underlying object is either an otb::Image
* or an otb::VectorImage. The optional 'idx' allows to access InputImageList. * or an otb::VectorImage. The optional 'idx' allows accessing InputImageList.
*/ */
ImagePixelType GetImageBasePixelType(const std::string& key, unsigned int idx = 0); ImagePixelType GetImageBasePixelType(const std::string& key, unsigned int idx = 0);
/** Return the image from parameter 'key' as a base type. The optional 'idx' /** Return the image from parameter 'key' as a base type. The optional 'idx'
* allows to access InputImageList. * allows accessing InputImageList.
* *
* Works on parameters: * Works on parameters:
* \li ParameterType_InputImage * \li ParameterType_InputImage
...@@ -748,7 +748,7 @@ public: ...@@ -748,7 +748,7 @@ public:
ImageBaseType* GetParameterImageBase(const std::string& key, unsigned int idx = 0); ImageBaseType* GetParameterImageBase(const std::string& key, unsigned int idx = 0);
/** Set the image in parameter 'key' as a base type. The optional 'idx' /** Set the image in parameter 'key' as a base type. The optional 'idx'
* allows to access InputImageList. * allows accessing InputImageList.
* *
* Works on parameters: * Works on parameters:
* \li ParameterType_InputImage * \li ParameterType_InputImage
......
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