Permalink
Browse files

STYLE: Improve SoftwareGuide documentation

There were errors in the processing of the ITKSoftwareGuide
example generation.

Only provide base image name for LaTeX
By only providing the base image name for LaTeX includegraphics,
then pdflatex or other tools can choose an image that is
most appropriate for that document building style.
For example pdflatex prefers .png images, adn latex prefers
.eps files.

Remove unused SoftwareGuide key word.
The NORMALIZE_EPS_OUTPUT_OF key word was not being processed
by the SoftwareGuide parsing.

The software guide formatting and reference code
for more consistent coding standards.

Change-Id: I09b64f43aad28ed309ea0c695ee5ebf08adfbc4b
  • Loading branch information...
1 parent d586ed9 commit e3aff164969b8cbd2d4e676ffe99d8603ce29e9b @hjmjohnson hjmjohnson committed with Kent Williams Mar 23, 2013
Showing with 524 additions and 488 deletions.
  1. +1 −1 Examples/DataRepresentation/Image/Image4.cxx
  2. +3 −12 Examples/DataRepresentation/Image/Image5.cxx
  3. +4 −4 Examples/DataRepresentation/Image/ImageAdaptor2.cxx
  4. +3 −3 Examples/DataRepresentation/Image/ImageAdaptor3.cxx
  5. +3 −3 Examples/DataRepresentation/Image/ImageAdaptor4.cxx
  6. +1 −1 Examples/DataRepresentation/Mesh/PointSetWithVectors.cxx
  7. +2 −2 Examples/Filtering/BilateralImageFilter.cxx
  8. +2 −2 Examples/Filtering/BinaryMedianImageFilter.cxx
  9. +2 −2 Examples/Filtering/BinaryMinMaxCurvatureFlowImageFilter.cxx
  10. +3 −3 Examples/Filtering/BinaryThresholdImageFilter.cxx
  11. +2 −2 Examples/Filtering/BinomialBlurImageFilter.cxx
  12. +2 −2 Examples/Filtering/CurvatureAnisotropicDiffusionImageFilter.cxx
  13. +2 −2 Examples/Filtering/CurvatureFlowImageFilter.cxx
  14. +4 −4 Examples/Filtering/DanielssonDistanceMapImageFilter.cxx
  15. +3 −3 Examples/Filtering/DerivativeImageFilter.cxx
  16. +3 −3 Examples/Filtering/DiscreteGaussianImageFilter.cxx
  17. +2 −2 Examples/Filtering/FlipImageFilter.cxx
  18. +2 −2 Examples/Filtering/GradientAnisotropicDiffusionImageFilter.cxx
  19. +2 −2 Examples/Filtering/GradientMagnitudeImageFilter.cxx
  20. +2 −2 Examples/Filtering/GradientMagnitudeRecursiveGaussianImageFilter.cxx
  21. +1 −1 Examples/Filtering/GradientVectorFlowImageFilter.cxx
  22. +2 −2 Examples/Filtering/LaplacianRecursiveGaussianImageFilter1.cxx
  23. +2 −2 Examples/Filtering/LaplacianRecursiveGaussianImageFilter2.cxx
  24. +3 −3 Examples/Filtering/MathematicalMorphologyBinaryFilters.cxx
  25. +3 −3 Examples/Filtering/MathematicalMorphologyGrayscaleFilters.cxx
  26. +2 −2 Examples/Filtering/MeanImageFilter.cxx
  27. +2 −2 Examples/Filtering/MedianImageFilter.cxx
  28. +3 −3 Examples/Filtering/MinMaxCurvatureFlowImageFilter.cxx
  29. +2 −2 Examples/Filtering/OtsuThresholdImageFilter.cxx
  30. +5 −5 Examples/Filtering/RGBCurvatureAnisotropicDiffusionImageFilter.cxx
  31. +2 −2 Examples/Filtering/RGBGradientAnisotropicDiffusionImageFilter.cxx
  32. +11 −15 Examples/Filtering/ResampleImageFilter.cxx
  33. +58 −53 Examples/Filtering/ResampleImageFilter2.cxx
  34. +3 −3 Examples/Filtering/ResampleImageFilter3.cxx
  35. +2 −2 Examples/Filtering/ResampleImageFilter4.cxx
  36. +2 −2 Examples/Filtering/ResampleImageFilter5.cxx
  37. +10 −11 Examples/Filtering/ResampleOrientedImageFilter.cxx
  38. +4 −4 Examples/Filtering/SigmoidImageFilter.cxx
  39. +2 −2 Examples/Filtering/SignedDanielssonDistanceMapImageFilter.cxx
  40. +2 −2 Examples/Filtering/SmoothingRecursiveGaussianImageFilter.cxx
  41. +2 −2 Examples/Filtering/SmoothingRecursiveGaussianImageFilter2.cxx
  42. +6 −6 Examples/Filtering/ThresholdImageFilter.cxx
  43. +2 −2 Examples/Filtering/VectorCurvatureAnisotropicDiffusionImageFilter.cxx
  44. +2 −2 Examples/Filtering/VectorGradientAnisotropicDiffusionImageFilter.cxx
  45. +4 −4 Examples/Filtering/VotingBinaryHoleFillingImageFilter.cxx
  46. +4 −4 Examples/Filtering/VotingBinaryIterativeHoleFillingImageFilter.cxx
  47. +2 −2 Examples/Iterators/ImageRegionIterator.cxx
  48. +2 −2 Examples/Iterators/ImageRegionIteratorWithIndex.cxx
  49. +1 −1 Examples/Iterators/ImageSliceIteratorWithIndex.cxx
  50. +3 −3 Examples/Iterators/NeighborhoodIterators1.cxx
  51. +4 −4 Examples/Iterators/NeighborhoodIterators4.cxx
  52. +3 −3 Examples/Iterators/NeighborhoodIterators6.cxx
  53. +5 −5 Examples/Iterators/ShapedNeighborhoodIterators2.cxx
  54. +4 −4 Examples/Registration/DeformableRegistration2.cxx
  55. +2 −2 Examples/Registration/DeformableRegistration3.cxx
  56. +2 −2 Examples/Registration/DeformableRegistration5.cxx
  57. +8 −8 Examples/Registration/ImageRegistration1.cxx
  58. +9 −9 Examples/Registration/ImageRegistration2.cxx
  59. +1 −1 Examples/Registration/ImageRegistration3.cxx
  60. +7 −7 Examples/Registration/ImageRegistration4.cxx
  61. +16 −16 Examples/Registration/ImageRegistration5.cxx
  62. +9 −9 Examples/Registration/ImageRegistration6.cxx
  63. +9 −9 Examples/Registration/ImageRegistration7.cxx
  64. +11 −11 Examples/Registration/ImageRegistration8.cxx
  65. +8 −8 Examples/Registration/ImageRegistration9.cxx
  66. +2 −2 Examples/Registration/ImageRegistrationHistogramPlotter.cxx
  67. +2 −2 Examples/Registration/MeanSquaresImageMetric1.cxx
  68. +2 −2 Examples/Registration/ModelToImageRegistration1.cxx
  69. +6 −6 Examples/Registration/MultiResImageRegistration1.cxx
  70. +5 −5 Examples/Registration/MultiResImageRegistration2.cxx
  71. +5 −5 Examples/Segmentation/CannySegmentationLevelSetImageFilter.cxx
  72. +4 −4 Examples/Segmentation/ConfidenceConnected.cxx
  73. +1 −1 Examples/Segmentation/ConfidenceConnected3D.cxx
  74. +4 −4 Examples/Segmentation/ConnectedThresholdImageFilter.cxx
  75. +9 −9 Examples/Segmentation/CurvesLevelSetImageFilter.cxx
  76. +112 −62 Examples/Segmentation/FastMarchingImageFilter.cxx
  77. +9 −9 Examples/Segmentation/GeodesicActiveContourImageFilter.cxx
  78. +15 −15 Examples/Segmentation/GeodesicActiveContourShapePriorLevelSetImageFilter.cxx
  79. +3 −3 Examples/Segmentation/IsolatedConnectedImageFilter.cxx
  80. +4 −4 Examples/Segmentation/LaplacianSegmentationLevelSetImageFilter.cxx
  81. +4 −4 Examples/Segmentation/NeighborhoodConnectedImageFilter.cxx
  82. +9 −9 Examples/Segmentation/ShapeDetectionLevelSetFilter.cxx
  83. +6 −6 Examples/Segmentation/ThresholdSegmentationLevelSetImageFilter.cxx
  84. +4 −4 Examples/Segmentation/VectorConfidenceConnected.cxx
  85. +3 −3 Examples/Segmentation/WatershedSegmentation1.cxx
  86. +4 −4 Examples/Segmentation/test/CMakeLists.txt
  87. +2 −2 Examples/SpatialObjects/SpatialObjectTransforms.cxx
  88. +1 −1 Examples/Statistics/BayesianPluginClassifier.cxx
  89. +1 −1 Examples/Statistics/Histogram.cxx
  90. +1 −1 Examples/Statistics/KdTreeBasedKMeansClustering.cxx
  91. +1 −2 Examples/Statistics/ScalarImageKmeansClassifier.cxx
  92. +1 −1 Examples/Statistics/ScalarImageKmeansModelEstimator.cxx
  93. +1 −2 Examples/Statistics/ScalarImageMarkovRandomField1.cxx
  94. +1 −1 Modules/Compatibility/Deprecated/test/DeformableModel1.cxx
  95. +1 −4 Modules/Core/Common/test/itkImageAdaptorPipeLineTest.cxx
  96. +6 −6 Modules/Numerics/FEM/test/itkFEMRobustSolverTest.cxx
