Commit 8cafd175 authored by Rashad Kanavath's avatar Rashad Kanavath

ENH: apply spelling.patch from DebianGIS

This is a big one without much harm. It fixes incorrect spelling
and grammer when packaging OTB 5.0.0 and 5.2.0 for Debian.
Most of these changes are done by developers at DebianGIS.
For more info, I include the original patch header below.
Description: Fix some spelling errors to silence lintian
enabling  to concentrate on the real problem.
Author: Andreas Tille <tille@debian.org>
Author: Rashad Kanavath <rashad.kanavath@c-s.fr>
Author: Bas Couwenberg <sebastic@xs4all.nl>
Last-Update: 2015-12-22
parent 39c99797
...@@ -17,7 +17,7 @@ of Health. ITK is partially derived from VTK and VXL, hence some code is ...@@ -17,7 +17,7 @@ of Health. ITK is partially derived from VTK and VXL, hence some code is
copyrighted accordingly (see VTKCopyright.txt and VXLCopyright.txt). copyrighted accordingly (see VTKCopyright.txt and VXLCopyright.txt).
The copyright of most of the files in the "Utilities" subdirectory is held by The copyright of most of the files in the "Utilities" subdirectory is held by
third parties who allow to distribute this material under a license compatible third parties who allow distributing this material under a license compatible
with the one used by ITK. Please read the content of the subdirectories for with the one used by ITK. Please read the content of the subdirectories for
specific details on those third-party licenses. You will also find details in specific details on those third-party licenses. You will also find details in
the README.txt file under the "Copyright" subdirectory. the README.txt file under the "Copyright" subdirectory.
......
...@@ -151,7 +151,7 @@ int main( int argc, char* argv[]) ...@@ -151,7 +151,7 @@ int main( int argc, char* argv[])
// //
// Now we can define the mathematical expression to perform on the layers (b1, b2, b3, b4). // Now we can define the mathematical expression to perform on the layers (b1, b2, b3, b4).
// The filter takes advantage of the parsing capabilities of the muParser library and // The filter takes advantage of the parsing capabilities of the muParser library and
// allows to set the expression as on a digital calculator. // allows setting the expression as on a digital calculator.
// //
// The expression below returns 255 if the ratio $(NIR-RED)/(NIR+RED)$ is greater than 0.4 and 0 if not. // The expression below returns 255 if the ratio $(NIR-RED)/(NIR+RED)$ is greater than 0.4 and 0 if not.
// //
......
...@@ -51,7 +51,7 @@ ...@@ -51,7 +51,7 @@
// something accepting the syntax \code{foo()}. This can be // something accepting the syntax \code{foo()}. This can be
// implemented using classical C/C++ functions, but it is preferable // implemented using classical C/C++ functions, but it is preferable
// to implement it using C++ functors. These are classical C++ classes // to implement it using C++ functors. These are classical C++ classes
// which overload the \code{()} operator. This allows to use them with // which overload the \code{()} operator. This allows using them with
// the same syntax as C/C++ functions. // the same syntax as C/C++ functions.
// //
// Since change detectors operate on neighborhoods, the functor // Since change detectors operate on neighborhoods, the functor
......
...@@ -32,8 +32,8 @@ ...@@ -32,8 +32,8 @@
// This example illustrates the class // This example illustrates the class
// \doxygen{otb}{MultivariateAlterationChangeDetectorImageFilter}, // \doxygen{otb}{MultivariateAlterationChangeDetectorImageFilter},
// which implements the Multivariate Alteration Change Detector // which implements the Multivariate Alteration Change Detector
// algorithm \cite{nielsen2007regularized}. This algorihtm allows to // algorithm \cite{nielsen2007regularized}. This algorihtm allows
// perform change detection from a pair multi-band images, including // performing change detection from a pair multi-band images, including
// images with different number of bands or modalities. Its output is // images with different number of bands or modalities. Its output is
// a a multi-band image of change maps, each one being unccorrelated // a a multi-band image of change maps, each one being unccorrelated
// with the remaining. The number of bands of the output image is the // with the remaining. The number of bands of the output image is the
......
...@@ -135,8 +135,8 @@ int main(int itkNotUsed(argc), char * argv[]) ...@@ -135,8 +135,8 @@ int main(int itkNotUsed(argc), char * argv[])
// //
// Other useful methods are: // Other useful methods are:
// \begin{itemize} // \begin{itemize}
// \item \code{SetNthElement()} and \code{GetNthElement()} allow to // \item \code{SetNthElement()} and \code{GetNthElement()} allow
// randomly access any element of the list. // randomly accessing any element of the list.
// \item \code{Front()} to access to the first element of the list. // \item \code{Front()} to access to the first element of the list.
// \item \code{Erase()} to remove an element. // \item \code{Erase()} to remove an element.
// \end{itemize} // \end{itemize}
......
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
// However, the \doxygen{itk}{Vector} is a fixed size array and it // However, the \doxygen{itk}{Vector} is a fixed size array and it
// assumes that the number of channels of the image is known at // assumes that the number of channels of the image is known at
// compile time. Therefore, we prefer to use the // compile time. Therefore, we prefer to use the
// \doxygen{otb}{VectorImage} class which allows to choose the number // \doxygen{otb}{VectorImage} class which allows choosing the number
// of channels of the image at runtime. The pixels will be of type // of channels of the image at runtime. The pixels will be of type
// \doxygen{itk}{VariableLengthVector}. // \doxygen{itk}{VariableLengthVector}.
// //
...@@ -91,7 +91,7 @@ int main(int, char *[]) ...@@ -91,7 +91,7 @@ int main(int, char *[])
image->SetRegions(region); image->SetRegions(region);
// Software Guide : BeginLatex // Software Guide : BeginLatex
// Since the pixel dimensionality is choosen at runtime, one has to // Since the pixel dimensionality is chosen at runtime, one has to
// pass this parameter to the image before memory allocation. // pass this parameter to the image before memory allocation.
// Software Guide : EndLatex // Software Guide : EndLatex
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
// This example illustrates how a point set can be parameterized to manage a // This example illustrates how a point set can be parameterized to manage a
// particular pixel type. It is quite common to associate vector values with // particular pixel type. It is quite common to associate vector values with
// points for producing geometric representations or storing // points for producing geometric representations or storing
// multi-band informations. The following code shows // multi-band information. The following code shows
// how vector values can be used as pixel type on the PointSet class. The // how vector values can be used as pixel type on the PointSet class. The
// \doxygen{itk}{Vector} class is used here as the pixel type. This class is // \doxygen{itk}{Vector} class is used here as the pixel type. This class is
// appropriate for representing the relative position between two points. It // appropriate for representing the relative position between two points. It
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
// Software Guide : BeginLatex // Software Guide : BeginLatex
// //
// This example illustrates the use of the \doxygen{otb}{ImageToPathListAlignFilter}. // This example illustrates the use of the \doxygen{otb}{ImageToPathListAlignFilter}.
// This filter allows to extract meaninful alignments. Alignments // This filter allows extracting meaninful alignments. Alignments
// (that is edges and lines) are detected using the {\em Gestalt} // (that is edges and lines) are detected using the {\em Gestalt}
// approach proposed by Desolneux et al. \cite{desolneux}. In this // approach proposed by Desolneux et al. \cite{desolneux}. In this
// context, an event is // context, an event is
......
...@@ -180,7 +180,7 @@ int main(int argc, char * argv[]) ...@@ -180,7 +180,7 @@ int main(int argc, char * argv[])
// Software Guide : BeginLatex // Software Guide : BeginLatex
// //
// The methods \code{SetLengthLine()} and \code{SetWidthLine()} // The methods \code{SetLengthLine()} and \code{SetWidthLine()}
// allow to set the minimum length and the typical witdh of the // allow setting the minimum length and the typical witdh of the
// lines which are to be detected. // lines which are to be detected.
// //
// \index{otb::AssymetricFusionOfDetector!SetWidthLine()} // \index{otb::AssymetricFusionOfDetector!SetWidthLine()}
......
...@@ -185,7 +185,7 @@ int main(int argc, char * argv[]) ...@@ -185,7 +185,7 @@ int main(int argc, char * argv[])
// Software Guide : BeginLatex // Software Guide : BeginLatex
// //
// The methods \code{SetLengthLine()} and \code{SetWidthLine()} // The methods \code{SetLengthLine()} and \code{SetWidthLine()}
// allow to set the minimum length and the typical witdh of the // allow setting the minimum length and the typical witdh of the
// lines which are to be detected. // lines which are to be detected.
// //
// \index{otb::LineCorrelationDetector!SetWidthLine()} // \index{otb::LineCorrelationDetector!SetWidthLine()}
......
...@@ -194,7 +194,7 @@ int main(int argc, char * argv[]) ...@@ -194,7 +194,7 @@ int main(int argc, char * argv[])
// Software Guide : BeginLatex // Software Guide : BeginLatex
// //
// The methods \code{SetLengthLine()} and \code{SetWidthLine()} // The methods \code{SetLengthLine()} and \code{SetWidthLine()}
// allow to set the minimum length and the typical witdh of the // allow setting the minimum length and the typical witdh of the
// lines which are to be detected. // lines which are to be detected.
// //
// //
......
...@@ -191,7 +191,7 @@ int main(int argc, char * argv[]) ...@@ -191,7 +191,7 @@ int main(int argc, char * argv[])
// Software Guide : BeginLatex // Software Guide : BeginLatex
// //
// The methods \code{SetLengthLine()} and \code{SetWidthLine()} // The methods \code{SetLengthLine()} and \code{SetWidthLine()}
// allow to set the minimum length and the typical witdh of the // allow setting the minimum length and the typical witdh of the
// lines which are to be detected. // lines which are to be detected.
// //
// //
......
...@@ -184,7 +184,7 @@ int main(int argc, char * argv[]) ...@@ -184,7 +184,7 @@ int main(int argc, char * argv[])
// Software Guide : BeginLatex // Software Guide : BeginLatex
// //
// The methods \code{SetLengthLine()} and \code{SetWidthLine()} // The methods \code{SetLengthLine()} and \code{SetWidthLine()}
// allow to set the minimum length and the typical witdh of the // allow setting the minimum length and the typical witdh of the
// lines which are to be detected. // lines which are to be detected.
// //
// \index{otb::LineRatioDetector!SetWidthLine()} // \index{otb::LineRatioDetector!SetWidthLine()}
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
// Software Guide : BeginLatex // Software Guide : BeginLatex
// //
// The \doxygen{otb}{VectorDataToMapFilter} allows to perform // The \doxygen{otb}{VectorDataToMapFilter} allows performing
// rasterization of a given vector data as a binary mask. This example // rasterization of a given vector data as a binary mask. This example
// will demonstrate how to use this filter to perform rasterization of // will demonstrate how to use this filter to perform rasterization of
// the SRTM water body masks available here: // the SRTM water body masks available here:
......
...@@ -68,9 +68,9 @@ if(argc!=8) ...@@ -68,9 +68,9 @@ if(argc!=8)
// Software Guide : BeginLatex // Software Guide : BeginLatex
// //
// It allows to configure a directory containing DEM tiles (DTED or SRTM // It allows configuring a directory containing DEM tiles (DTED or SRTM
// supported) using the \code{OpenDEMDirectory()} method. The \code{OpenGeoidFile()} method // supported) using the \code{OpenDEMDirectory()} method. The \code{OpenGeoidFile()} method
// allows to input a geoid file as well. Last, a default height above ellipsoid // allows inputting a geoid file as well. Last, a default height above ellipsoid
// can be set using the \code{SetDefaultHeightAboveEllipsoid()} method. // can be set using the \code{SetDefaultHeightAboveEllipsoid()} method.
// //
// Software Guide : EndLatex // Software Guide : EndLatex
......
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
// OTB is using GDAL to support HDF. HDF4 and HDF5 supports in Gdal is // OTB is using GDAL to support HDF. HDF4 and HDF5 supports in Gdal is
// not activated by default. You need to download the HDF run-time // not activated by default. You need to download the HDF run-time
// libraries and compile Gdal by adding the support of these formats. You can // libraries and compile Gdal by adding the support of these formats. You can
// find more informations here : \url{http://trac.osgeo.org/gdal/wiki/HDF} // find more information here : \url{http://trac.osgeo.org/gdal/wiki/HDF}
// //
// //
// The first step toward the use of these filters is to include the proper header files. // The first step toward the use of these filters is to include the proper header files.
...@@ -87,9 +87,9 @@ int main(int itkNotUsed(argc), char * argv[]) ...@@ -87,9 +87,9 @@ int main(int itkNotUsed(argc), char * argv[])
// Software Guide : BeginLatex // Software Guide : BeginLatex
// //
// You can access to subdatasets' informations available in the HDF file using // You can access to subdatasets' information available in the HDF file using
// the \code{GetSubDatasetInfo} method of \doxygen{otb}{GDALImageIO}. // the \code{GetSubDatasetInfo} method of \doxygen{otb}{GDALImageIO}.
// It allows to store HDF subdatasets names and descriptions in vector of string. // It allows storing HDF subdatasets names and descriptions in vector of string.
// You can find below how to print the name and the decription // You can find below how to print the name and the decription
// of all the subdatasets. // of all the subdatasets.
// //
......
...@@ -93,8 +93,8 @@ int main(int argc, char * argv[]) ...@@ -93,8 +93,8 @@ int main(int argc, char * argv[])
// //
// The ExtractROI type is instantiated using // The ExtractROI type is instantiated using
// the input and output pixel types. Using the pixel types as // the input and output pixel types. Using the pixel types as
// template parameters instead of the image types allows to // template parameters instead of the image types allows
// restrict the use of this class to \doxygen{otb}{Image}s which // restricting the use of this class to \doxygen{otb}{Image}s which
// are used with scalar pixel types. See section // are used with scalar pixel types. See section
// \ref{sec:ExtractROI} for the extraction of ROIs on // \ref{sec:ExtractROI} for the extraction of ROIs on
// \doxygen{otb}{VectorImage}s. A filter object is created with the // \doxygen{otb}{VectorImage}s. A filter object is created with the
......
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
// and MapFile products. // and MapFile products.
// Note that the \doxygen{otb}{KmzProductWriter} and the // Note that the \doxygen{otb}{KmzProductWriter} and the
// \doxygen{otb}{MapFileProductWriter} can only process inputs with a // \doxygen{otb}{MapFileProductWriter} can only process inputs with a
// non empty geographical informations. // non empty geographical information.
// //
// The first step toward the use of these filters is to include the // The first step toward the use of these filters is to include the
// proper header files: the one for the rpc sensor estimation filter and // proper header files: the one for the rpc sensor estimation filter and
...@@ -113,7 +113,7 @@ int main(int argc, char* argv[]) ...@@ -113,7 +113,7 @@ int main(int argc, char* argv[])
// or its keywordlist is updated. In general, a dozen of GCPs are // or its keywordlist is updated. In general, a dozen of GCPs are
// needed to estimate an accurate sensor model. The points are added // needed to estimate an accurate sensor model. The points are added
// via the method AddGCP(PointType2D, PointType3D). The outpput image // via the method AddGCP(PointType2D, PointType3D). The outpput image
// obtained have the needed meta-data informations for the rest of the // obtained have the needed meta-data information for the rest of the
// process. // process.
// //
// Software Guide : EndLatex // Software Guide : EndLatex
......
...@@ -178,7 +178,7 @@ int main(int itkNotUsed(argc), char* argv[]) ...@@ -178,7 +178,7 @@ int main(int itkNotUsed(argc), char* argv[])
// \subdoxygen{itk}{Statistics}{ListSample} as input and estimates the label of each // \subdoxygen{itk}{Statistics}{ListSample} as input and estimates the label of each
// input sample using the model. Finally, the // input sample using the model. Finally, the
// \doxygen{otb}{ImageClassificationModel} inherits from the // \doxygen{otb}{ImageClassificationModel} inherits from the
// \doxygen{itk}{ImageToImageFilter} and allows to classify pixels in the // \doxygen{itk}{ImageToImageFilter} and allows classifying pixels in the
// input image by predicting their labels using a model. // input image by predicting their labels using a model.
// //
// Software Guide : EndLatex // Software Guide : EndLatex
......
...@@ -78,7 +78,7 @@ int main(int argc, char* argv[]) ...@@ -78,7 +78,7 @@ int main(int argc, char* argv[])
// Software Guide : BeginLatex // Software Guide : BeginLatex
// The filters \doxygen{otb}{HooverMatrixFilter} and \doxygen{otb}{HooverInstanceFilter} // The filters \doxygen{otb}{HooverMatrixFilter} and \doxygen{otb}{HooverInstanceFilter}
// are designed to handle \doxygen{itk}{LabelMap} images, made with \doxygen{otb}{AttributesMapLabelObject}. // are designed to handle \doxygen{itk}{LabelMap} images, made with \doxygen{otb}{AttributesMapLabelObject}.
// This type of label object allows to store generic attributes. Each region can store // This type of label object allows storing generic attributes. Each region can store
// a set of attributes: in this case, Hoover instances and metrics will be stored. // a set of attributes: in this case, Hoover instances and metrics will be stored.
// Software Guide : EndLatex // Software Guide : EndLatex
......
...@@ -140,7 +140,7 @@ int main(int argc, char* argv[]) ...@@ -140,7 +140,7 @@ int main(int argc, char* argv[])
// not stored in a file nor a data base. // not stored in a file nor a data base.
// //
// Then, the processing is started by calling \code{Update()}. The actual // Then, the processing is started by calling \code{Update()}. The actual
// serialization of the results is guaranteed to be completed when the ouput // serialization of the results is guaranteed to be completed when the output
// geometries set object goes out of scope, or when \code{SyncToDisk} is // geometries set object goes out of scope, or when \code{SyncToDisk} is
// called. // called.
// //
......
...@@ -302,7 +302,7 @@ int main(int argc, char *argv[]) ...@@ -302,7 +302,7 @@ int main(int argc, char *argv[])
// These {\em containers} will be given to the static function \texttt{Compute} // These {\em containers} will be given to the static function \texttt{Compute}
// from \doxygen{otb}{RadiometryCorrectionParametersToAtmosphericRadiativeTerms} // from \doxygen{otb}{RadiometryCorrectionParametersToAtmosphericRadiativeTerms}
// class, which will call a 6S routine that will compute the needed // class, which will call a 6S routine that will compute the needed
// radiometric informations and store them in a // radiometric information and store them in a
// \doxygen{otb}{AtmosphericRadiativeTerms} class instance. // \doxygen{otb}{AtmosphericRadiativeTerms} class instance.
// For this, // For this,
// \doxygen{otb}{RadiometryCorrectionParametersToAtmosphericRadiativeTerms}, // \doxygen{otb}{RadiometryCorrectionParametersToAtmosphericRadiativeTerms},
...@@ -461,7 +461,7 @@ int main(int argc, char *argv[]) ...@@ -461,7 +461,7 @@ int main(int argc, char *argv[])
// Software Guide : BeginLatex // Software Guide : BeginLatex
// //
// Once those parameters are loaded, they are used by the 6S library // Once those parameters are loaded, they are used by the 6S library
// to compute the needed radiometric informations. The // to compute the needed radiometric information. The
// RadiometryCorrectionParametersToAtmosphericRadiativeTerms class // RadiometryCorrectionParametersToAtmosphericRadiativeTerms class
// provides a static function to perform this step\footnote{Before version // provides a static function to perform this step\footnote{Before version
// 4.2, it was done with the filter // 4.2, it was done with the filter
...@@ -548,7 +548,7 @@ int main(int argc, char *argv[]) ...@@ -548,7 +548,7 @@ int main(int argc, char *argv[])
// Next (and last step) is the neighborhood correction. // Next (and last step) is the neighborhood correction.
// For this, the SurfaceAdjacencyEffectCorrectionSchemeFilter class is used. // For this, the SurfaceAdjacencyEffectCorrectionSchemeFilter class is used.
// The previous surface reflectance inversion is performed under the assumption of a // The previous surface reflectance inversion is performed under the assumption of a
// homogeneous ground environment. The following step allows to correct the adjacency // homogeneous ground environment. The following step allows correcting the adjacency
// effect on the radiometry of pixels. The method is based on the decomposition of // effect on the radiometry of pixels. The method is based on the decomposition of
// the observed signal as the summation of the own contribution of the target pixel and // the observed signal as the summation of the own contribution of the target pixel and
// of the contributions of neighbored pixels moderated by their distance to the target pixel. // of the contributions of neighbored pixels moderated by their distance to the target pixel.
......
...@@ -294,7 +294,7 @@ int main( int argc, char *argv[] ) ...@@ -294,7 +294,7 @@ int main( int argc, char *argv[] )
// The coloration of muscular tissue makes it easy to distinguish them from // The coloration of muscular tissue makes it easy to distinguish them from
// the surrounding anatomical structures. The optic vitrea on the other hand // the surrounding anatomical structures. The optic vitrea on the other hand
// has a coloration that is not very homogeneous inside the eyeball and // has a coloration that is not very homogeneous inside the eyeball and
// does not allow to generate a full segmentation based only on color. // does not allow generating a full segmentation based only on color.
// //
// Software Guide : EndLatex // Software Guide : EndLatex
......
...@@ -238,7 +238,7 @@ int main(int argc, char *argv[]) ...@@ -238,7 +238,7 @@ int main(int argc, char *argv[])
// \item PSI 0 // \item PSI 0
// \end{itemize} // \end{itemize}
// //
// More informations and data about leaf properties can be found at \emph{St\'{e}phane Jacquemoud} \href{http://teledetection.ipgp.jussieu.fr/opticleaf/}{OPTICLEAF} website. // More information and data about leaf properties can be found at \emph{St\'{e}phane Jacquemoud} \href{http://teledetection.ipgp.jussieu.fr/opticleaf/}{OPTICLEAF} website.
// Software Guide : EndLatex // Software Guide : EndLatex
return EXIT_SUCCESS; return EXIT_SUCCESS;
......
...@@ -91,7 +91,7 @@ int main(int argc, char * argv[]) ...@@ -91,7 +91,7 @@ int main(int argc, char * argv[])
// Software Guide : BeginLatex // Software Guide : BeginLatex
// //
// We need to pass the parameters to the filter for the extraction. This // We need to pass the parameters to the filter for the extraction. This
// filter also allow to extract only a spatial subset of the image. However, // filter also allow extracting only a spatial subset of the image. However,
// we will extract the whole channel in this case. // we will extract the whole channel in this case.
// //
// To do that, we need to pass the desired region using the // To do that, we need to pass the desired region using the
......
...@@ -522,7 +522,7 @@ private: ...@@ -522,7 +522,7 @@ private:
#if 0 #if 0
/** Related DataSource. /** Related DataSource.
* Needed to acces OTB meta informations. * Needed to acces OTB meta information.
*/ */
DataSourcePtr m_DataSource; DataSourcePtr m_DataSource;
#endif #endif
......
...@@ -46,13 +46,13 @@ namespace otb ...@@ -46,13 +46,13 @@ namespace otb
* configured by this class and this will ensure consistency * configured by this class and this will ensure consistency
* throughout the library. * throughout the library.
* *
* The class allows to configure a directory containing DEM tiles * The class allows configuring a directory containing DEM tiles
* (DTED or SRTM supported) using the OpenDEMDirectory() method. The * (DTED or SRTM supported) using the OpenDEMDirectory() method. The
* OpenGeoidFile() method allows to input a geoid file as well. Last, * OpenGeoidFile() method allows inputting a geoid file as well. Last,
* a default height above ellipsoid can be set using the * a default height above ellipsoid can be set using the
* SetDefaultHeightAboveEllipsoid() method. * SetDefaultHeightAboveEllipsoid() method.
* *
* The class allows to retrieve either height above ellipsoid or * The class allows retrieving either height above ellipsoid or
* height above Mean Sea Level (MSL). * height above Mean Sea Level (MSL).
* *
* Here is the complete description of both methods output depending * Here is the complete description of both methods output depending
...@@ -169,11 +169,11 @@ protected: ...@@ -169,11 +169,11 @@ protected:
void PrintSelf(std::ostream& os, itk::Indent indent) const; void PrintSelf(std::ostream& os, itk::Indent indent) const;
// Ossim does not allow to retrieve the geoid file path // Ossim does not allow retrieving the geoid file path
// We therefore must keep it on our side // We therefore must keep it on our side
std::string m_GeoidFile; std::string m_GeoidFile;
// Ossim does not allow to retrieve the default height above // Ossim does not allow retrieving the default height above
// ellipsoid We therefore must keep it on our side // ellipsoid We therefore must keep it on our side
double m_DefaultHeightAboveEllipsoid; double m_DefaultHeightAboveEllipsoid;
......
...@@ -137,7 +137,7 @@ protected: ...@@ -137,7 +137,7 @@ protected:
virtual void PrintSelf(std::ostream& os, itk::Indent indent) const; virtual void PrintSelf(std::ostream& os, itk::Indent indent) const;
private: private:
/** Geo informations are in this map */ /** Geo information are in this map */
KeywordlistMap m_Keywordlist; KeywordlistMap m_Keywordlist;
// char m_Delimiter; // char m_Delimiter;
......
...@@ -140,7 +140,7 @@ int DEMConvertAdapter::Convert(std::string tempFilename, std::string output) ...@@ -140,7 +140,7 @@ int DEMConvertAdapter::Convert(std::string tempFilename, std::string output)
{ {
std::cerr << "std::exception thrown:" << std::endl; std::cerr << "std::exception thrown:" << std::endl;
std::cerr << e.what() << std::endl; std::cerr << e.what() << std::endl;
itkExceptionMacro("Error occurs writing the ouput image..."); itkExceptionMacro("Error occurs writing the output image...");
return EXIT_FAILURE; return EXIT_FAILURE;
} }
} }
......
...@@ -156,7 +156,7 @@ DEMHandler ...@@ -156,7 +156,7 @@ DEMHandler
ossimRefPtr<ossimGeoid> geoidPtr = new ossimGeoidEgm96(geoid); ossimRefPtr<ossimGeoid> geoidPtr = new ossimGeoidEgm96(geoid);
if (geoidPtr->getErrorStatus() == ossimErrorCodes::OSSIM_OK) if (geoidPtr->getErrorStatus() == ossimErrorCodes::OSSIM_OK)
{ {
// Ossim does not allow to retrieve the geoid file path // Ossim does not allow retrieving the geoid file path
// We therefore must keep it on our side // We therefore must keep it on our side
m_GeoidFile = geoidFile; m_GeoidFile = geoidFile;
otbMsgDevMacro(<< "Geoid successfully opened"); otbMsgDevMacro(<< "Geoid successfully opened");
...@@ -244,7 +244,7 @@ void ...@@ -244,7 +244,7 @@ void
DEMHandler DEMHandler
::SetDefaultHeightAboveEllipsoid(double h) ::SetDefaultHeightAboveEllipsoid(double h)
{ {
// Ossim does not allow to retrieve the default height above // Ossim does not allow retrieving the default height above
// ellipsoid We therefore must keep it on our side // ellipsoid We therefore must keep it on our side
m_DefaultHeightAboveEllipsoid = h; m_DefaultHeightAboveEllipsoid = h;
...@@ -257,7 +257,7 @@ double ...@@ -257,7 +257,7 @@ double
DEMHandler DEMHandler
::GetDefaultHeightAboveEllipsoid() const ::GetDefaultHeightAboveEllipsoid() const
{ {
// Ossim does not allow to retrieve the default height above // Ossim does not allow retrieving the default height above
// ellipsoid We therefore must keep it on our side // ellipsoid We therefore must keep it on our side
return m_DefaultHeightAboveEllipsoid; return m_DefaultHeightAboveEllipsoid;
} }
...@@ -286,7 +286,7 @@ std::string DEMHandler::GetDEMDirectory(unsigned int idx) const ...@@ -286,7 +286,7 @@ std::string DEMHandler::GetDEMDirectory(unsigned int idx) const
std::string DEMHandler::GetGeoidFile() const std::string DEMHandler::GetGeoidFile() const
{ {
// Ossim does not allow to retrieve the geoid file path // Ossim does not allow retrieving the geoid file path
// We therefore must keep it on our side // We therefore must keep it on our side
return m_GeoidFile; return m_GeoidFile;
} }
......
...@@ -73,9 +73,9 @@ private: ...@@ -73,9 +73,9 @@ private:
" are sorted by increasing correlation. If number of bands is " " are sorted by increasing correlation. If number of bands is "
" different, the change maps are sorted by decreasing correlation. \n" " different, the change maps are sorted by decreasing correlation. \n"
" \n" " \n"
" The GetV1() and GetV2() methods allow to retrieve the linear " " The GetV1() and GetV2() methods allow retrieving the linear "
" combinations used to generate the Mad change maps as a vnl_matrix of " " combinations used to generate the Mad change maps as a vnl_matrix of "
" double, and the GetRho() method allows to retrieve the correlation " " double, and the GetRho() method allows retrieving the correlation "
" associated to each Mad change maps as a vnl_vector. \n" " associated to each Mad change maps as a vnl_vector. \n"
" \n" " \n"
" This filter has been implemented from the Matlab code kindly made " " This filter has been implemented from the Matlab code kindly made "
......
...@@ -71,7 +71,7 @@ private: ...@@ -71,7 +71,7 @@ private:
/** GROUP IO CLASSIFICATION */ /** GROUP IO CLASSIFICATION */
AddParameter(ParameterType_Group,"io","Input and output images"); AddParameter(ParameterType_Group,"io","Input and output images");
SetParameterDescription("io","This group of parameters allows to set input and output images for classification map regularization by Majority Voting."); SetParameterDescription("io","This group of parameters allows setting input and output images for classification map regularization by Majority Voting.");
AddParameter(ParameterType_InputImage, "io.in", "Input classification image"); AddParameter(ParameterType_InputImage, "io.in", "Input classification image");
SetParameterDescription( "io.in", "The input labeled image to regularize."); SetParameterDescription( "io.in", "The input labeled image to regularize.");
...</