Skip to content
Snippets Groups Projects
Commit 1f1c903f authored by Jordi Inglada's avatar Jordi Inglada
Browse files

Examples DataRepresentation/Image

parent 56e4e248
No related branches found
No related tags found
No related merge requests found
...@@ -153,6 +153,10 @@ ADD_CUSTOM_TARGET(SoftwareGuideExamples ALL echo) ...@@ -153,6 +153,10 @@ ADD_CUSTOM_TARGET(SoftwareGuideExamples ALL echo)
SET( OTB_EXAMPLES_SRCS SET( OTB_EXAMPLES_SRCS
${OTB_SOURCE_DIR}/Examples/Installation/HelloWorld.cxx ${OTB_SOURCE_DIR}/Examples/Installation/HelloWorld.cxx
${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/StartExamples/MeanImageFilter.cxx ${OTB_SOURCE_DIR}/Examples/StartExamples/MeanImageFilter.cxx
${OTB_SOURCE_DIR}/Examples/ExtractROI/ExtractROI.cxx ${OTB_SOURCE_DIR}/Examples/ExtractROI/ExtractROI.cxx
${OTB_SOURCE_DIR}/Examples/BasicFilters/LeeImageFilter.cxx ${OTB_SOURCE_DIR}/Examples/BasicFilters/LeeImageFilter.cxx
......
...@@ -3,21 +3,22 @@ ...@@ -3,21 +3,22 @@
This chapter introduces the basic classes responsible This chapter introduces the basic classes responsible
for representing data in ITK. The most common classes are the for representing data in OTB. The most common classes are the
\doxygen{Image}, the \doxygen{Mesh} and the \doxygen{PointSet}. \doxygen{otb::Image}, the \doxygen{itk::Mesh} and the \doxygen{itk::PointSet}.
\section{Image} \section{Image}
\label{sec:ImageSection} \label{sec:ImageSection}
The \doxygen{Image} class follows the spirit of The \doxygen{otb::Image} class follows the spirit of
\href{http://www.boost.org/more/generic_programming.html}{Generic Programming}, \href{http://www.boost.org/more/generic_programming.html}{Generic
where types are separated from the algorithmic behavior of the class. ITK supports images Programming}, where types are separated from the algorithmic behavior
with any pixel type and any spatial dimension. of the class. OTB supports images with any pixel type and any spatial
dimension.
\subsection{Creating an Image}\label{sec:CreatingAnImageSection} \subsection{Creating an Image}\label{sec:CreatingAnImageSection}
\textbf{FIXME : update with otb::Image}
%\input{Image1.tex} \input{Image1.tex}
In practice it is rare to allocate and initialize an image directly. In practice it is rare to allocate and initialize an image directly.
Images are typically read from a source, such a file or data acquisition Images are typically read from a source, such a file or data acquisition
...@@ -30,7 +31,7 @@ a file. ...@@ -30,7 +31,7 @@ a file.
\subsection{Reading an Image from a File} \subsection{Reading an Image from a File}
\label{sec:ReadingImageFromFile} \label{sec:ReadingImageFromFile}
%\input{Image2.tex} \input{Image2.tex}
...@@ -39,7 +40,7 @@ a file. ...@@ -39,7 +40,7 @@ a file.
\subsection{Accessing Pixel Data} \subsection{Accessing Pixel Data}
\label{sec:AccessingImagePixelData} \label{sec:AccessingImagePixelData}
%\input{Image3.tex} \input{Image3.tex}
...@@ -47,8 +48,11 @@ a file. ...@@ -47,8 +48,11 @@ a file.
\subsection{Defining Origin and Spacing} \subsection{Defining Origin and Spacing}
\label{sec:DefiningImageOriginAndSpacing} \label{sec:DefiningImageOriginAndSpacing}
%\input{Image4.tex} \input{Image4.tex}
\subsection{Defining Other Image Attributes}
\label{sec:DefiningOtherImageAttributes}
%% Geographic projections, etc?
\subsection{RGB Images} \subsection{RGB Images}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment