UNPKG

biswebnode

Version:

A node.js implementation of BioImage Suite Web command line tools in Javascript and WebAssembly

148 lines (145 loc) 4.97 kB
<?xml version="1.0" encoding="utf-8"?> <executable> <category>BisWEB</category> <title>Reslice Image</title> <description>Reslices an existing image to match a reference and a transformation</description> <version>1.3.0b2</version> <documentation-url>https://bioimagesuiteweb.github.io/bisweb-manual</documentation-url> <license>GPL v2</license> <contributor>Zach Saltzman and Xenios Papademetris</contributor> <acknowledgements>Funding for this work was provided by the NIH Brain Initiative under grant R24 MH114805.</acknowledgements> <parameters> <label>Standard</label> <description>Standard Parameters</description> <string-enumeration> <name>Interpolation</name> <label>Interpolation</label> <description>Which type of interpolation to use (3 = cubic, 1 = linear, 0 = nearest-neighbor)</description> <longflag>--interpolation</longflag> <default>1</default> <element>0</element> <element>1</element> <element>3</element> </string-enumeration> </parameters> <parameters advanced="true"> <label>Advanced</label> <description>Advanced Parameters</description> <string-enumeration> <name>Force Float</name> <label>Force Float</label> <description>If true, force output to float</description> <longflag>--forcefloat</longflag> <default>false</default> <element>true</element> <element>false</element> </string-enumeration> <double> <name>Fill Value</name> <label>Fill Value</label> <description>Value to use for outside the image</description> <longflag>--backgroundvalue</longflag> <default>0</default> </double> <string-enumeration> <name>Add Grid</name> <label>Add Grid</label> <description>If true, adds a grid overlay to the image to visualize the effect of the transformation(s)</description> <longflag>--addgrid</longflag> <default>false</default> <element>true</element> <element>false</element> </string-enumeration> <integer> <name>Grid Spacing</name> <label>Grid Spacing</label> <description>If add grid is true this controls the grid spacing</description> <longflag>--gridgap</longflag> <default>8</default> </integer> <double> <name>Grid Intensity</name> <label>Grid Intensity</label> <description>If add grid is true this controls the intensity of the grid (as a function of the maximum image intensity)</description> <longflag>--gridvalue</longflag> <default>0.5</default> </double> <string-enumeration> <name>UseJS</name> <label>UseJS</label> <description>Use the pure JS implementation of the algorithm</description> <longflag>--usejs</longflag> <default>false</default> <element>true</element> <element>false</element> </string-enumeration> <string-enumeration> <name>Debug</name> <label>Debug</label> <description>Toggles debug logging</description> <longflag>--debug</longflag> <default>false</default> <element>true</element> <element>false</element> </string-enumeration> <string-enumeration> <name>SlicerProgress</name> <label>SlicerProgress</label> <description>Enables progress xml outputs for Slicer</description> <longflag>--slicerprogress</longflag> <default>true</default> <element>true</element> <element>false</element> </string-enumeration> </parameters> <parameters> <label>Inputs</label> <description>Input Objects</description> <image fileExtensions=".nii.gz,.nii"> <name>Image to Reslice</name> <label>Image to Reslice</label> <description>Load the image to reslice</description> <longflag>--input</longflag> <channel>input</channel> </image> <image fileExtensions=".nii.gz,.nii"> <name>Reference Image</name> <label>Reference Image</label> <description>Load the reference image (if not specified use input)</description> <longflag>--reference</longflag> <channel>input</channel> </image> <file> <name>Reslice Transform</name> <label>Reslice Transform</label> <description>Load the transformation used to reslice the image</description> <longflag>--xform</longflag> <channel>input</channel> </file> <file> <name>Transformation 2</name> <label>Transformation 2</label> <description>The second transformation to combine with first</description> <longflag>--xform2</longflag> <channel>input</channel> </file> <file> <name>Transformation 3</name> <label>Transformation 3</label> <description>The third transformation to combine with first and second</description> <longflag>--xform3</longflag> <channel>input</channel> </file> </parameters> <parameters> <label>Outputs</label> <description>Output Objects</description> <image fileExtensions=".nii.gz,.nii"> <name>Output Image</name> <label>Output Image</label> <description>Save the resliced image</description> <longflag>--output</longflag> <channel>output</channel> </image> </parameters> </executable>