Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
otb
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Main Repositories
otb
Commits
1f1c903f
Commit
1f1c903f
authored
18 years ago
by
Jordi Inglada
Browse files
Options
Downloads
Patches
Plain Diff
Examples DataRepresentation/Image
parent
56e4e248
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
SoftwareGuide/Examples/CMakeLists.txt
+4
-0
4 additions, 0 deletions
SoftwareGuide/Examples/CMakeLists.txt
SoftwareGuide/Latex/DataRepresentation.tex
+15
-11
15 additions, 11 deletions
SoftwareGuide/Latex/DataRepresentation.tex
with
19 additions
and
11 deletions
SoftwareGuide/Examples/CMakeLists.txt
+
4
−
0
View file @
1f1c903f
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
SoftwareGuide/Latex/DataRepresentation.tex
+
15
−
11
View file @
1f1c903f
...
@@ -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
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment