From 82fc03a7f33db98c3fc024a0f0e04e1bc4b2f321 Mon Sep 17 00:00:00 2001 From: Jordi Inglada <jordi.inglada@orfeo-toolbox.org> Date: Thu, 6 Apr 2006 14:52:13 +0000 Subject: [PATCH] Ajout exemple VectorImagee --- SoftwareGuide/Examples/CMakeLists.txt | 4 +++- SoftwareGuide/Latex/DataRepresentation.tex | 14 +++++++------- SoftwareGuide/SoftwareGuideConfiguration.tex.in | 4 ++-- 3 files changed, 12 insertions(+), 10 deletions(-) diff --git a/SoftwareGuide/Examples/CMakeLists.txt b/SoftwareGuide/Examples/CMakeLists.txt index 91a095cd60..4110ab6f0c 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 813b5a2382..195cf36880 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 acca7a777b..d1ff450669 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}{ -- GitLab