View
2 Examples/DataRepresentation/Image/Image4.cxx
@@ -36,7 +36,7 @@
// useless but also hazardous.
//
// \begin{figure} \center
-// \includegraphics[width=\textwidth]{ImageOriginAndSpacing.eps}
+// \includegraphics[width=\textwidth]{ImageOriginAndSpacing}
// \itkcaption[ITK Image Geometrical Concepts]{Geometrical concepts associated
// with the ITK image.}
// \label{fig:ImageOriginAndSpacing}
View
15 Examples/DataRepresentation/Image/Image5.cxx
@@ -139,31 +139,22 @@ int main(int argc, char * argv[])
// Software Guide : EndLatex
// Software Guide : BeginCodeSnippet
- double origin[ Dimension ];
- origin[0] = 0.0; // X coordinate
- origin[1] = 0.0; // Y coordinate
- origin[2] = 0.0; // Z coordinate
-
+ const double origin[ Dimension ] = { 0.0, 0.0, 0.0 };
importFilter->SetOrigin( origin );
// Software Guide : EndCodeSnippet
-
// Software Guide : BeginLatex
//
// The spacing of the image is passed with the \code{SetSpacing()} method.
//
// Software Guide : EndLatex
// Software Guide : BeginCodeSnippet
- double spacing[ Dimension ];
- spacing[0] = 1.0; // along X direction
- spacing[1] = 1.0; // along Y direction
- spacing[2] = 1.0; // along Z direction
-
+ // spacing isotropic volumes to 1.0
+ const double spacing[ Dimension ] = { 1.0, 1.0, 1.0 };
importFilter->SetSpacing( spacing );
// Software Guide : EndCodeSnippet
-
// Software Guide : BeginLatex
//
// Next we allocate the memory block containing the pixel data to be
View
8 Examples/DataRepresentation/Image/ImageAdaptor2.cxx
@@ -250,10 +250,10 @@ int main( int argc, char *argv[] )
// Software Guide : BeginLatex
//
// \begin{figure} \center
- // \includegraphics[width=0.24\textwidth]{VisibleWomanEyeSlice.eps}
- // \includegraphics[width=0.24\textwidth]{VisibleWomanEyeSliceRedComponent.eps}
- // \includegraphics[width=0.24\textwidth]{VisibleWomanEyeSliceGreenComponent.eps}
- // \includegraphics[width=0.24\textwidth]{VisibleWomanEyeSliceBlueComponent.eps}
+ // \includegraphics[width=0.24\textwidth]{VisibleWomanEyeSlice}
+ // \includegraphics[width=0.24\textwidth]{VisibleWomanEyeSliceRedComponent}
+ // \includegraphics[width=0.24\textwidth]{VisibleWomanEyeSliceGreenComponent}
+ // \includegraphics[width=0.24\textwidth]{VisibleWomanEyeSliceBlueComponent}
// \itkcaption[Image Adaptor to RGB Image]{Using
// ImageAdaptor to extract the components of an RGB image. The
// image on the left is a subregion of the Visible Woman cryogenic data set.
View
6 Examples/DataRepresentation/Image/ImageAdaptor3.cxx
@@ -227,9 +227,9 @@ int main( int argc, char *argv[] )
// Software Guide : BeginLatex
//
// \begin{figure} \center
- // \includegraphics[width=0.32\textwidth]{BrainProtonDensitySlice.eps}
- // \includegraphics[width=0.32\textwidth]{ImageAdaptorToVectorImageComponentX.eps}
- // \includegraphics[width=0.32\textwidth]{ImageAdaptorToVectorImageComponentY.eps}
+ // \includegraphics[width=0.32\textwidth]{BrainProtonDensitySlice}
+ // \includegraphics[width=0.32\textwidth]{ImageAdaptorToVectorImageComponentX}
+ // \includegraphics[width=0.32\textwidth]{ImageAdaptorToVectorImageComponentY}
// \itkcaption[Image Adaptor to Vector Image]{Using
// ImageAdaptor to access components of a vector
// image. The input image on the left was passed through a gradient image
View
6 Examples/DataRepresentation/Image/ImageAdaptor4.cxx
@@ -205,9 +205,9 @@ int main( int argc, char *argv[] )
// Software Guide : BeginLatex
//
// \begin{figure} \center
- // \includegraphics[width=0.32\textwidth]{BrainProtonDensitySlice.eps}
- // \includegraphics[width=0.32\textwidth]{ImageAdaptorThresholdingA.eps}
- // \includegraphics[width=0.32\textwidth]{ImageAdaptorThresholdingB.eps}
+ // \includegraphics[width=0.32\textwidth]{BrainProtonDensitySlice}
+ // \includegraphics[width=0.32\textwidth]{ImageAdaptorThresholdingA}
+ // \includegraphics[width=0.32\textwidth]{ImageAdaptorThresholdingB}
// \itkcaption[Image Adaptor for performing computations]{Using
// ImageAdaptor to perform a simple image computation. An
// ImageAdaptor is used to perform binary thresholding on
View
2 Examples/DataRepresentation/Mesh/PointSetWithVectors.cxx
@@ -45,7 +45,7 @@ int main(int, char *[])
//
// \begin{floatingfigure}[rlp]{6cm}
// \centering
- // \includegraphics[width=4cm]{PointSetWithVectors.eps}
+ // \includegraphics[width=4cm]{PointSetWithVectors}
// \caption[PointSet with Vectors as PixelType]{Vectors as PixelType.\label{fig:PointSetWithVectors}}
// \end{floatingfigure}
//
View
4 Examples/Filtering/BilateralImageFilter.cxx
@@ -239,8 +239,8 @@ int main( int argc, char * argv[] )
//
// \begin{figure}
// \center
- // \includegraphics[width=0.44\textwidth]{BrainProtonDensitySlice.eps}
- // \includegraphics[width=0.44\textwidth]{BilateralImageFilterOutput.eps}
+ // \includegraphics[width=0.44\textwidth]{BrainProtonDensitySlice}
+ // \includegraphics[width=0.44\textwidth]{BilateralImageFilterOutput}
// \itkcaption[BilateralImageFilter output]{Effect of the BilateralImageFilter
// on a slice from a MRI proton density image of the brain.}
// \label{fig:BilateralImageFilterInputOutput}
View
4 Examples/Filtering/BinaryMedianImageFilter.cxx
@@ -165,8 +165,8 @@ int main( int argc, char * argv[] )
//
// \begin{figure}
// \center
- // \includegraphics[width=0.44\textwidth]{BinaryThresholdImageFilterOutput.eps}
- // \includegraphics[width=0.44\textwidth]{BinaryMedianImageFilterOutput.eps}
+ // \includegraphics[width=0.44\textwidth]{BinaryThresholdImageFilterOutput}
+ // \includegraphics[width=0.44\textwidth]{BinaryMedianImageFilterOutput}
// \itkcaption[Effect of the BinaryMedian filter.]{Effect of the
// BinaryMedianImageFilter on a slice from a MRI proton density brain image
// that has been thresholded in order to produce a binary image.}
View
4 Examples/Filtering/BinaryMinMaxCurvatureFlowImageFilter.cxx
@@ -223,8 +223,8 @@ int main( int argc, char * argv[] )
//
// \begin{figure}
// \center
- // \includegraphics[width=0.44\textwidth]{BrainProtonDensitySlice.eps}
- // \includegraphics[width=0.44\textwidth]{BinaryMinMaxCurvatureFlowImageFilterOutput.eps}
+ // \includegraphics[width=0.44\textwidth]{BrainProtonDensitySlice}
+ // \includegraphics[width=0.44\textwidth]{BinaryMinMaxCurvatureFlowImageFilterOutput}
// \itkcaption[BinaryMinMaxCurvatureFlowImageFilter output]{Effect of the
// BinaryMinMaxCurvatureFlowImageFilter on a slice from a MRI proton density
// image of the brain.}
View
6 Examples/Filtering/BinaryThresholdImageFilter.cxx
@@ -26,7 +26,7 @@
//
// \begin{floatingfigure}[rlp]{6cm}
// \centering
-// \includegraphics[width=7cm]{BinaryThresholdTransferFunction.eps}
+// \includegraphics[width=7cm]{BinaryThresholdTransferFunction}
// \caption[BinaryThresholdImageFilter transfer function]
// {Transfer function of the BinaryThresholdImageFilter.
// \label{fig:BinaryThresholdTransferFunction}}
@@ -229,8 +229,8 @@ int main( int argc, char * argv[] )
//
// \begin{figure}
// \center
- // \includegraphics[width=0.44\textwidth]{BrainProtonDensitySlice.eps}
- // \includegraphics[width=0.44\textwidth]{BinaryThresholdImageFilterOutput.eps}
+ // \includegraphics[width=0.44\textwidth]{BrainProtonDensitySlice}
+ // \includegraphics[width=0.44\textwidth]{BinaryThresholdImageFilterOutput}
// \itkcaption[BinaryThresholdImageFilter output]{Effect of the BinaryThresholdImageFilter on a slice from a MRI
// proton density image of the brain.}
// \label{fig:BinaryThresholdImageFilterInputOutput}
View
4 Examples/Filtering/BinomialBlurImageFilter.cxx
@@ -149,8 +149,8 @@ int main( int argc, char * argv[] )
//
// \begin{figure}
// \center
- // \includegraphics[width=0.44\textwidth]{BrainProtonDensitySlice.eps}
- // \includegraphics[width=0.44\textwidth]{BinomialBlurImageFilterOutput.eps}
+ // \includegraphics[width=0.44\textwidth]{BrainProtonDensitySlice}
+ // \includegraphics[width=0.44\textwidth]{BinomialBlurImageFilterOutput}
// \itkcaption[BinomialBlurImageFilter output.]{Effect of the
// BinomialBlurImageFilter on a slice from a MRI proton density image of the
// brain.}
View
4 Examples/Filtering/CurvatureAnisotropicDiffusionImageFilter.cxx
@@ -216,8 +216,8 @@ int main( int argc, char * argv[] )
// Software Guide : BeginLatex
//
// \begin{figure} \center
- // \includegraphics[width=0.44\textwidth]{BrainProtonDensitySlice.eps}
- // \includegraphics[width=0.44\textwidth]{CurvatureAnisotropicDiffusionImageFilterOutput.eps}
+ // \includegraphics[width=0.44\textwidth]{BrainProtonDensitySlice}
+ // \includegraphics[width=0.44\textwidth]{CurvatureAnisotropicDiffusionImageFilterOutput}
// \itkcaption[CurvatureAnisotropicDiffusionImageFilter output]{Effect of the
// CurvatureAnisotropicDiffusionImageFilter on a slice from a MRI Proton
// Density image of the brain.}
View
4 Examples/Filtering/CurvatureFlowImageFilter.cxx
@@ -228,8 +228,8 @@ int main( int argc, char * argv[] )
//
// \begin{figure}
// \center
- // \includegraphics[width=0.44\textwidth]{BrainProtonDensitySlice.eps}
- // \includegraphics[width=0.44\textwidth]{CurvatureFlowImageFilterOutput.eps}
+ // \includegraphics[width=0.44\textwidth]{BrainProtonDensitySlice}
+ // \includegraphics[width=0.44\textwidth]{CurvatureFlowImageFilterOutput}
// \itkcaption[CurvatureFlowImageFilter output]{Effect of the
// CurvatureFlowImageFilter on a slice from a MRI proton density image of
// the brain.}
View
8 Examples/Filtering/DanielssonDistanceMapImageFilter.cxx
@@ -20,7 +20,7 @@
// INPUTS: {FivePoints.png}
// OUTPUTS: {DanielssonDistanceMapImageFilterOutput1.png}
// OUTPUTS: {DanielssonDistanceMapImageFilterOutput2.png}
-// OUTPUTS: {DanielssonDistanceMapImageFilterOutput3.mhd}
+// ARGUMENTS: {DanielssonDistanceMapImageFilterOutput3.mhd}
// Software Guide : EndCommandLineArgs
// Software Guide : BeginLatex
@@ -157,9 +157,9 @@ int main( int argc, char * argv[] )
//
// \begin{figure}
// \center
- // \includegraphics[width=0.32\textwidth]{FivePoints.eps}
- // \includegraphics[width=0.32\textwidth]{DanielssonDistanceMapImageFilterOutput1.eps}
- // \includegraphics[width=0.32\textwidth]{DanielssonDistanceMapImageFilterOutput2.eps}
+ // \includegraphics[width=0.32\textwidth]{FivePoints}
+ // \includegraphics[width=0.32\textwidth]{DanielssonDistanceMapImageFilterOutput1}
+ // \includegraphics[width=0.32\textwidth]{DanielssonDistanceMapImageFilterOutput2}
// \itkcaption[DanielssonDistanceMapImageFilter
// output]{DanielssonDistanceMapImageFilter output. Set of pixels, distance
// map and Voronoi partition.}
View
6 Examples/Filtering/DerivativeImageFilter.cxx
@@ -18,7 +18,7 @@
// Software Guide : BeginCommandLineArgs
// INPUTS: {BrainProtonDensitySlice.png}
-// OUTPUTS: {DerivativeImageFilterFloatOutput.mhd}
+// ARGUMENTS: {DerivativeImageFilterFloatOutput.mhd}
// OUTPUTS: {DerivativeImageFilterOutput.png}
// ARGUMENTS: 1 0
// Software Guide : EndCommandLineArgs
@@ -153,8 +153,8 @@ int main( int argc, char * argv[] )
//
// \begin{figure}
// \center
- // \includegraphics[width=0.44\textwidth]{BrainProtonDensitySlice.eps}
- // \includegraphics[width=0.44\textwidth]{DerivativeImageFilterOutput.eps}
+ // \includegraphics[width=0.44\textwidth]{BrainProtonDensitySlice}
+ // \includegraphics[width=0.44\textwidth]{DerivativeImageFilterOutput}
// \itkcaption[Effect of the Derivative filter.]{Effect of the Derivative filter
// on a slice from a MRI proton density brain image.}
// \label{fig:DerivativeImageFilterOutput}
View
6 Examples/Filtering/DiscreteGaussianImageFilter.cxx
@@ -26,7 +26,7 @@
//
// \begin{floatingfigure}[rlp]{6cm}
// \centering
-// \includegraphics[width=6cm]{DiscreteGaussian.eps}
+// \includegraphics[width=6cm]{DiscreteGaussian}
// \caption[DiscreteGaussianImageFilter Gaussian diagram.]
// {Discretized Gaussian.\label{fig:DiscretizedGaussian}}
// \end{floatingfigure}
@@ -208,8 +208,8 @@ int main( int argc, char * argv[] )
//
// \begin{figure}
// \center
- // \includegraphics[width=0.44\textwidth]{BrainProtonDensitySlice.eps}
- // \includegraphics[width=0.44\textwidth]{DiscreteGaussianImageFilterOutput.eps}
+ // \includegraphics[width=0.44\textwidth]{BrainProtonDensitySlice}
+ // \includegraphics[width=0.44\textwidth]{DiscreteGaussianImageFilterOutput}
// \itkcaption[DiscreteGaussianImageFilter output]{Effect of the
// DiscreteGaussianImageFilter on a slice from a MRI proton density image of
// the brain.}
View
4 Examples/Filtering/FlipImageFilter.cxx
@@ -156,8 +156,8 @@ int main( int argc, char * argv[] )
//
// \begin{figure}
// \center
- // \includegraphics[width=0.44\textwidth]{BrainProtonDensitySlice.eps}
- // \includegraphics[width=0.44\textwidth]{FlipImageFilterOutput.eps}
+ // \includegraphics[width=0.44\textwidth]{BrainProtonDensitySlice}
+ // \includegraphics[width=0.44\textwidth]{FlipImageFilterOutput}
// \itkcaption[Effect of the MedianImageFilter]{Effect of the FlipImageFilter on a slice
// from a MRI proton density brain image.}
// \label{fig:FlipImageFilterOutput}
View
4 Examples/Filtering/GradientAnisotropicDiffusionImageFilter.cxx
@@ -197,8 +197,8 @@ int main( int argc, char * argv[] )
// Software Guide : BeginLatex
//
// \begin{figure} \center
- // \includegraphics[width=0.44\textwidth]{BrainProtonDensitySlice.eps}
- // \includegraphics[width=0.44\textwidth]{GradientAnisotropicDiffusionImageFilterOutput.eps}
+ // \includegraphics[width=0.44\textwidth]{BrainProtonDensitySlice}
+ // \includegraphics[width=0.44\textwidth]{GradientAnisotropicDiffusionImageFilterOutput}
// \itkcaption[GradientAnisotropicDiffusionImageFilter output]{Effect of the
// GradientAnisotropicDiffusionImageFilter on a slice from a MRI Proton
// Density image of the brain.}
View
4 Examples/Filtering/GradientMagnitudeImageFilter.cxx
@@ -200,8 +200,8 @@ int main( int argc, char * argv[] )
//
// \begin{figure}
// \center
- // \includegraphics[width=0.44\textwidth]{BrainProtonDensitySlice.eps}
- // \includegraphics[width=0.44\textwidth]{GradientMagnitudeImageFilterOutput.eps}
+ // \includegraphics[width=0.44\textwidth]{BrainProtonDensitySlice}
+ // \includegraphics[width=0.44\textwidth]{GradientMagnitudeImageFilterOutput}
// \itkcaption[GradientMagnitudeImageFilter output]{Effect of the
// GradientMagnitudeImageFilter on a slice from a MRI proton density image
// of the brain.}
View
4 Examples/Filtering/GradientMagnitudeRecursiveGaussianImageFilter.cxx
@@ -230,8 +230,8 @@ int main( int argc, char * argv[] )
//
// \begin{figure}
// \center
- // \includegraphics[width=0.44\textwidth]{GradientMagnitudeRecursiveGaussianImageFilterOutput3.eps}
- // \includegraphics[width=0.44\textwidth]{GradientMagnitudeRecursiveGaussianImageFilterOutput5.eps}
+ // \includegraphics[width=0.44\textwidth]{GradientMagnitudeRecursiveGaussianImageFilterOutput3}
+ // \includegraphics[width=0.44\textwidth]{GradientMagnitudeRecursiveGaussianImageFilterOutput5}
// \itkcaption[GradientMagnitudeRecursiveGaussianImageFilter output]{Effect of
// the GradientMagnitudeRecursiveGaussianImageFilter on a slice from a MRI
// proton density image of the brain.}
View
2 Examples/Filtering/GradientVectorFlowImageFilter.cxx
@@ -18,7 +18,7 @@
// Software Guide : BeginCommandLineArgs
// INPUTS: {GradientRecursiveGaussianImageFilterTest.mha}
-// OUTPUTS: {GradientVectorFlowImageFilterOutput.mha}
+// ARGUMENTS: {GradientVectorFlowImageFilterOutput.mha}
// ARGUMENTS: 5 2000.0
// Software Guide : EndCommandLineArgs
View
4 Examples/Filtering/LaplacianRecursiveGaussianImageFilter1.cxx
@@ -340,8 +340,8 @@ int main( int argc, char * argv[] )
//
// \begin{figure}
// \center
- // \includegraphics[width=0.44\textwidth]{LaplacianRecursiveGaussianImageFilterOutput3.eps}
- // \includegraphics[width=0.44\textwidth]{LaplacianRecursiveGaussianImageFilterOutput5.eps}
+ // \includegraphics[width=0.44\textwidth]{LaplacianRecursiveGaussianImageFilterOutput3}
+ // \includegraphics[width=0.44\textwidth]{LaplacianRecursiveGaussianImageFilterOutput5}
// \itkcaption[Output of the LaplacianRecursiveGaussianImageFilter.]{Effect of the
// LaplacianRecursiveGaussianImageFilter on a slice from a MRI proton density image
// of the brain.}
View
4 Examples/Filtering/LaplacianRecursiveGaussianImageFilter2.cxx
@@ -202,8 +202,8 @@ int main( int argc, char * argv[] )
//
// \begin{figure}
// \center
- // \includegraphics[width=0.44\textwidth]{LaplacianRecursiveGaussianImageFilter2Output3.eps}
- // \includegraphics[width=0.44\textwidth]{LaplacianRecursiveGaussianImageFilter2Output5.eps}
+ // \includegraphics[width=0.44\textwidth]{LaplacianRecursiveGaussianImageFilter2Output3}
+ // \includegraphics[width=0.44\textwidth]{LaplacianRecursiveGaussianImageFilter2Output5}
// \itkcaption[Output of the LaplacianRecursiveGaussianImageFilter.]{Effect of the
// LaplacianRecursiveGaussianImageFilter on a slice from a MRI proton density image
// of the brain.}
View
6 Examples/Filtering/MathematicalMorphologyBinaryFilters.cxx
@@ -271,9 +271,9 @@ int main( int argc, char * argv[] )
//
// \begin{figure}
// \center
- // \includegraphics[width=0.32\textwidth]{BinaryThresholdImageFilterOutput.eps}
- // \includegraphics[width=0.32\textwidth]{MathematicalMorphologyBinaryErosionOutput.eps}
- // \includegraphics[width=0.32\textwidth]{MathematicalMorphologyBinaryDilationOutput.eps}
+ // \includegraphics[width=0.32\textwidth]{BinaryThresholdImageFilterOutput}
+ // \includegraphics[width=0.32\textwidth]{MathematicalMorphologyBinaryErosionOutput}
+ // \includegraphics[width=0.32\textwidth]{MathematicalMorphologyBinaryDilationOutput}
// \itkcaption[Effect of erosion and dilation in a binary image.]{Effect of
// erosion and dilation in a binary image.}
// \label{fig:MathematicalMorphologyBinaryFilters}
View
6 Examples/Filtering/MathematicalMorphologyGrayscaleFilters.cxx
@@ -228,9 +228,9 @@ int main( int argc, char * argv[] )
//
// \begin{figure}
// \center
- // \includegraphics[width=0.32\textwidth]{BrainProtonDensitySlice.eps}
- // \includegraphics[width=0.32\textwidth]{MathematicalMorphologyGrayscaleErosionOutput.eps}
- // \includegraphics[width=0.32\textwidth]{MathematicalMorphologyGrayscaleDilationOutput.eps}
+ // \includegraphics[width=0.32\textwidth]{BrainProtonDensitySlice}
+ // \includegraphics[width=0.32\textwidth]{MathematicalMorphologyGrayscaleErosionOutput}
+ // \includegraphics[width=0.32\textwidth]{MathematicalMorphologyGrayscaleDilationOutput}
// \itkcaption[Effect of erosion and dilation in a grayscale image.]{Effect of
// erosion and dilation in a grayscale image.}
// \label{fig:MathematicalMorphologyGrayscaleFilters}
View
4 Examples/Filtering/MeanImageFilter.cxx
@@ -179,8 +179,8 @@ int main( int argc, char * argv[] )
//
// \begin{figure}
// \center
- // \includegraphics[width=0.44\textwidth]{BrainProtonDensitySlice.eps}
- // \includegraphics[width=0.44\textwidth]{MeanImageFilterOutput.eps}
+ // \includegraphics[width=0.44\textwidth]{BrainProtonDensitySlice}
+ // \includegraphics[width=0.44\textwidth]{MeanImageFilterOutput}
// \itkcaption[Effect of the MedianImageFilter]{Effect of the MeanImageFilter on a slice
// from a MRI proton density brain image.}
// \label{fig:MeanImageFilterOutput}
View
4 Examples/Filtering/MedianImageFilter.cxx
@@ -179,8 +179,8 @@ int main( int argc, char * argv[] )
//
// \begin{figure}
// \center
- // \includegraphics[width=0.44\textwidth]{BrainProtonDensitySlice.eps}
- // \includegraphics[width=0.44\textwidth]{MedianImageFilterOutput.eps}
+ // \includegraphics[width=0.44\textwidth]{BrainProtonDensitySlice}
+ // \includegraphics[width=0.44\textwidth]{MedianImageFilterOutput}
// \itkcaption[Effect of the Median filter.]{Effect of the MedianImageFilter on a
// slice from a MRI proton density brain image.}
// \label{fig:MedianImageFilterOutput}
View
6 Examples/Filtering/MinMaxCurvatureFlowImageFilter.cxx
@@ -27,7 +27,7 @@
//
// \begin{figure}
// \center
-// \includegraphics[width=0.5\textwidth]{MinMaxCurvatureFlowFunctionDiagram.eps}
+// \includegraphics[width=0.5\textwidth]{MinMaxCurvatureFlowFunctionDiagram}
// \itkcaption[MinMaxCurvatureFlow computation]{Elements involved in the
// computation of min-max curvature flow.}
// \label{fig:MinMaxCurvatureFlowFunctionDiagram}
@@ -237,8 +237,8 @@ int main( int argc, char * argv[] )
//
// \begin{figure}
// \center
- // \includegraphics[width=0.44\textwidth]{BrainProtonDensitySlice.eps}
- // \includegraphics[width=0.44\textwidth]{MinMaxCurvatureFlowImageFilterOutput.eps}
+ // \includegraphics[width=0.44\textwidth]{BrainProtonDensitySlice}
+ // \includegraphics[width=0.44\textwidth]{MinMaxCurvatureFlowImageFilterOutput}
// \itkcaption[MinMaxCurvatureFlowImageFilter output]{Effect of the
// MinMaxCurvatureFlowImageFilter on a slice from a MRI proton density image
// of the brain.}
View
4 Examples/Filtering/OtsuThresholdImageFilter.cxx
@@ -199,8 +199,8 @@ int main( int argc, char * argv[] )
//
// \begin{figure}
// \center
- // \includegraphics[width=0.44\textwidth]{BrainProtonDensitySlice.eps}
- // \includegraphics[width=0.44\textwidth]{OtsuThresholdImageFilterOutput.eps}
+ // \includegraphics[width=0.44\textwidth]{BrainProtonDensitySlice}
+ // \includegraphics[width=0.44\textwidth]{OtsuThresholdImageFilterOutput}
// \itkcaption[OtsuThresholdImageFilter output]{Effect of the OtsuThresholdImageFilter on a slice from a MRI
// proton density image of the brain.}
// \label{fig:OtsuThresholdImageFilterInputOutput}
View
10 Examples/Filtering/RGBCurvatureAnisotropicDiffusionImageFilter.cxx
@@ -200,8 +200,8 @@ int main( int argc, char * argv[] )
// Software Guide : BeginLatex
//
// \begin{figure} \center
- // \includegraphics[width=0.44\textwidth]{VisibleWomanHeadSlice.eps}
- // \includegraphics[width=0.44\textwidth]{RGBCurvatureAnisotropicDiffusionImageFilterOutput.eps}
+ // \includegraphics[width=0.44\textwidth]{VisibleWomanHeadSlice}
+ // \includegraphics[width=0.44\textwidth]{RGBCurvatureAnisotropicDiffusionImageFilterOutput}
// \itkcaption[VectorCurvatureAnisotropicDiffusionImageFilter output on RGB]
// {Effect of the VectorCurvatureAnisotropicDiffusionImageFilter on a RGB
// image from a cryogenic section of the Visible Woman data set.}
@@ -221,9 +221,9 @@ int main( int argc, char * argv[] )
// Software Guide : BeginLatex
//
// \begin{figure} \center
- // \includegraphics[width=0.32\textwidth]{VisibleWomanEyeSlice.eps}
- // \includegraphics[width=0.32\textwidth]{RGBGradientAnisotropicDiffusionImageFilterOutput2.eps}
- // \includegraphics[width=0.32\textwidth]{RGBCurvatureAnisotropicDiffusionImageFilterOutput2.eps}
+ // \includegraphics[width=0.32\textwidth]{VisibleWomanEyeSlice}
+ // \includegraphics[width=0.32\textwidth]{RGBGradientAnisotropicDiffusionImageFilterOutput2}
+ // \includegraphics[width=0.32\textwidth]{RGBCurvatureAnisotropicDiffusionImageFilterOutput2}
// \itkcaption[Various Anisotropic Diffusion compared] {Comparison between
// the gradient (center) and curvature (right) Anisotropic Diffusion filters.
// Original image at left.}
View
4 Examples/Filtering/RGBGradientAnisotropicDiffusionImageFilter.cxx
@@ -202,8 +202,8 @@ int main( int argc, char * argv[] )
// Software Guide : BeginLatex
//
// \begin{figure} \center
- // \includegraphics[width=0.44\textwidth]{VisibleWomanHeadSlice.eps}
- // \includegraphics[width=0.44\textwidth]{RGBGradientAnisotropicDiffusionImageFilterOutput.eps}
+ // \includegraphics[width=0.44\textwidth]{VisibleWomanHeadSlice}
+ // \includegraphics[width=0.44\textwidth]{RGBGradientAnisotropicDiffusionImageFilterOutput}
// \itkcaption[VectorGradientAnisotropicDiffusionImageFilter on RGB] {Effect of
// the VectorGradientAnisotropicDiffusionImageFilter on a RGB image from a
// cryogenic section of the Visible Woman data set.}
View
26 Examples/Filtering/ResampleImageFilter.cxx
@@ -243,16 +243,12 @@ int main( int argc, char * argv[] )
// Software Guide : EndLatex
// Software Guide : BeginCodeSnippet
- double spacing[ Dimension ];
- spacing[0] = 1.0; // pixel spacing in millimeters along X
- spacing[1] = 1.0; // pixel spacing in millimeters along Y
-
+ // pixel spacing in millimeters along X and Y
+ const double spacing[ Dimension ] = { 1.0, 1.0 };
filter->SetOutputSpacing( spacing );
- double origin[ Dimension ];
- origin[0] = 0.0; // X space coordinate of origin
- origin[1] = 0.0; // Y space coordinate of origin
-
+ // Physical space coordinate of origin for X and Y
+ const double origin[ Dimension ] = { 0.0, 0.0 };
filter->SetOutputOrigin( origin );
// Software Guide : EndCodeSnippet
@@ -307,15 +303,15 @@ int main( int argc, char * argv[] )
//
// \begin{figure}
// \center
- // \includegraphics[width=0.44\textwidth]{BrainProtonDensitySlice.eps}
- // \includegraphics[width=0.44\textwidth]{ResampleImageFilterOutput1.eps}
+ // \includegraphics[width=0.44\textwidth]{BrainProtonDensitySlice}
+ // \includegraphics[width=0.44\textwidth]{ResampleImageFilterOutput1}
// \itkcaption[Effect of the Resample filter]{Effect of the resample filter.}
// \label{fig:ResampleImageFilterOutput1}
// \end{figure}
//
// \begin{figure}
// \center
- // \includegraphics[width=\textwidth]{ResampleImageFilterOutput1Analysis.eps}
+ // \includegraphics[width=\textwidth]{ResampleImageFilterOutput1Analysis}
// \itkcaption[Analysis of resampling in common coordinate system]{Analysis of
// the resample image done in a common coordinate system.}
// \label{fig:ResampleImageFilterOutput1Analysis}
@@ -371,16 +367,16 @@ int main( int argc, char * argv[] )
//
// \begin{figure}
// \center
- // \includegraphics[width=0.44\textwidth]{BrainProtonDensitySlice.eps}
- // \includegraphics[width=0.44\textwidth]{ResampleImageFilterOutput2.eps}
+ // \includegraphics[width=0.44\textwidth]{BrainProtonDensitySlice}
+ // \includegraphics[width=0.44\textwidth]{ResampleImageFilterOutput2}
// \itkcaption[ResampleImageFilter with a translation by
// $(-30,-50)$]{ResampleImageFilter with a translation by $(-30,-50)$.}
// \label{fig:ResampleImageFilterOutput2}
// \end{figure}
//
// \begin{figure}
// \center
- // \includegraphics[width=\textwidth]{ResampleImageFilterOutput2Analysis.eps}
+ // \includegraphics[width=\textwidth]{ResampleImageFilterOutput2Analysis}
// \itkcaption[ResampleImageFilter. Analysis of a translation by
// $(-30,-50)$]{ResampleImageFilter. Analysis of a translation by
// $(-30,-50)$.}
@@ -430,7 +426,7 @@ int main( int argc, char * argv[] )
//
// \begin{figure}
// \center
- // \includegraphics[width=\textwidth]{ResampleImageFilterOutput3Analysis.eps}
+ // \includegraphics[width=\textwidth]{ResampleImageFilterOutput3Analysis}
// \itkcaption[ResampleImageFilter highlighting image
// borders]{ResampleImageFilter highlighting image borders with
// SetDefaultPixelValue().}
View
111 Examples/Filtering/ResampleImageFilter2.cxx
@@ -127,14 +127,13 @@ int main( int argc, char * argv[] )
//
// Software Guide : EndLatex
- // Software Guide : BeginCodeSnippet
- double spacing[ Dimension ];
- spacing[0] = 1.0; // pixel spacing in millimeters along X
- spacing[1] = 1.0; // pixel spacing in millimeters along Y
-
- filter->SetOutputSpacing( spacing );
- // Software Guide : EndCodeSnippet
-
+ {
+ // Software Guide : BeginCodeSnippet
+ // pixel spacing in millimeters along X & Y
+ const double spacing[ Dimension ] = { 1.0, 1.0 };
+ filter->SetOutputSpacing( spacing );
+ // Software Guide : EndCodeSnippet
+ }
// Software Guide : BeginLatex
//
@@ -159,19 +158,19 @@ int main( int argc, char * argv[] )
//
// Software Guide : EndLatex
- // Software Guide : BeginCodeSnippet
- double origin[ Dimension ];
- origin[0] = 30.0; // X space coordinate of origin
- origin[1] = 40.0; // Y space coordinate of origin
- filter->SetOutputOrigin( origin );
- // Software Guide : EndCodeSnippet
+ {
+ // Software Guide : BeginCodeSnippet
+ // space coordinate of origin
+ const double origin[ Dimension ] = { 30.0, 40.0 };
+ filter->SetOutputOrigin( origin );
+ // Software Guide : EndCodeSnippet
+ }
InputImageType::SizeType size;
size[0] = 300; // number of pixels along X
size[1] = 300; // number of pixels along Y
-
filter->SetSize( size );
filter->SetInput( reader->GetOutput() );
@@ -206,7 +205,7 @@ int main( int argc, char * argv[] )
//
// \begin{figure}
// \center
- // \includegraphics[width=\textwidth]{ResampleImageFilterTransformComposition1.eps}
+ // \includegraphics[width=\textwidth]{ResampleImageFilterTransformComposition1}
// \itkcaption[ResampleImageFilter selecting the origin of the output
// image]{ResampleImageFilter selecting the origin of the output image.}
// \label{fig:ResampleImageFilterTransformComposition1}
@@ -244,11 +243,13 @@ int main( int argc, char * argv[] )
//
// Software Guide : EndLatex
- // Software Guide : BeginCodeSnippet
- origin[0] = 60.0; // X space coordinate of origin
- origin[1] = 30.0; // Y space coordinate of origin
- filter->SetOutputOrigin( origin );
- // Software Guide : EndCodeSnippet
+ {
+ // Software Guide : BeginCodeSnippet
+ // space coordinate of origin
+ const double origin[ Dimension ] = { 60.0, 30.0 };
+ filter->SetOutputOrigin( origin );
+ // Software Guide : EndCodeSnippet
+ }
if( exampleAction == 1 )
@@ -262,7 +263,7 @@ int main( int argc, char * argv[] )
//
// \begin{figure}
// \center
- // \includegraphics[width=\textwidth]{ResampleImageFilterTransformComposition2.eps}
+ // \includegraphics[width=\textwidth]{ResampleImageFilterTransformComposition2}
// \itkcaption[ResampleImageFilter selecting the origin of the output
// image]{ResampleImageFilter selecting the origin of the output image.}
// \label{fig:ResampleImageFilterTransformComposition2}
@@ -289,7 +290,7 @@ int main( int argc, char * argv[] )
//
// \begin{figure}
// \center
- // \includegraphics[width=\textwidth]{ResampleImageFilterTransformComposition3.eps}
+ // \includegraphics[width=\textwidth]{ResampleImageFilterTransformComposition3}
// \itkcaption[ResampleImageFilter selecting the origin of the input
// image]{Effect of selecting the origin of the input
// image with ResampleImageFilter.} \label{fig:ResampleImageFilterTransformComposition3}
@@ -319,12 +320,13 @@ int main( int argc, char * argv[] )
//
// Software Guide : EndLatex
- // Software Guide : BeginCodeSnippet
- origin[0] = 0.0; // X space coordinate of origin
- origin[1] = 0.0; // Y space coordinate of origin
- filter->SetOutputOrigin( origin );
- // Software Guide : EndCodeSnippet
-
+ {
+ // Software Guide : BeginCodeSnippet
+ // space coordinate of origin
+ const double origin[ Dimension ] = { 0.0, 0.0 };
+ filter->SetOutputOrigin( origin );
+ // Software Guide : EndCodeSnippet
+ }
// Software Guide : BeginLatex
//
@@ -334,12 +336,13 @@ int main( int argc, char * argv[] )
//
// Software Guide : EndLatex
- // Software Guide : BeginCodeSnippet
- spacing[0] = 2.0; // pixel spacing in millimeters along X
- spacing[1] = 3.0; // pixel spacing in millimeters along Y
- filter->SetOutputSpacing( spacing );
- // Software Guide : EndCodeSnippet
-
+ {
+ // Software Guide : BeginCodeSnippet
+ // pixel spacing in millimeters
+ const double spacing[ Dimension ] = { 2.0, 3.0 };
+ filter->SetOutputSpacing( spacing );
+ // Software Guide : EndCodeSnippet
+ }
// Software Guide : BeginLatex
//
@@ -382,9 +385,9 @@ int main( int argc, char * argv[] )
//
// \begin{figure}
// \center
- // \includegraphics[width=0.32\textwidth]{BrainProtonDensitySlice.eps}
- // \includegraphics[width=0.32\textwidth]{ResampleImageFilterOutput7.eps}
- // \includegraphics[width=0.32\textwidth]{ResampleImageFilterOutput7b.eps}
+ // \includegraphics[width=0.32\textwidth]{BrainProtonDensitySlice}
+ // \includegraphics[width=0.32\textwidth]{ResampleImageFilterOutput7}
+ // \includegraphics[width=0.32\textwidth]{ResampleImageFilterOutput7b}
// \itkcaption[ResampleImageFilter use of naive viewers]{Resampling with
// different spacing seen by a naive viewer (center) and a correct viewer
// (right), input image (left).}
@@ -394,7 +397,7 @@ int main( int argc, char * argv[] )
//
// \begin{figure}
// \center
- // \includegraphics[width=\textwidth]{ResampleImageFilterTransformComposition4.eps}
+ // \includegraphics[width=\textwidth]{ResampleImageFilterTransformComposition4}
// \itkcaption[ResampleImageFilter and output image spacing]{Effect of selecting
// the spacing on the output image.}
// \label{fig:ResampleImageFilterTransformComposition4}
@@ -421,8 +424,8 @@ int main( int argc, char * argv[] )
//
// \begin{figure}
// \center
- // \includegraphics[width=0.42\textwidth]{BrainProtonDensitySlice2x3.eps}
- // \includegraphics[width=0.42\textwidth]{BrainProtonDensitySlice2x3b.eps}
+ // \includegraphics[width=0.42\textwidth]{BrainProtonDensitySlice2x3}
+ // \includegraphics[width=0.42\textwidth]{BrainProtonDensitySlice2x3b}
// \itkcaption[ResampleImageFilter naive viewers]{Input image with $2 \times
// 3 \mbox{mm}$ spacing as seen with a naive viewer (left) and a correct
// viewer (right).\label{fig:ResampleImageFilterInput2}}
@@ -454,11 +457,13 @@ int main( int argc, char * argv[] )
//
// Software Guide : EndLatex
- // Software Guide : BeginCodeSnippet
- origin[0] = 25.0; // X space coordinate of origin
- origin[1] = 35.0; // Y space coordinate of origin
- filter->SetOutputOrigin( origin );
- // Software Guide : EndCodeSnippet
+ {
+ // Software Guide : BeginCodeSnippet
+ // space coordinate of origin
+ const double origin[ Dimension ] = { 25.0, 35.0 };
+ filter->SetOutputOrigin( origin );
+ // Software Guide : EndCodeSnippet
+ }
// Software Guide : BeginLatex
//
@@ -482,12 +487,12 @@ int main( int argc, char * argv[] )
//
// Software Guide : EndLatex
- // Software Guide : BeginCodeSnippet
- spacing[0] = 4.0; // pixel spacing in millimeters along X
- spacing[1] = 4.5; // pixel spacing in millimeters along Y
- filter->SetOutputSpacing( spacing );
- // Software Guide : EndCodeSnippet
-
+ {
+ // Software Guide : BeginCodeSnippet
+ const double spacing[ Dimension ] = { 4.0, 4.5 };
+ filter->SetOutputSpacing( spacing );
+ // Software Guide : EndCodeSnippet
+ }
if( exampleAction == 4 )
{
@@ -514,7 +519,7 @@ int main( int argc, char * argv[] )
//
// \begin{figure}
// \center
- // \includegraphics[width=\textwidth]{ResampleImageFilterTransformComposition5.eps}
+ // \includegraphics[width=\textwidth]{ResampleImageFilterTransformComposition5}
// \itkcaption[ResampleImageFilter with non-unit spacing]{Effect of non-unit
// spacing on the input and output images.}
// \label{fig:ResampleImageFilterTransformComposition5}
View
6 Examples/Filtering/ResampleImageFilter3.cxx
@@ -46,8 +46,8 @@
//
// \begin{figure}
// \center
-// \includegraphics[height=6cm]{ResampleImageFilterInput2x3.eps}
-// \includegraphics[height=4cm]{ResampleImageFilterOutput9.eps}
+// \includegraphics[height=6cm]{ResampleImageFilterInput2x3}
+// \includegraphics[height=4cm]{ResampleImageFilterOutput9}
// \itkcaption[Effect of a rotation on the resampling filter.]{Effect of a
// rotation on the resampling filter. Input image at left, output image at
// right.}
@@ -56,7 +56,7 @@
//
// \begin{figure}
// \center
-// \includegraphics[width=\textwidth]{ResampleImageFilterTransformComposition6.eps}
+// \includegraphics[width=\textwidth]{ResampleImageFilterTransformComposition6}
// \itkcaption[Input and output image placed in a common reference
// system]{Input and output image placed in a common reference system.}
// \label{fig:ResampleImageFilterTransformComposition6}
View
4 Examples/Filtering/ResampleImageFilter4.cxx
@@ -148,8 +148,8 @@ int main( int argc, char * argv[] )
//
// \begin{figure}
// \center
- // \includegraphics[width=0.44\textwidth]{BrainProtonDensitySliceBorder20.eps}
- // \includegraphics[width=0.44\textwidth]{ResampleImageFilterOutput10.eps}
+ // \includegraphics[width=0.44\textwidth]{BrainProtonDensitySliceBorder20}
+ // \includegraphics[width=0.44\textwidth]{ResampleImageFilterOutput10}
// \itkcaption[Effect of the Resample filter rotating an image]{Effect of the
// resample filter rotating an image.}
// \label{fig:ResampleImageFilterOutput10}
View
4 Examples/Filtering/ResampleImageFilter5.cxx
@@ -238,8 +238,8 @@ int main( int argc, char * argv[] )
//
// \begin{figure}
// \center
- // \includegraphics[width=0.44\textwidth]{BrainProtonDensitySliceBorder20.eps}
- // \includegraphics[width=0.44\textwidth]{ResampleImageFilterOutput11.eps}
+ // \includegraphics[width=0.44\textwidth]{BrainProtonDensitySliceBorder20}
+ // \includegraphics[width=0.44\textwidth]{ResampleImageFilterOutput11}
// \itkcaption[Effect of the Resample filter rotating and scaling an
// image]{Effect of the resample filter rotating and scaling an image.}
// \label{fig:ResampleImageFilterOutput11}
View
21 Examples/Filtering/ResampleOrientedImageFilter.cxx
@@ -54,17 +54,17 @@ int main( int argc, char * argv[] )
filter->SetDefaultPixelValue( 0 );
- double spacing[ Dimension ];
- spacing[0] = 1.0; // pixel spacing in millimeters along X
- spacing[1] = 1.0; // pixel spacing in millimeters along Y
-
- filter->SetOutputSpacing( spacing );
-
- double origin[ Dimension ];
- origin[0] = 0.0; // X space coordinate of origin
- origin[1] = 0.0; // Y space coordinate of origin
+ {
+ //pixel spacing in millimeters
+ const double spacing[ Dimension ] = { 1.0, 1.0 };
+ filter->SetOutputSpacing( spacing );
+ }
- filter->SetOutputOrigin( origin );
+ {
+ // space coordinate of origin
+ const double origin[ Dimension ] = { 0.0, 0.0 };
+ filter->SetOutputOrigin( origin );
+ }
OutputImageType::DirectionType direction;
direction(0,0) = atoi(argv[3]);
@@ -74,7 +74,6 @@ int main( int argc, char * argv[] )
filter->SetOutputDirection(direction);
InputImageType::SizeType size;
-
size[0] = 300; // number of pixels along X
size[1] = 300; // number of pixels along Y
View
8 Examples/Filtering/SigmoidImageFilter.cxx
@@ -47,8 +47,8 @@
// of each parameter.
//
// \begin{figure} \center
-// \includegraphics[width=0.44\textwidth]{SigmoidParameterAlpha.eps}
-// \includegraphics[width=0.44\textwidth]{SigmoidParameterBeta.eps}
+// \includegraphics[width=0.44\textwidth]{SigmoidParameterAlpha}
+// \includegraphics[width=0.44\textwidth]{SigmoidParameterBeta}
// \itkcaption[Sigmoid Parameters]{Effects of the various parameters in the
// SigmoidImageFilter. The alpha parameter defines the width of the intensity
// window. The beta parameter defines the center of the intensity window.}
@@ -205,8 +205,8 @@ int main( int argc, char * argv[] )
//
// \begin{figure}
// \center
- // \includegraphics[width=0.44\textwidth]{BrainProtonDensitySlice.eps}
- // \includegraphics[width=0.44\textwidth]{SigmoidImageFilterOutput.eps}
+ // \includegraphics[width=0.44\textwidth]{BrainProtonDensitySlice}
+ // \includegraphics[width=0.44\textwidth]{SigmoidImageFilterOutput}
// \itkcaption[Effect of the Sigmoid filter.]{Effect of the Sigmoid filter on a
// slice from a MRI proton density brain image.}
// \label{fig:SigmoidImageFilterOutput}
View
4 Examples/Filtering/SignedDanielssonDistanceMapImageFilter.cxx
@@ -192,8 +192,8 @@ int main( int argc, char * argv[] )
//
// \begin{figure}
// \center
- // \includegraphics[width=0.32\textwidth]{Circle.eps}
- // \includegraphics[width=0.32\textwidth]{SignedDanielssonDistanceMapImageFilterOutput.eps}
+ // \includegraphics[width=0.32\textwidth]{Circle}
+ // \includegraphics[width=0.32\textwidth]{SignedDanielssonDistanceMapImageFilterOutput}
// \itkcaption[SignedDanielssonDistanceMapImageFilter
// output]{SignedDanielssonDistanceMapImageFilter applied on a binary circle image.
// The intensity has been rescaled for purposes of display.}
View
4 Examples/Filtering/SmoothingRecursiveGaussianImageFilter.cxx
@@ -290,8 +290,8 @@ int main( int argc, char * argv[] )
//
// \begin{figure}
// \center
- // \includegraphics[width=0.44\textwidth]{SmoothingRecursiveGaussianImageFilterOutput3.eps}
- // \includegraphics[width=0.44\textwidth]{SmoothingRecursiveGaussianImageFilterOutput5.eps}
+ // \includegraphics[width=0.44\textwidth]{SmoothingRecursiveGaussianImageFilterOutput3}
+ // \includegraphics[width=0.44\textwidth]{SmoothingRecursiveGaussianImageFilterOutput5}
// \itkcaption[Output of the SmoothingRecursiveGaussianImageFilter.]{Effect of the
// SmoothingRecursiveGaussianImageFilter on a slice from a MRI proton density image
// of the brain.}
View
4 Examples/Filtering/SmoothingRecursiveGaussianImageFilter2.cxx
@@ -203,8 +203,8 @@ int main( int argc, char * argv[] )
//
// \begin{figure}
// \center
- // \includegraphics[width=0.44\textwidth]{SmoothingRecursiveGaussianImageFilterOutput3.eps}
- // \includegraphics[width=0.44\textwidth]{SmoothingRecursiveGaussianImageFilterOutput5.eps}
+ // \includegraphics[width=0.44\textwidth]{SmoothingRecursiveGaussianImageFilterOutput3}
+ // \includegraphics[width=0.44\textwidth]{SmoothingRecursiveGaussianImageFilterOutput5}
// \itkcaption[SmoothingRecursiveGaussianImageFilter output]{Effect of the
// SmoothingRecursiveGaussianImageFilter on a slice from a MRI proton density image of the brain.}
// \label{fig:SmoothingRecursiveGaussianImageFilterInputOutput}
View
12 Examples/Filtering/ThresholdImageFilter.cxx
@@ -27,26 +27,26 @@
//
// \begin{figure}
// \center
-// \includegraphics[height=5cm]{ThresholdTransferFunctionBelow.eps}
-// \includegraphics[height=5cm]{ThresholdImageFilterOutputBelow.eps}
+// \includegraphics[height=5cm]{ThresholdTransferFunctionBelow}
+// \includegraphics[height=5cm]{ThresholdImageFilterOutputBelow}
// \itkcaption[ThresholdImageFilter using the threshold-below
// mode.]{ThresholdImageFilter using the threshold-below mode.}
// \label{fig:ThresholdTransferFunctionBelow}
// \end{figure}
//
// \begin{figure}
// \center
-// \includegraphics[height=5cm]{ThresholdTransferFunctionAbove.eps}
-// \includegraphics[height=5cm]{ThresholdImageFilterOutputAbove.eps}
+// \includegraphics[height=5cm]{ThresholdTransferFunctionAbove}
+// \includegraphics[height=5cm]{ThresholdImageFilterOutputAbove}
// \itkcaption[ThresholdImageFilter using the threshold-above
// mode]{ThresholdImageFilter using the threshold-above mode.}
// \label{fig:ThresholdTransferFunctionAbove}
// \end{figure}
//
// \begin{figure}
// \center
-// \includegraphics[height=5cm]{ThresholdTransferFunctionOutside.eps}
-// \includegraphics[height=5cm]{ThresholdImageFilterOutputOutside.eps}
+// \includegraphics[height=5cm]{ThresholdTransferFunctionOutside}
+// \includegraphics[height=5cm]{ThresholdImageFilterOutputOutside}
// \itkcaption[ThresholdImageFilter using the threshold-outside
// mode]{ThresholdImageFilter using the threshold-outside mode.}
// \label{fig:ThresholdTransferFunctionOutside}
View
4 Examples/Filtering/VectorCurvatureAnisotropicDiffusionImageFilter.cxx
@@ -211,8 +211,8 @@ int main( int argc, char * argv[] )
// Software Guide : BeginLatex
//
// \begin{figure} \center
- // \includegraphics[width=0.44\textwidth]{VectorCurvatureAnisotropicDiffusionImageFilterInput.eps}
- // \includegraphics[width=0.44\textwidth]{VectorCurvatureAnisotropicDiffusionImageFilterOutput.eps}
+ // \includegraphics[width=0.44\textwidth]{VectorCurvatureAnisotropicDiffusionImageFilterInput}
+ // \includegraphics[width=0.44\textwidth]{VectorCurvatureAnisotropicDiffusionImageFilterOutput}
// \itkcaption[VectorCurvatureAnisotropicDiffusionImageFilter output]{Effect
// of the VectorCurvatureAnisotropicDiffusionImageFilter on the $X$ component
// of the gradient from a MRIproton density brain image.}
View
4 Examples/Filtering/VectorGradientAnisotropicDiffusionImageFilter.cxx
@@ -208,8 +208,8 @@ int main( int argc, char * argv[] )
// Software Guide : BeginLatex
//
// \begin{figure} \center
- // \includegraphics[width=0.44\textwidth]{VectorGradientAnisotropicDiffusionImageFilterInput.eps}
- // \includegraphics[width=0.44\textwidth]{VectorGradientAnisotropicDiffusionImageFilterOutput.eps}
+ // \includegraphics[width=0.44\textwidth]{VectorGradientAnisotropicDiffusionImageFilterInput}
+ // \includegraphics[width=0.44\textwidth]{VectorGradientAnisotropicDiffusionImageFilterOutput}
// \itkcaption[VectorGradientAnisotropicDiffusionImageFilter output]{Effect of
// the VectorGradientAnisotropicDiffusionImageFilter on the $X$ component of
// the gradient from a MRI proton density brain image.}
View
8 Examples/Filtering/VotingBinaryHoleFillingImageFilter.cxx
@@ -212,10 +212,10 @@ int main( int argc, char * argv[] )
//
// \begin{figure}
// \center
- // \includegraphics[width=0.44\textwidth]{BinaryThresholdImageFilterOutput.eps}
- // \includegraphics[width=0.44\textwidth]{VotingBinaryHoleFillingImageFilterOutput1.eps}
- // \includegraphics[width=0.44\textwidth]{VotingBinaryHoleFillingImageFilterOutput2.eps}
- // \includegraphics[width=0.44\textwidth]{VotingBinaryHoleFillingImageFilterOutput3.eps}
+ // \includegraphics[width=0.44\textwidth]{BinaryThresholdImageFilterOutput}
+ // \includegraphics[width=0.44\textwidth]{VotingBinaryHoleFillingImageFilterOutput1}
+ // \includegraphics[width=0.44\textwidth]{VotingBinaryHoleFillingImageFilterOutput2}
+ // \includegraphics[width=0.44\textwidth]{VotingBinaryHoleFillingImageFilterOutput3}
// \itkcaption[Effect of the VotingBinaryHoleFilling filter.]{Effect of the
// VotingBinaryHoleFillingImageFilter on a slice from a MRI proton density brain image
// that has been thresholded in order to produce a binary image. The output
View
8 Examples/Filtering/VotingBinaryIterativeHoleFillingImageFilter.cxx
@@ -240,10 +240,10 @@ int main( int argc, char * argv[] )
//
// \begin{figure}
// \center
- // \includegraphics[width=0.44\textwidth]{BinaryThresholdImageFilterOutput.eps}
- // \includegraphics[width=0.44\textwidth]{VotingBinaryIterativeHoleFillingImageFilterOutput1.eps}
- // \includegraphics[width=0.44\textwidth]{VotingBinaryIterativeHoleFillingImageFilterOutput2.eps}
- // \includegraphics[width=0.44\textwidth]{VotingBinaryIterativeHoleFillingImageFilterOutput3.eps}
+ // \includegraphics[width=0.44\textwidth]{BinaryThresholdImageFilterOutput}
+ // \includegraphics[width=0.44\textwidth]{VotingBinaryIterativeHoleFillingImageFilterOutput1}
+ // \includegraphics[width=0.44\textwidth]{VotingBinaryIterativeHoleFillingImageFilterOutput2}
+ // \includegraphics[width=0.44\textwidth]{VotingBinaryIterativeHoleFillingImageFilterOutput3}
// \itkcaption[Effect of the VotingBinaryIterativeHoleFilling filter.]{Effect of the
// VotingBinaryIterativeHoleFillingImageFilter on a slice from a MRI proton density brain image
// that has been thresholded in order to produce a binary image. The output
View
4 Examples/Iterators/ImageRegionIterator.cxx
@@ -255,8 +255,8 @@ int main( int argc, char *argv[] )
//
// \begin{figure}
// \centering
- // \includegraphics[width=0.4\textwidth]{FatMRISlice.eps}
- // \includegraphics[width=0.3\textwidth]{ImageRegionIteratorOutput.eps}
+ // \includegraphics[width=0.4\textwidth]{FatMRISlice}
+ // \includegraphics[width=0.3\textwidth]{ImageRegionIteratorOutput}
// \itkcaption[Copying an image subregion using ImageRegionIterator]{Cropping a
// region from an image. The original image is shown at left. The image on
// the right is the result of applying the ImageRegionIterator example code.}
View
4 Examples/Iterators/ImageRegionIteratorWithIndex.cxx
@@ -172,8 +172,8 @@ int main( int argc, char *argv[] )
// image has been mirrored across its $x$-axis in the output.
//
// \begin{figure} \center
- // \includegraphics[width=0.44\textwidth]{VisibleWomanEyeSlice.eps}
- // \includegraphics[width=0.44\textwidth]{ImageRegionIteratorWithIndexOutput.eps}
+ // \includegraphics[width=0.44\textwidth]{VisibleWomanEyeSlice}
+ // \includegraphics[width=0.44\textwidth]{ImageRegionIteratorWithIndexOutput}
// \itkcaption[Using the ImageRegionIteratorWithIndex]{Results of using
// ImageRegionIteratorWithIndex to mirror an image across an axis. The original
// image is shown at left. The mirrored output is shown at right.}
View
2 Examples/Iterators/ImageSliceIteratorWithIndex.cxx
@@ -308,7 +308,7 @@ int main( int argc, char *argv[] )
//
// \begin{figure}
// \centering
- // \includegraphics[width=0.4\textwidth]{ImageSliceIteratorWithIndexOutput.eps}
+ // \includegraphics[width=0.4\textwidth]{ImageSliceIteratorWithIndexOutput}
// \itkcaption[Maximum intensity projection using ImageSliceIteratorWithIndex]{The
// maximum intensity projection through three slices of a volume.}
// \protect\label{fig:ImageSliceIteratorWithIndexOutput}
View
6 Examples/Iterators/NeighborhoodIterators1.cxx
@@ -237,9 +237,9 @@ int main( int argc, char ** argv )
// \code{Examples/Data/BrainT1Slice.png}.
//
// \begin{figure} \centering
- // \includegraphics[width=0.3\textwidth]{BrainT1Slice.eps}
- // \includegraphics[width=0.3\textwidth]{NeighborhoodIterators1a.eps}
- // \includegraphics[width=0.3\textwidth]{NeighborhoodIterators1b.eps}
+ // \includegraphics[width=0.3\textwidth]{BrainT1Slice}
+ // \includegraphics[width=0.3\textwidth]{NeighborhoodIterators1a}
+ // \includegraphics[width=0.3\textwidth]{NeighborhoodIterators1b}
// \itkcaption[Sobel edge detection results]{Applying the Sobel operator in
// different orientations to an MRI image (left) produces $x$ (center) and $y$
// (right) derivative images.}
View
8 Examples/Iterators/NeighborhoodIterators4.cxx
@@ -184,10 +184,10 @@ int main( int argc, char ** argv )
//
// \begin{figure}
// \centering
-// \includegraphics[width=0.23\textwidth]{NeighborhoodIterators4a.eps}
-// \includegraphics[width=0.23\textwidth]{NeighborhoodIterators4b.eps}
-// \includegraphics[width=0.23\textwidth]{NeighborhoodIterators4c.eps}
-// \includegraphics[width=0.23\textwidth]{NeighborhoodIterators4d.eps}
+// \includegraphics[width=0.23\textwidth]{NeighborhoodIterators4a}
+// \includegraphics[width=0.23\textwidth]{NeighborhoodIterators4b}
+// \includegraphics[width=0.23\textwidth]{NeighborhoodIterators4c}
+// \includegraphics[width=0.23\textwidth]{NeighborhoodIterators4d}
// \itkcaption[Gaussian blurring by convolution filtering]{Results of
// convolution filtering with a Gaussian kernel of increasing standard
// deviation $\sigma$ (from left to right, $\sigma = 0$, $\sigma = 1$, $\sigma
View
6 Examples/Iterators/NeighborhoodIterators6.cxx
@@ -192,9 +192,9 @@ int main( int argc, char ** argv )
// additive noise is visible as the small perturbations in the paths.
//
// \begin{figure} \centering
-// \includegraphics[width=0.3\textwidth]{NeighborhoodIterators6a.eps}
-// \includegraphics[width=0.3\textwidth]{NeighborhoodIterators6b.eps}
-// \includegraphics[width=0.3\textwidth]{NeighborhoodIterators6c.eps}
+// \includegraphics[width=0.3\textwidth]{NeighborhoodIterators6a}
+// \includegraphics[width=0.3\textwidth]{NeighborhoodIterators6b}
+// \includegraphics[width=0.3\textwidth]{NeighborhoodIterators6c}
// \itkcaption[Finding local minima]{Paths traversed by the neighborhood
// iterator from different seed points to the local minimum.
// The true minimum is at the center
View
10 Examples/Iterators/ShapedNeighborhoodIterators2.cxx
@@ -153,11 +153,11 @@ int main( int argc, char ** argv )
// in sequence effects the morphological operations of opening and closing.
//
// \begin{figure} \centering
-// \includegraphics[width=0.18\textwidth]{BinaryImage.eps}
-// \includegraphics[width=0.18\textwidth]{ShapedNeighborhoodIterators1a.eps}
-// \includegraphics[width=0.18\textwidth]{ShapedNeighborhoodIterators1b.eps}
-// \includegraphics[width=0.18\textwidth]{ShapedNeighborhoodIterators1c.eps}
-// \includegraphics[width=0.18\textwidth]{ShapedNeighborhoodIterators1d.eps}
+// \includegraphics[width=0.18\textwidth]{BinaryImage}
+// \includegraphics[width=0.18\textwidth]{ShapedNeighborhoodIterators1a}
+// \includegraphics[width=0.18\textwidth]{ShapedNeighborhoodIterators1b}
+// \includegraphics[width=0.18\textwidth]{ShapedNeighborhoodIterators1c}
+// \includegraphics[width=0.18\textwidth]{ShapedNeighborhoodIterators1d}
// \itkcaption[Binary image morphology]{The effects of morphological operations
// on a binary image using a circular structuring element of size 4. From left
// to right are the original image, erosion, dilation, opening, and closing.
View
8 Examples/Registration/DeformableRegistration2.cxx
@@ -19,8 +19,8 @@
// Software Guide : BeginCommandLineArgs
// INPUTS: RatLungSlice1.mha
// INPUTS: RatLungSlice2.mha
-// OUTPUTS: DeformableRegistration2Output.mha
-// OUTPUTS: DeformableRegistration2Field.mha
+// ARGUMENTS: DeformableRegistration2Output.mha
+// ARGUMENTS: DeformableRegistration2Field.mha
// Software Guide : EndCommandLineArgs
@@ -373,8 +373,8 @@ int main( int argc, char *argv[] )
// \end{itemize}
//
// \begin{figure} \center
- // \includegraphics[width=0.44\textwidth]{DeformableRegistration2CheckerboardBefore.eps}
- // \includegraphics[width=0.44\textwidth]{DeformableRegistration2CheckerboardAfter.eps}
+ // \includegraphics[width=0.44\textwidth]{DeformableRegistration2CheckerboardBefore}
+ // \includegraphics[width=0.44\textwidth]{DeformableRegistration2CheckerboardAfter}
// \itkcaption[Demon's deformable registration output]{Checkerboard comparisons
// before and after demons-based deformable registration.}
// \label{fig:DeformableRegistration2Output}
View
4 Examples/Registration/DeformableRegistration3.cxx
@@ -369,8 +369,8 @@ int main( int argc, char *argv[] )
// \end{itemize}
//
// \begin{figure} \center
- // \includegraphics[width=0.44\textwidth]{DeformableRegistration2CheckerboardBefore.eps}
- // \includegraphics[width=0.44\textwidth]{DeformableRegistration2CheckerboardAfter.eps}
+ // \includegraphics[width=0.44\textwidth]{DeformableRegistration2CheckerboardBefore}
+ // \includegraphics[width=0.44\textwidth]{DeformableRegistration2CheckerboardAfter}
// \itkcaption[Demon's deformable registration output]{Checkerboard comparisons
// before and after demons-based deformable registration.}
// \label{fig:DeformableRegistration3Output}
View
4 Examples/Registration/DeformableRegistration5.cxx
@@ -364,8 +364,8 @@ int main( int argc, char *argv[] )
// \end{itemize}
//
// \begin{figure} \center
- // \includegraphics[width=0.44\textwidth]{DeformableRegistration2CheckerboardBefore.eps}
- // \includegraphics[width=0.44\textwidth]{DeformableRegistration2CheckerboardAfter.eps}
+ // \includegraphics[width=0.44\textwidth]{DeformableRegistration2CheckerboardBefore}
+ // \includegraphics[width=0.44\textwidth]{DeformableRegistration2CheckerboardAfter}
// \itkcaption[Demon's deformable registration output]{Checkerboard comparisons
// before and after demons-based deformable registration.}
// \label{fig:DeformableRegistration5Output}
View
16 Examples/Registration/ImageRegistration1.cxx
@@ -503,8 +503,8 @@ int main( int argc, char *argv[] )
//
// \begin{figure}
// \center
- // \includegraphics[width=0.44\textwidth]{BrainProtonDensitySliceBorder20.eps}
- // \includegraphics[width=0.44\textwidth]{BrainProtonDensitySliceShifted13x17y.eps}
+ // \includegraphics[width=0.44\textwidth]{BrainProtonDensitySliceBorder20}
+ // \includegraphics[width=0.44\textwidth]{BrainProtonDensitySliceShifted13x17y}
// \itkcaption[Fixed and Moving images in registration framework]{Fixed and
// Moving image provided as input to the registration method.}
// \label{fig:FixedMovingImageRegistration1}
@@ -598,9 +598,9 @@ int main( int argc, char *argv[] )
//
// \begin{figure}
// \center
- // \includegraphics[width=0.32\textwidth]{ImageRegistration1Output.eps}
- // \includegraphics[width=0.32\textwidth]{ImageRegistration1DifferenceBefore.eps}
- // \includegraphics[width=0.32\textwidth]{ImageRegistration1DifferenceAfter.eps}
+ // \includegraphics[width=0.32\textwidth]{ImageRegistration1Output}
+ // \includegraphics[width=0.32\textwidth]{ImageRegistration1DifferenceBefore}
+ // \includegraphics[width=0.32\textwidth]{ImageRegistration1DifferenceAfter}
// \itkcaption[HelloWorld registration output images]{Mapped moving image and its
// difference with the fixed image before and after registration}
// \label{fig:ImageRegistration1Output}
@@ -662,7 +662,7 @@ int main( int argc, char *argv[] )
//
// \begin{figure}
// \center
- // \includegraphics[width=\textwidth]{ImageRegistration1Pipeline.eps}
+ // \includegraphics[width=\textwidth]{ImageRegistration1Pipeline}
// \itkcaption[Pipeline structure of the registration example]{Pipeline
// structure of the registration example.}
// \label{fig:ImageRegistration1Pipeline}
@@ -810,8 +810,8 @@ int main( int argc, char *argv[] )
//
// \begin{figure}
// \center
- // \includegraphics[height=0.44\textwidth]{ImageRegistration1TraceTranslations.eps}
- // \includegraphics[height=0.44\textwidth]{ImageRegistration1TraceMetric.eps}
+ // \includegraphics[height=0.44\textwidth]{ImageRegistration1TraceTranslations}
+ // \includegraphics[height=0.44\textwidth]{ImageRegistration1TraceMetric}
// \itkcaption[Trace of translations and metrics during registration]{The sequence
// of translations and metric values at each iteration of the optimizer.}
// \label{fig:ImageRegistration1Trace}
View
18 Examples/Registration/ImageRegistration2.cxx
@@ -477,8 +477,8 @@ int main( int argc, char *argv[] )
//
// \begin{figure}
// \center
- // \includegraphics[width=0.44\textwidth]{BrainT1SliceBorder20.eps}
- // \includegraphics[width=0.44\textwidth]{BrainProtonDensitySliceShifted13x17y.eps}
+ // \includegraphics[width=0.44\textwidth]{BrainT1SliceBorder20}
+ // \includegraphics[width=0.44\textwidth]{BrainProtonDensitySliceShifted13x17y}
// \itkcaption[Multi-Modality Registration Inputs]{A T1 MRI (fixed image) and a proton
// density MRI (moving image) are provided as input to the registration method.}
// \label{fig:FixedMovingImageRegistration2}
@@ -582,9 +582,9 @@ int main( int argc, char *argv[] )
//
// \begin{figure}
// \center
- // \includegraphics[width=0.32\textwidth]{ImageRegistration2Output.eps}
- // \includegraphics[width=0.32\textwidth]{ImageRegistration2CheckerboardBefore.eps}
- // \includegraphics[width=0.32\textwidth]{ImageRegistration2CheckerboardAfter.eps}
+ // \includegraphics[width=0.32\textwidth]{ImageRegistration2Output}
+ // \includegraphics[width=0.32\textwidth]{ImageRegistration2CheckerboardBefore}
+ // \includegraphics[width=0.32\textwidth]{ImageRegistration2CheckerboardAfter}
// \itkcaption[Multi-Modality Registration outputs]{Mapped moving image (left)
// and composition of fixed and moving images before (center) and after
// (right) registration.}
@@ -602,8 +602,8 @@ int main( int argc, char *argv[] )
//
// \begin{figure}
// \center
- // \includegraphics[width=0.44\textwidth]{ImageRegistration2TraceTranslations.eps}
- // \includegraphics[width=0.44\textwidth]{ImageRegistration2TraceTranslations2.eps}
+ // \includegraphics[width=0.44\textwidth]{ImageRegistration2TraceTranslations}
+ // \includegraphics[width=0.44\textwidth]{ImageRegistration2TraceTranslations2}
// \itkcaption[Multi-Modality Registration plot of translations]{Sequence of
// translations during the registration process. On the left are iterations 0 to
// 200. On the right are iterations 150 to 200.}
@@ -624,8 +624,8 @@ int main( int argc, char *argv[] )
//
// \begin{figure}
// \center
- // \includegraphics[width=0.44\textwidth]{ImageRegistration2TraceMetric.eps}
- // \includegraphics[width=0.44\textwidth]{ImageRegistration2TraceMetric2.eps}
+ // \includegraphics[width=0.44\textwidth]{ImageRegistration2TraceMetric}
+ // \includegraphics[width=0.44\textwidth]{ImageRegistration2TraceMetric2}
// \itkcaption[Multi-Modality Registration plot of metrics]{The sequence of metric
// values produced during the registration process. On the left are
// iterations 0 to 200. On the right are iterations 150 to 200.}
View
2 Examples/Registration/ImageRegistration3.cxx
@@ -361,7 +361,7 @@ int main( int argc, char *argv[] )
//
// \begin{figure}
// \center
- // \includegraphics[width=\textwidth]{ImageRegistration3Observer.eps}
+ // \includegraphics[width=\textwidth]{ImageRegistration3Observer}
// \itkcaption[Command/Observer and the Registration Framework]{Interaction
// between the Command/Observer and the Registration Method.}
// \label{fig:ImageRegistration3Observer}
View
14 Examples/Registration/ImageRegistration4.cxx
@@ -412,9 +412,9 @@ int main( int argc, char *argv[] )
//
// \begin{figure}
// \center
- // \includegraphics[width=0.32\textwidth]{ImageRegistration4Output.eps}
- // \includegraphics[width=0.32\textwidth]{ImageRegistration4CheckerboardBefore.eps}
- // \includegraphics[width=0.32\textwidth]{ImageRegistration4CheckerboardAfter.eps}
+ // \includegraphics[width=0.32\textwidth]{ImageRegistration4Output}
+ // \includegraphics[width=0.32\textwidth]{ImageRegistration4CheckerboardBefore}
+ // \includegraphics[width=0.32\textwidth]{ImageRegistration4CheckerboardAfter}
// \itkcaption[MattesMutualInformationImageToImageMetric output images]{The mapped
// moving image (left) and the composition of fixed and moving images before
// (center) and after (right) registration with Mattes mutual information.}
@@ -470,9 +470,9 @@ int main( int argc, char *argv[] )
//
// \begin{figure}
// \center
- // \includegraphics[width=0.44\textwidth]{ImageRegistration4TraceTranslations.eps}
- // \includegraphics[width=0.44\textwidth]{ImageRegistration4TraceTranslations2.eps}
- // \includegraphics[width=0.6\textwidth]{ImageRegistration4TraceMetric.eps}
+ // \includegraphics[width=0.44\textwidth]{ImageRegistration4TraceTranslations}
+ // \includegraphics[width=0.44\textwidth]{ImageRegistration4TraceTranslations2}
+ // \includegraphics[width=0.6\textwidth]{ImageRegistration4TraceMetric}
// \itkcaption[MattesMutualInformationImageToImageMetric output plots]{Sequence
// of translations and metric values at each iteration of the optimizer.}
// \label{fig:ImageRegistration4TraceTranslations}
@@ -514,7 +514,7 @@ int main( int argc, char *argv[] )
//
// \begin{figure}
// \center
- // \includegraphics[width=0.8\textwidth]{ImageRegistration4TraceTranslationsNumberOfBins.eps}
+ // \includegraphics[width=0.8\textwidth]{ImageRegistration4TraceTranslationsNumberOfBins}
// \itkcaption[MattesMutualInformationImageToImageMetric number of
// bins]{Sensitivity of the optimization path to the number of Bins used for
// estimating the value of Mutual Information with Mattes et al. approach.}
View
32 Examples/Registration/ImageRegistration5.cxx
@@ -454,8 +454,8 @@ int main( int argc, char *argv[] )
//
// \begin{figure}
// \center
- // \includegraphics[width=0.44\textwidth]{BrainProtonDensitySliceBorder20.eps}
- // \includegraphics[width=0.44\textwidth]{BrainProtonDensitySliceRotated10.eps}
+ // \includegraphics[width=0.44\textwidth]{BrainProtonDensitySliceBorder20}
+ // \includegraphics[width=0.44\textwidth]{BrainProtonDensitySliceRotated10}
// \itkcaption[Rigid2D Registration input images]{Fixed and moving images
// are provided as input to the registration method using the CenteredRigid2D
// transform.}
@@ -465,9 +465,9 @@ int main( int argc, char *argv[] )
//
// \begin{figure}
// \center
- // \includegraphics[width=0.32\textwidth]{ImageRegistration5Output.eps}
- // \includegraphics[width=0.32\textwidth]{ImageRegistration5DifferenceBefore.eps}
- // \includegraphics[width=0.32\textwidth]{ImageRegistration5DifferenceAfter.eps}
+ // \includegraphics[width=0.32\textwidth]{ImageRegistration5Output}
+ // \includegraphics[width=0.32\textwidth]{ImageRegistration5DifferenceBefore}
+ // \includegraphics[width=0.32\textwidth]{ImageRegistration5DifferenceAfter}
// \itkcaption[Rigid2D Registration output images]{Resampled moving image
// (left). Differences between the fixed and moving images, before (center)
// and after (right) registration using the CenteredRigid2D transform.}
@@ -483,9 +483,9 @@ int main( int argc, char *argv[] )
//
// \begin{figure}
// \center
- // \includegraphics[height=0.32\textwidth]{ImageRegistration5TraceMetric1.eps}
- // \includegraphics[height=0.32\textwidth]{ImageRegistration5TraceAngle1.eps}
- // \includegraphics[height=0.32\textwidth]{ImageRegistration5TraceTranslations1.eps}
+ // \includegraphics[height=0.32\textwidth]{ImageRegistration5TraceMetric1}
+ // \includegraphics[height=0.32\textwidth]{ImageRegistration5TraceAngle1}
+ // \includegraphics[height=0.32\textwidth]{ImageRegistration5TraceTranslations1}
// \itkcaption[Rigid2D Registration output plots]{Metric values, rotation
// angle and translations during registration with the CenteredRigid2D
// transform.}
@@ -647,8 +647,8 @@ int main( int argc, char *argv[] )
//
// \begin{figure}
// \center
- // \includegraphics[width=0.44\textwidth]{BrainProtonDensitySliceBorder20.eps}
- // \includegraphics[width=0.44\textwidth]{BrainProtonDensitySliceR10X13Y17.eps}
+ // \includegraphics[width=0.44\textwidth]{BrainProtonDensitySliceBorder20}
+ // \includegraphics[width=0.44\textwidth]{BrainProtonDensitySliceR10X13Y17}
// \itkcaption[Rigid2D Registration input images]{Fixed and moving images
// provided as input to the registration method using the CenteredRigid2D
// transform.}
@@ -658,9 +658,9 @@ int main( int argc, char *argv[] )
//
// \begin{figure}
// \center
- // \includegraphics[width=0.32\textwidth]{ImageRegistration5Output2.eps}
- // \includegraphics[width=0.32\textwidth]{ImageRegistration5DifferenceBefore2.eps}
- // \includegraphics[width=0.32\textwidth]{ImageRegistration5DifferenceAfter2.eps}
+ // \includegraphics[width=0.32\textwidth]{ImageRegistration5Output2}
+ // \includegraphics[width=0.32\textwidth]{ImageRegistration5DifferenceBefore2}
+ // \includegraphics[width=0.32\textwidth]{ImageRegistration5DifferenceAfter2}
// \itkcaption[Rigid2D Registration output images]{Resampled moving image
// (left). Differences between the fixed and moving images, before (center)
// and after (right) registration with the CenteredRigid2D transform.}
@@ -673,9 +673,9 @@ int main( int argc, char *argv[] )
//
// \begin{figure}
// \center
- // \includegraphics[height=0.32\textwidth]{ImageRegistration5TraceMetric2.eps}
- // \includegraphics[height=0.32\textwidth]{ImageRegistration5TraceAngle2.eps}
- // \includegraphics[height=0.32\textwidth]{ImageRegistration5TraceTranslations2.eps}
+ // \includegraphics[height=0.32\textwidth]{ImageRegistration5TraceMetric2}
+ // \includegraphics[height=0.32\textwidth]{ImageRegistration5TraceAngle2}
+ // \includegraphics[height=0.32\textwidth]{ImageRegistration5TraceTranslations2}
// \itkcaption[Rigid2D Registration output plots]{Metric values, rotation
// angle and translations during the registration using the CenteredRigid2D
// transform on an image with rotation and translation mis-registration.}
View
18 Examples/Registration/ImageRegistration6.cxx
@@ -478,7 +478,7 @@ int main( int argc, char *argv[] )
//
// \begin{figure}
// \center
- // \includegraphics[width=\textwidth]{TranslationAndRotationCenter.eps}
+ // \includegraphics[width=\textwidth]{TranslationAndRotationCenter}
// \itkcaption[Effect of changing the center of rotation]{Effect of changing
// the center of rotation.}
// \label{fig:TranslationAndRotationCenter}
@@ -504,8 +504,8 @@ int main( int argc, char *argv[] )
//
// \begin{figure}
// \center
- // \includegraphics[width=0.44\textwidth]{BrainProtonDensitySliceBorder20.eps}
- // \includegraphics[width=0.44\textwidth]{BrainProtonDensitySliceR10X13Y17.eps}
+ // \includegraphics[width=0.44\textwidth]{BrainProtonDensitySliceBorder20}
+ // \includegraphics[width=0.44\textwidth]{BrainProtonDensitySliceR10X13Y17}
// \itkcaption[CenteredTransformInitializer input images]{Fixed and moving
// images provided as input to the registration method using
// CenteredTransformInitializer.}
@@ -515,9 +515,9 @@ int main( int argc, char *argv[] )
//
// \begin{figure}
// \center
- // \includegraphics[width=0.32\textwidth]{ImageRegistration6Output.eps}
- // \includegraphics[width=0.32\textwidth]{ImageRegistration6DifferenceBefore.eps}
- // \includegraphics[width=0.32\textwidth]{ImageRegistration6DifferenceAfter.eps}
+ // \includegraphics[width=0.32\textwidth]{ImageRegistration6Output}
+ // \includegraphics[width=0.32\textwidth]{ImageRegistration6DifferenceBefore}
+ // \includegraphics[width=0.32\textwidth]{ImageRegistration6DifferenceAfter}
// \itkcaption[CenteredTransformInitializer output images]{Resampled moving
// image (left). Differences between fixed and moving images, before
// registration (center) and after registration (right) with the
@@ -531,9 +531,9 @@ int main( int argc, char *argv[] )
//
// \begin{figure}
// \center
- // \includegraphics[height=0.32\textwidth]{ImageRegistration6TraceMetric.eps}
- // \includegraphics[height=0.32\textwidth]{ImageRegistration6TraceAngle.eps}
- // \includegraphics[height=0.32\textwidth]{ImageRegistration6TraceTranslations.eps}
+ // \includegraphics[height=0.32\textwidth]{ImageRegistration6TraceMetric}
+ // \includegraphics[height=0.32\textwidth]{ImageRegistration6TraceAngle}
+ // \includegraphics[height=0.32\textwidth]{ImageRegistration6TraceTranslations}
// \itkcaption[CenteredTransformInitializer output plots]{Plots of the Metric,
// rotation angle, center of rotation and translations during the
// registration using CenteredTransformInitializer.}
View
18 Examples/Registration/ImageRegistration7.cxx
@@ -424,8 +424,8 @@ int main( int argc, char *argv[] )
//
// \begin{figure}
// \center
- // \includegraphics[width=0.44\textwidth]{BrainProtonDensitySliceBorder20.eps}
- // \includegraphics[width=0.44\textwidth]{BrainProtonDensitySliceR10X13Y17S12.eps}
+ // \includegraphics[width=0.44\textwidth]{BrainProtonDensitySliceBorder20}
+ // \includegraphics[width=0.44\textwidth]{BrainProtonDensitySliceR10X13Y17S12}
// \itkcaption[Fixed and Moving image registered with
// CenteredSimilarity2DTransform]{Fixed and Moving image provided as input to the
// registration method using the Similarity2D transform.}
@@ -435,9 +435,9 @@ int main( int argc, char *argv[] )
//
// \begin{figure}
// \center
- // \includegraphics[width=0.32\textwidth]{ImageRegistration7Output.eps}
- // \includegraphics[width=0.32\textwidth]{ImageRegistration7DifferenceBefore.eps}
- // \includegraphics[width=0.32\textwidth]{ImageRegistration7DifferenceAfter.eps}
+ // \includegraphics[width=0.32\textwidth]{ImageRegistration7Output}
+ // \includegraphics[width=0.32\textwidth]{ImageRegistration7DifferenceBefore}
+ // \includegraphics[width=0.32\textwidth]{ImageRegistration7DifferenceAfter}
// \itkcaption[Output of the CenteredSimilarity2DTransform registration]{Resampled
// moving image (left). Differences between fixed and
// moving images, before (center) and after (right) registration with the
@@ -451,10 +451,10 @@ int main( int argc, char *argv[] )
//
// \begin{figure}
// \center
- // \includegraphics[height=0.32\textwidth]{ImageRegistration7TraceMetric.eps}
- // \includegraphics[height=0.32\textwidth]{ImageRegistration7TraceAngle.eps}
- // \includegraphics[height=0.32\textwidth]{ImageRegistration7TraceScale.eps}
- // \includegraphics[height=0.32\textwidth]{ImageRegistration7TraceTranslations.eps}
+ // \includegraphics[height=0.32\textwidth]{ImageRegistration7TraceMetric}
+ // \includegraphics[height=0.32\textwidth]{ImageRegistration7TraceAngle}
+ // \includegraphics[height=0.32\textwidth]{ImageRegistration7TraceScale}
+ // \includegraphics[height=0.32\textwidth]{ImageRegistration7TraceTranslations}
// \itkcaption[CenteredSimilarity2DTransform registration plots]{Plots of the Metric,
// rotation angle and translations during
// the registration using
View
22 Examples/Registration/ImageRegistration8.cxx
@@ -19,9 +19,9 @@
// Software Guide : BeginCommandLineArgs
// INPUTS: brainweb1e1a10f20.mha
// INPUTS: brainweb1e1a10f20Rot10Tx15.mha
-// OUTPUTS: ImageRegistration8Output.mhd
-// OUTPUTS: ImageRegistration8DifferenceBefore.mhd
-// OUTPUTS: ImageRegistration8DifferenceAfter.mhd
+// ARGUMENTS: ImageRegistration8Output.mhd
+// ARGUMENTS: ImageRegistration8DifferenceBefore.mhd
+// ARGUMENTS: ImageRegistration8DifferenceAfter.mhd
// OUTPUTS: {ImageRegistration8Output.png}
// OUTPUTS: {ImageRegistration8DifferenceBefore.png}
// OUTPUTS: {ImageRegistration8DifferenceAfter.png}
@@ -428,8 +428,8 @@ int main( int argc, char *argv[] )
//
// \begin{figure}
// \center
- // \includegraphics[width=0.44\textwidth]{BrainProtonDensitySliceBorder20.eps}
- // \includegraphics[width=0.44\textwidth]{BrainProtonDensitySliceR10X13Y17.eps}
+ // \includegraphics[width=0.44\textwidth]{BrainProtonDensitySliceBorder20}
+ // \includegraphics[width=0.44\textwidth]{BrainProtonDensitySliceR10X13Y17}
// \itkcaption[CenteredTransformInitializer input images]{Fixed and moving image
// provided as input to the registration method using
// CenteredTransformInitializer.}
@@ -439,9 +439,9 @@ int main( int argc, char *argv[] )
//
// \begin{figure}
// \center
- // \includegraphics[width=0.32\textwidth]{ImageRegistration8Output.eps}
- // \includegraphics[width=0.32\textwidth]{ImageRegistration8DifferenceBefore.eps}
- // \includegraphics[width=0.32\textwidth]{ImageRegistration8DifferenceAfter.eps}
+ // \includegraphics[width=0.32\textwidth]{ImageRegistration8Output}
+ // \includegraphics[width=0.32\textwidth]{ImageRegistration8DifferenceBefore}
+ // \includegraphics[width=0.32\textwidth]{ImageRegistration8DifferenceAfter}
// \itkcaption[CenteredTransformInitializer output images]{Resampled moving
// image (left). Differences between fixed and moving images, before (center)
// and after (right) registration with the
@@ -465,9 +465,9 @@ int main( int argc, char *argv[] )
//
// \begin{figure}
// \center
- // \includegraphics[height=0.32\textwidth]{ImageRegistration8TraceMetric.eps}
- // \includegraphics[height=0.32\textwidth]{ImageRegistration8TraceAngle.eps}
- // \includegraphics[height=0.32\textwidth]{ImageRegistration8TraceTranslations.eps}
+ // \includegraphics[height=0.32\textwidth]{ImageRegistration8TraceMetric}
+ // \includegraphics[height=0.32\textwidth]{ImageRegistration8TraceAngle}
+ // \includegraphics[height=0.32\textwidth]{ImageRegistration8TraceTranslations}
// \itkcaption[CenteredTransformInitializer output plots]{Plots of the metric,
// rotation angle, center of rotation and translations during the
// registration using CenteredTransformInitializer.}
View
16 Examples/Registration/ImageRegistration9.cxx
@@ -471,8 +471,8 @@ int main( int argc, char *argv[] )
//
// \begin{figure}
// \center
- // \includegraphics[width=0.44\textwidth]{BrainProtonDensitySliceBorder20.eps}
- // \includegraphics[width=0.44\textwidth]{BrainProtonDensitySliceR10X13Y17.eps}
+ // \includegraphics[width=0.44\textwidth]{BrainProtonDensitySliceBorder20}
+ // \includegraphics[width=0.44\textwidth]{BrainProtonDensitySliceR10X13Y17}
// \itkcaption[AffineTransform registration]{Fixed and moving images
// provided as input to the registration method using the AffineTransform.}
// \label{fig:FixedMovingImageRegistration9}
@@ -481,9 +481,9 @@ int main( int argc, char *argv[] )
//
// \begin{figure}
// \center
- // \includegraphics[width=0.32\textwidth]{ImageRegistration9Output.eps}
- // \includegraphics[width=0.32\textwidth]{ImageRegistration9DifferenceBefore.eps}
- // \includegraphics[width=0.32\textwidth]{ImageRegistration9DifferenceAfter.eps}
+ // \includegraphics[width=0.32\textwidth]{ImageRegistration9Output}
+ // \includegraphics[width=0.32\textwidth]{ImageRegistration9DifferenceBefore}
+ // \includegraphics[width=0.32\textwidth]{ImageRegistration9DifferenceAfter}
// \itkcaption[AffineTransform output images]{The resampled moving image
// (left), and the difference between the fixed and moving images before (center)
// and after (right) registration with the
@@ -498,9 +498,9 @@ int main( int argc, char *argv[] )
//
// \begin{figure}
// \center
- // \includegraphics[height=0.32\textwidth]{ImageRegistration9TraceMetric.eps}
- // \includegraphics[height=0.32\textwidth]{ImageRegistration9TraceAngle.eps}
- // \includegraphics[height=0.32\textwidth]{ImageRegistration9TraceTranslations.eps}
+ // \includegraphics[height=0.32\textwidth]{ImageRegistration9TraceMetric}
+ // \includegraphics[height=0.32\textwidth]{ImageRegistration9TraceAngle}
+ // \includegraphics[height=0.32\textwidth]{ImageRegistration9TraceTranslations}
// \itkcaption[AffineTransform output plots]{Metric values,
// rotation angle and translations during the registration using the
// AffineTransform transform.}
View
4 Examples/Registration/ImageRegistrationHistogramPlotter.cxx
@@ -723,8 +723,8 @@ int main( int argc, char *argv[] )
// after registration.
// \begin{figure}
// \center
-// \includegraphics[width=0.44\textwidth]{JointEntropyHistogramPriorToRegistration.eps}
-// \includegraphics[width=0.44\textwidth]{JointEntropyHistogramAfterRegistration.eps}
+// \includegraphics[width=0.44\textwidth]{JointEntropyHistogramPriorToRegistration}
+// \includegraphics[width=0.44\textwidth]{JointEntropyHistogramAfterRegistration}
// \itkcaption[Multi-modality joint histograms]{Joint entropy histograms before and
// after registration. The final transform was within half a pixel of true misalignment.}
// \label{fig:JointEntropyHistograms}
View
4 Examples/Registration/MeanSquaresImageMetric1.cxx
@@ -202,8 +202,8 @@ int main( int argc, char * argv[] )
//
// \begin{figure}
// \center
-// \includegraphics[height=0.33\textwidth]{MeanSquaresMetricPlot1.eps}
-// \includegraphics[height=0.33\textwidth]{MeanSquaresMetricPlot2.eps}
+// \includegraphics[height=0.33\textwidth]{MeanSquaresMetricPlot1}
+// \includegraphics[height=0.33\textwidth]{MeanSquaresMetricPlot2}
// \itkcaption[Mean Squares Metric Plots]{Plots of the Mean Squares Metric for
// an image compared to itself under multiple translations.}
// \label{fig:MeanSquaresMetricPlot}
View
4 Examples/Registration/ModelToImageRegistration1.cxx
@@ -917,8 +917,8 @@ int main( int argc, char *argv[] )
//
// \begin{figure}
// \center
- // \includegraphics[height=0.44\textwidth]{ModelToImageRegistrationTraceAngle.eps}
- // \includegraphics[height=0.44\textwidth]{ModelToImageRegistrationTraceTranslations.eps}
+ // \includegraphics[height=0.44\textwidth]{ModelToImageRegistrationTraceAngle}
+ // \includegraphics[height=0.44\textwidth]{ModelToImageRegistrationTraceTranslations}
// \itkcaption[SpatialObject to Image Registration results]{Plots of the
// angle and translation parameters for a registration process between an
// spatial object and an image.}
View
12 Examples/Registration/MultiResImageRegistration1.cxx
@@ -71,7 +71,7 @@
//
// \begin{figure}
// \center
-// \includegraphics[width=\textwidth]{MultiResRegistrationConcept.eps}
+// \includegraphics[width=\textwidth]{MultiResRegistrationConcept}
// \itkcaption[Conceptual representation of Multi-Resolution
// registration]{Conceptual representation of the multi-resolution registration process.}
// \label{fig:MultiResRegistrationConcept}
@@ -694,9 +694,9 @@ int main( int argc, char *argv[] )
//
// \begin{figure}
// \center
- // \includegraphics[width=0.32\textwidth]{MultiResImageRegistration1Output.eps}
- // \includegraphics[width=0.32\textwidth]{MultiResImageRegistration1CheckerboardBefore.eps}
- // \includegraphics[width=0.32\textwidth]{MultiResImageRegistration1CheckerboardAfter.eps}
+ // \includegraphics[width=0.32\textwidth]{MultiResImageRegistration1Output}
+ // \includegraphics[width=0.32\textwidth]{MultiResImageRegistration1CheckerboardBefore}
+ // \includegraphics[width=0.32\textwidth]{MultiResImageRegistration1CheckerboardAfter}
// \itkcaption[Multi-Resolution registration input images]{Mapped moving image
// (left) and composition of fixed and moving images before (center) and
// after (right) registration.}