Commit 2d92f1bc authored by Matt Clarkson's avatar Matt Clarkson

Bug #13: -DGIMIAS_CLI to generate Gimias compliant XML

parent ac6a3095
......@@ -113,7 +113,11 @@ char xml_aladin[] =
" <longflag>aff</longflag>\n"
" <description>Affine registration matrix output, saved as a text file</description>\n"
" <label>Output affine filename</label>\n"
#ifdef GIMIAS_CLI
" <default>None</default>\n"
#else
" <default>outputAffineResult.txt</default>\n"
#endif
" <channel>output</channel>\n"
" </file>\n"
" <image fileExtensions=\".nii,.nii.gz,.nrrd,.png\">\n"
......@@ -121,7 +125,11 @@ char xml_aladin[] =
" <longflag>res</longflag>\n"
" <description>Warped floating image</description>\n"
" <label>Output warped image</label>\n"
#ifdef GIMIAS_CLI
" <default>None</default>\n"
#else
" <default>outputAffineResult.nii</default>\n"
#endif
" <channel>output</channel>\n"
" </image>\n"
" </parameters>\n"
......
......@@ -71,7 +71,11 @@ char xml_f3d[] =
" <longflag>cpp</longflag>\n"
" <description>Control point position image</description>\n"
" <label>Trans. param image</label>\n"
#ifdef GIMIAS_CLI
" <default>None</default>\n"
#else
" <default>outputCPP.nii</default>\n"
#endif
" <channel>output</channel>\n"
" </file>\n"
" <image fileExtensions=\".nii,.nii.gz,.nrrd,.png\">"
......@@ -79,7 +83,11 @@ char xml_f3d[] =
" <longflag>res</longflag>\n"
" <description>Warped floating image</description>\n"
" <label>Output warped image</label>\n"
#ifdef GIMIAS_CLI
" <default>None</default>\n"
#else
" <default>outputResult.nii</default>\n"
#endif
" <channel>output</channel>\n"
" </image>"
" </parameters>\n"
......
......@@ -50,7 +50,11 @@ char xml_jacobian[] =
" <longflag>jac</longflag>\n"
" <description>Jacobian determinant image</description>\n"
" <label>Jac. det. image</label>\n"
#ifdef GIMIAS_CLI
" <default>None</default>\n"
#else
" <default>jacDetImage.nii</default>\n"
#endif
" <channel>output</channel>\n"
" </image>"
" <image fileExtensions=\".nii,.nii.gz,.nrrd,.png\">"
......@@ -58,7 +62,11 @@ char xml_jacobian[] =
" <longflag>jacL</longflag>\n"
" <description>Log of the Jacobian determinant image</description>\n"
" <label>Log. Jac. det. image</label>\n"
#ifdef GIMIAS_CLI
" <default>None</default>\n"
#else
" <default>logJacDetImage.nii</default>\n"
#endif
" <channel>output</channel>\n"
" </image>"
" <image fileExtensions=\".nii,.nii.gz,.nrrd,.png\">"
......@@ -66,7 +74,11 @@ char xml_jacobian[] =
" <longflag>jacM</longflag>\n"
" <description>Jacobian matrix image</description>\n"
" <label>Jac. mat. image</label>\n"
#ifdef GIMIAS_CLI
" <default>None</default>\n"
#else
" <default>JacMatImage.nii</default>\n"
#endif
" <channel>output</channel>\n"
" </image>"
" </parameters>\n"
......
......@@ -62,7 +62,11 @@ char xml_resample[] =
" <longflag>res</longflag>\n"
" <description>Warped floating image</description>\n"
" <label>Warped image</label>\n"
#ifdef GIMIAS_CLI
" <default>None</default>\n"
#else
" <default>warpedImage.nii</default>\n"
#endif
" <channel>output</channel>\n"
" </image>"
" <image fileExtensions=\".nii,.nii.gz,.nrrd,.png\">"
......@@ -70,7 +74,11 @@ char xml_resample[] =
" <longflag>blank</longflag>\n"
" <description>Warped blank grid image</description>\n"
" <label>Grid image</label>\n"
#ifdef GIMIAS_CLI
" <default>None</default>\n"
#else
" <default>warpedGrid.nii</default>\n"
#endif
" <channel>output</channel>\n"
" </image>"
" </parameters>\n"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment