diff --git a/SoftwareGuide/Examples/CMakeLists.txt b/SoftwareGuide/Examples/CMakeLists.txt index 91a095cd60f281dffac101797ef486de686a5409..4110ab6f0c90f6ff2202356b0456b0b26913866a 100644 --- a/SoftwareGuide/Examples/CMakeLists.txt +++ b/SoftwareGuide/Examples/CMakeLists.txt @@ -156,7 +156,9 @@ SET( OTB_EXAMPLES_SRCS ${OTB_SOURCE_DIR}/Examples/DataRepresentation/Image/Image1.cxx ${OTB_SOURCE_DIR}/Examples/DataRepresentation/Image/Image2.cxx ${OTB_SOURCE_DIR}/Examples/DataRepresentation/Image/Image3.cxx - ${OTB_SOURCE_DIR}/Examples/DataRepresentation/Image/Image4.cxx + ${OTB_SOURCE_DIR}/Examples/DataRepresentation/Image/Image4.cxx + ${OTB_SOURCE_DIR}/Examples/DataRepresentation/Image/RGBImage.cxx + ${OTB_SOURCE_DIR}/Examples/DataRepresentation/Image/VectorImage.cxx ${OTB_SOURCE_DIR}/Examples/StartExamples/MeanImageFilter.cxx ${OTB_SOURCE_DIR}/Examples/ExtractROI/ExtractROI.cxx ${OTB_SOURCE_DIR}/Examples/BasicFilters/LeeImageFilter.cxx diff --git a/SoftwareGuide/Latex/DataRepresentation.tex b/SoftwareGuide/Latex/DataRepresentation.tex index 813b5a2382cc06a162cdbff76cba38c57b89b534..195cf3688051c5bffbe6c9af57961405d67af35f 100644 --- a/SoftwareGuide/Latex/DataRepresentation.tex +++ b/SoftwareGuide/Latex/DataRepresentation.tex @@ -110,9 +110,9 @@ inks that are used for printing reproduction. Color spaces are usually non linear and do not even from a Group. For example, not all visible colors can be represented in RGB space~\cite{Wyszecki2000}. -ITK introduces the \doxygen{RGBPixel} type as a support for representing the +ITK introduces the \doxygen{itk::RGBPixel} type as a support for representing the values of an RGB color space. As such, the RGBPixel class embodies a different -concept from the one of an \doxygen{Vector} in space. For this reason, the +concept from the one of an \doxygen{itk::Vector} in space. For this reason, the RGBPixel lack many of the operators that may be naively expected from it. In particular, there are no defined operations for subtraction or addition. @@ -124,23 +124,23 @@ due to the fact that they are based on a human physiological response~\cite{Malacara2002}. If you decide to interpret RGB images as simply three independent channels then -you should rather use the \doxygen{Vector} type as pixel type. In this way, you +you should rather use the \doxygen{itk::Vector} type as pixel type. In this way, you will have access to the set of operations that are defined in Vector spaces. The current implementation of the RGBPixel in ITK presumes that RGB color images are intended to be used in applications where a formal interpretation of color is desired, therefore only the operations that are valid in a color space are available in the RGBPixel class. -The following example illustrates how RGB images can be represented in ITK. +The following example illustrates how RGB images can be represented in OTB. \label{sec:DefiningRGBImages} -%\input{RGBImage.tex} +\input{RGBImage.tex} \subsection{Vector Images} -%\label{sec:DefiningVectorImages} +\label{sec:DefiningVectorImages} -%\input{VectorImage.tex} +\input{VectorImage.tex} \subsection{Importing Image Data from a Buffer} diff --git a/SoftwareGuide/SoftwareGuideConfiguration.tex.in b/SoftwareGuide/SoftwareGuideConfiguration.tex.in index acca7a777b59d9e1fe4b6902ebc63247a26eea70..d1ff4506690923512ba6ab24f5fcf65dac9b2eb0 100644 --- a/SoftwareGuide/SoftwareGuideConfiguration.tex.in +++ b/SoftwareGuide/SoftwareGuideConfiguration.tex.in @@ -6,11 +6,11 @@ % Define command to make reference to on-line Doxygen documentation \newcommand{\doxygen}[1]{ -\href{http://www.itk.org/Doxygen/html/classitk_1_1#1.html}{\code{itk::#1}}} +\href{http://www.itk.org/Doxygen/html/classitk_1_1#1.html}{\code{#1}}} % Define command to make reference to on-line Doxygen documentation \newcommand{\subdoxygen}[2]{ -\href{http://www.itk.org/Doxygen/html/classitk_1_1#1_1_1#2.html}{\code{itk::#1::#2}}} +\href{http://www.itk.org/Doxygen/html/classitk_1_1#1_1_1#2.html}{\code{#1::#2}}} % Define command for the standard comment introducing classes with similar functionalities \newcommand{\relatedClasses}{