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
4e14697d
Commit
4e14697d
authored
14 years ago
by
Julien Michel
Browse files
Options
Downloads
Patches
Plain Diff
BUG: In example, the MRSD metric has to be maximized
parent
51e5ae12
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/FineRegistrationImageFilterExample.cxx
+26
-12
26 additions, 12 deletions
Examples/DisparityMap/FineRegistrationImageFilterExample.cxx
with
26 additions
and
12 deletions
Examples/DisparityMap/FineRegistrationImageFilterExample.cxx
+
26
−
12
View file @
4e14697d
...
...
@@ -197,13 +197,27 @@ int main(int argc, char** argv)
if
(
argc
>
11
)
{
// Software Guide : BeginCodeSnippet
// Software Guide : BeginCodeSnippet
typedef
itk
::
MeanReciprocalSquareDifferenceImageToImageMetric
<
InputImageType
,
InputImageType
>
MRSDMetricType
;
MRSDMetricType
::
Pointer
mrsdMetric
=
MRSDMetricType
::
New
();
registrator
->
SetMetric
(
mrsdMetric
);
// Software Guide : EndCodeSnippet
// Software Guide : EndCodeSnippet
// Software Guide : BeginLatex
//
// The \doxygen{itk}{MutualInformationImageToImageMetric} produces low value for poor matches, therefore, the filter has
// to maximize the metric :
//
// Software Guide : EndLatex
// Software Guide : BeginCodeSnippet
registrator
->
MinimizeOff
();
// Software Guide : EndCodeSnippet
}
// Software Guide : BeginLatex
//
// \end{itemize}
...
...
@@ -285,16 +299,16 @@ int main(int argc, char** argv)
//
// \begin{figure}
// \center
// \includegraphics[width=0.
4
0\textwidth]{StereoFixed.eps}
// \includegraphics[width=0.
4
0\textwidth]{StereoMoving.eps}
// \includegraphics[width=0.
4
0\textwidth]{fcDeformationFieldOutput-horizontal.eps}
// \includegraphics[width=0.
4
0\textwidth]{fcDeformationFieldOutput-vertical.eps}
// \includegraphics[width=0.
4
0\textwidth]{fcCorrelFieldOutput.eps}
// \includegraphics[width=0.
4
0\textwidth]{fcDResampledOutput2.eps}
// \includegraphics[width=0.
4
0\textwidth]{fcMRSDDeformationFieldOutput-horizontal.eps}
// \includegraphics[width=0.
4
0\textwidth]{fcMRSDDeformationFieldOutput-vertical.eps}
// \includegraphics[width=0.
4
0\textwidth]{fcMRSDCorrelFieldOutput.eps}
// \includegraphics[width=0.
4
0\textwidth]{fcMRSDDResampledOutput2.eps}
// \includegraphics[width=0.
3
0\textwidth]{StereoFixed.eps}
// \includegraphics[width=0.
3
0\textwidth]{StereoMoving.eps}
\\
// \includegraphics[width=0.
3
0\textwidth]{fcDeformationFieldOutput-horizontal.eps}
// \includegraphics[width=0.
3
0\textwidth]{fcDeformationFieldOutput-vertical.eps}
\\
// \includegraphics[width=0.
3
0\textwidth]{fcCorrelFieldOutput.eps}
// \includegraphics[width=0.
3
0\textwidth]{fcDResampledOutput2.eps}
\\
// \includegraphics[width=0.
3
0\textwidth]{fcMRSDDeformationFieldOutput-horizontal.eps}
// \includegraphics[width=0.
3
0\textwidth]{fcMRSDDeformationFieldOutput-vertical.eps}
\\
// \includegraphics[width=0.
3
0\textwidth]{fcMRSDCorrelFieldOutput.eps}
// \includegraphics[width=0.
3
0\textwidth]{fcMRSDDResampledOutput2.eps}
// \itkcaption[Deformation field and resampling from fine correlation registration]{From left
// to right and top to bottom: fixed input image, moving image with a low stereo angle,
// estimated deformation fields in both direction using correlation,
...
...
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