Commit d955d640 authored by Bas Couwenberg's avatar Bas Couwenberg

Fix spelling errors.

 * catched   -> caught
 * ouput     -> output
 * allows to -> allows <verb>ing
parent 0e6ac202
......@@ -5,7 +5,7 @@
<platform>Linux</platform>
<application>
<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>
<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>
......
......@@ -315,7 +315,7 @@ private:
// Interpolators
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");
// NN
......
......@@ -302,7 +302,7 @@ private:
}
catch (...)
{
SetParameterDescription("exp", "Other exception catched");
SetParameterDescription("exp", "Other exception caught");
}
}
......
......@@ -488,7 +488,7 @@ private:
// in this case, the pipeline cannot be resolved : the output image (wo)
// won't be computed and a segfault can occur.
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");
}
......
......@@ -440,7 +440,7 @@ auto NewFunctorFilter(Functor f, itk::Size<2> radius)
/**
* \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.
*
* Its purpose is to enable the use of lambda or functor witht
......
......@@ -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
* 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.
*
* Example of use:
......
......@@ -424,7 +424,7 @@ int otbFunctorImageFilter(int itkNotUsed(argc), char* itkNotUsed(argv)[])
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
auto filterLambda2 = NewFunctorFilter(Lambda2, vimage->GetNumberOfComponentsPerPixel(), {{3, 3}});
filterLambda2->SetInputs(image);
......
......@@ -41,7 +41,7 @@ namespace otb
* 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
* 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())
* can be set using the method between brackets.
*
......
......@@ -38,7 +38,7 @@ namespace otb
* Two parameters can be set:
* -Distance image interpolator: explicit
* -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)
*
* Support streaming
......
......@@ -696,16 +696,16 @@ public:
* to select the image in an InputImageList. */
ImageBaseType::PointType GetImageOrigin(const std::string& key, unsigned int idx = 0);
/** Get the spacing of the image parameter 'key'. The optional 'idx' allows to
* select the image in an InputImageList. We use the signed spacing convention. */
/** Get the spacing of the image parameter 'key'. The optional 'idx' allows
* selecting the image in an InputImageList. We use the signed spacing convention. */
ImageBaseType::SpacingType GetImageSpacing(const std::string& key, unsigned int idx = 0);
/** Get the size of the image parameter 'key'. The optional 'idx' allows to
* select the image in an InputImageList. It corresponds to the size of LargestPossibleRegion*/
/** Get the size of the image parameter 'key'. The optional 'idx' allows
* selecting the image in an InputImageList. It corresponds to the size of LargestPossibleRegion*/
ImageBaseType::SizeType GetImageSize(const std::string& key, unsigned int idx = 0);
/** 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);
/** Get the projection of the image parameter 'key'. The optional 'idx' allows
......@@ -713,18 +713,18 @@ public:
std::string GetImageProjection(const std::string& key, unsigned int idx = 0);
/** 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);
/** 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
* 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*/
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'
* 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).*/
ImageBaseType::RegionType GetImageRequestedRegion(const std::string& key, unsigned int idx = 0);
......@@ -733,12 +733,12 @@ public:
/** Find out what is the pixel type from an image parameter
* 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);
/** Return the image from parameter 'key' as a base type. The optional 'idx'
* allows to access InputImageList.
* allows accessing InputImageList.
*
* Works on parameters:
* \li ParameterType_InputImage
......@@ -748,7 +748,7 @@ public:
ImageBaseType* GetParameterImageBase(const std::string& key, unsigned int idx = 0);
/** Set the image in parameter 'key' as a base type. The optional 'idx'
* allows to access InputImageList.
* allows accessing InputImageList.
*
* Works on parameters:
* \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