ParserTest1.xml 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <executable>
  3. <category>registration</category>
  4. <title>NAMIC sample registration</title>
  5. <description>Registers two images together using a rigid transform and MI</description>
  6. <version>1.0</version>
  7. <documentation-url></documentation-url>
  8. <license></license>
  9. <contributor>Daniel Blezek</contributor>
  10. <parameters>
  11. <label>Registration Parameters</label>
  12. <description>Parameters used for registration</description>
  13. <integer>
  14. <name>HistogramBins</name>
  15. <flag>-b</flag>
  16. <longflag>--histogrambins</longflag>
  17. <description>Number of histogram bins to use for Mattes Mutual Information</description>
  18. <label>Histogram Bins</label>
  19. <default>30</default>
  20. <constraints>
  21. <minimum>1</minimum>
  22. <maximum>500</maximum>
  23. <step>5</step>
  24. </constraints>
  25. </integer>
  26. <integer>
  27. <name>SpatialSamples</name>
  28. <flag>-s</flag>
  29. <longflag>--spatialsamples</longflag>
  30. <description>Number of spatial samples to use in estimating Mattes Mutual Information</description>
  31. <label>Spatial Samples</label>
  32. <default>10000</default>
  33. <constraints>
  34. <minimum>1000</minimum>
  35. <maximum>50000</maximum>
  36. <step>1000</step>
  37. </constraints>
  38. </integer>
  39. <boolean>
  40. <name>InitializeTransform</name>
  41. <flag>-u</flag>
  42. <longflag>--noinitializetransform</longflag>
  43. <description>Calculate initial transform</description>
  44. <label>Initialize TransformSpatial Samples</label>
  45. <default>false</default>
  46. </boolean>
  47. <integer-vector>
  48. <name>Iterations</name>
  49. <flag>-i</flag>
  50. <longflag>--iterations</longflag>
  51. <description>Comma separated list of iterations. Must have the same number of elements as learning rate</description>
  52. <label>Iterations</label>
  53. <default>100,100,100,200</default>
  54. </integer-vector>
  55. <float-vector>
  56. <name>LearningRate</name>
  57. <flag>-l</flag>
  58. <longflag>--learningrate</longflag>
  59. <description>Comma separated list of learning rates must have the same number of elements as iterations</description>
  60. <label>Learning Rates</label>
  61. <default>0.005,0.001,0.0005,0.0002</default>
  62. </float-vector>
  63. <double>
  64. <name>TranslationScale</name>
  65. <longflag>--translationscale</longflag>
  66. <flag>-t</flag>
  67. <description>Relative scale of translations to rotations, i.e. a value of 100 means 10mm = 1 degree</description>
  68. <label>Translation scaling</label>
  69. <default>100.0</default>
  70. <constraints>
  71. <minimum>10.0</minimum>
  72. <maximum>500.0</maximum>
  73. <step>50.0</step>
  74. </constraints>
  75. </double>
  76. </parameters>
  77. <parameters>
  78. <label>IO</label>
  79. <description>Input/output parameters</description>
  80. <file>
  81. <name>FixedImage</name>
  82. <label>Fixed Image</label>
  83. <channel>input</channel>
  84. <index>0</index>
  85. <description>Fixed image to register to</description>
  86. </file>
  87. <file>
  88. <name>MovingImage</name>
  89. <label>Moving Image</label>
  90. <channel>input</channel>
  91. <index>1</index>
  92. <description>Moving image</description>
  93. </file>
  94. <file>
  95. <name>OutputImage</name>
  96. <label>Output Volume</label>
  97. <channel>output</channel>
  98. <index>2</index>
  99. <description>Resampled Moving Image</description>
  100. </file>
  101. </parameters>
  102. </executable>