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
Sébastien Peillet
otb
Commits
2b33832e
Commit
2b33832e
authored
14 years ago
by
Julien Michel
Browse files
Options
Downloads
Patches
Plain Diff
DOC: Changing input image for disparity map estimation
parent
88397fa4
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/DisparityMap/SimpleDisparityMapEstimationExample.cxx
+10
-13
10 additions, 13 deletions
...ples/DisparityMap/SimpleDisparityMapEstimationExample.cxx
with
10 additions
and
13 deletions
Examples/DisparityMap/SimpleDisparityMapEstimationExample.cxx
+
10
−
13
View file @
2b33832e
...
...
@@ -20,9 +20,9 @@
#endif
// Software Guide : BeginCommandLineArgs
// INPUTS: {
ROI_IKO_PAN_LesHalles_pos_spacing.tif}, {ROI_IKO_PAN_LesHalles_warped_pos_spac
ing.
tif
}
// INPUTS: {
StereoFixed.png}, {StereoMov
ing.
png
}
// OUTPUTS: {deformationFieldOutput.png},{resampledMovingOutput.png}
//
100 10 15
10 10
25
0 0.
9
//
5 5 9 7
10 100 0.
8
// Software Guide : EndCommandLineArgs
// Software Guide : BeginLatex
...
...
@@ -46,7 +46,7 @@
#include
"itkWindowedSincInterpolateImageFunction.h"
#include
"itkZeroFluxNeumannBoundaryCondition.h"
#include
"itkGradientDescentOptimizer.h"
#include
"otb
NearestPoint
DeformationFieldGenerator.h"
#include
"otb
BSplinesInterpolate
DeformationFieldGenerator.h"
#include
"itkWarpImageFilter.h"
// Software Guide : EndCodeSnippet
...
...
@@ -345,7 +345,7 @@ int main(int argc, char* argv[])
// Software Guide : EndLatex
// Software Guide : BeginCodeSnippet
typedef
otb
::
NearestPoint
DeformationFieldGenerator
<
PointSetType
,
typedef
otb
::
BSplinesInterpolate
DeformationFieldGenerator
<
PointSetType
,
DeformationFieldType
>
GeneratorType
;
...
...
@@ -510,18 +510,15 @@ int main(int argc, char* argv[])
// Software Guide : BeginLatex
//
// Figure~\ref{fig:SIMPLEDISPARITYMAPESTIMATIONOUTPUT} shows the result of applying disparity map estimation on
// a regular point set, followed by deformation field estimation and fixed image resampling on an Ikonos image.
// The moving image is the fixed image warped with a sinusoidal deformation with a 3-pixels amplitude and a 170-pixels
// period. Please note that there are more efficient ways to interpolate the deformation field than nearest neighbor,
// including BSplines fitting.
// Figure~\ref{fig:SIMPLEDISPARITYMAPESTIMATIONOUTPUT} shows the result of applying disparity map estimation on a stereo pair
// using a regular point set, followed by deformation field estimation using Splines and fixed image resampling.
//
// \begin{figure}
// \center
// \includegraphics[width=0.
4
0\textwidth]{
ROI_IKO_PAN_LesHalles_pos_spacing
.eps}
// \includegraphics[width=0.
4
0\textwidth]{
ROI_IKO_PAN_LesHalles_warped_pos_spac
ing.eps}
// \includegraphics[width=0.
4
0\textwidth]{deformationFieldOutput.eps}
// \includegraphics[width=0.
4
0\textwidth]{resampledMovingOutput.eps}
// \includegraphics[width=0.
2
0\textwidth]{
StereoFixed
.eps}
// \includegraphics[width=0.
2
0\textwidth]{
StereoMov
ing.eps}
// \includegraphics[width=0.
2
0\textwidth]{deformationFieldOutput.eps}
// \includegraphics[width=0.
2
0\textwidth]{resampledMovingOutput.eps}
// \itkcaption[Deformation field and resampling from disparity map estimation]{From left
// to right and top to bottom: fixed input image, moving image with a sinusoid deformation,
// estimated deformation field in the horizontal direction, resampled moving image.}
...
...
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