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
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
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
David Youssefi
otb
Commits
2c61570d
Commit
2c61570d
authored
18 years ago
by
Jordi Inglada
Browse files
Options
Downloads
Patches
Plain Diff
Mise a jour doc Streaming
parent
46d8b009
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Examples/IO/StreamingImageReadWrite.cxx
+27
-3
27 additions, 3 deletions
Examples/IO/StreamingImageReadWrite.cxx
with
27 additions
and
3 deletions
Examples/IO/StreamingImageReadWrite.cxx
+
27
−
3
View file @
2c61570d
...
...
@@ -166,18 +166,42 @@ int main( int argc, char ** argv )
writer
->
SetInput
(
rescaler
->
GetOutput
()
);
// Software Guide : EndCodeSnippet
// Software Guide : BeginLatex
//
// We can now trigger the pipeline execution by calling the
// \code{Update} method on the writer.
//
// Software Guide : EndLatex
try
{
writer
->
Update
();
{
// Software Guide : BeginCodeSnippet
writer
->
Update
();
// Software Guide : EndCodeSnippet
}
catch
(
itk
::
ExceptionObject
&
err
)
{
std
::
cerr
<<
"ExceptionObject caught !"
<<
std
::
endl
;
std
::
cerr
<<
err
<<
std
::
endl
;
return
EXIT_FAILURE
;
}
}
// Software Guide : BeginLatex
//
// The writer will ask its preceding filter to provide different
// portions of the image. Each filter in the pipeline will do the
// same until the request arrives to the reader. In this way, the
// pipeline will be executed for each requested region and the
// whole input image will be read, processed and written without
// being fully loaded in memory.
//
// Software Guide : EndLatex
return
EXIT_SUCCESS
;
}
...
...
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