view binary2label.xml @ 0:668f8dabb346 draft

planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/\binary2labelimage commit 77f1ea5beca40d8b5851fe366e84c32d5df5d6f8
author thomaswollmann
date Sat, 11 Feb 2017 17:28:57 -0500
parents
children f772af27a6de
line wrap: on
line source

<tool id="binary2labelimage" name="Binary 2 Label" version="0.1">
  <description>Converts Binary to Label Image</description>
  <requirements>
    <requirement type="package" version="0.12.3" >scikit-image</requirement>
    <requirement type="package" version="4.0.0">pillow</requirement>
    <requirement type="package" version="1.12">numpy</requirement>
  </requirements>
  <command>
        <![CDATA[
        python "$__tool_directory__/binary2label.py" '$input' '$output'
        ]]>
  </command>
  <inputs>
    <param name="input" type="data" format="tiff,png,jpg,bmp" label="Binary Image File"/>
  </inputs>
  <outputs>
    <data format="tiff" name="output"/>
  </outputs>
  <tests>
    <test>
	    <param name="input" value="galaxyIcon_noText.tif" />
	    <output name="output" value="label.tif" ftype="tiff" />
    </test>
  </tests>
  <help>This tool assigns every object an own grey value.</help>
  <citations>
      <citation type="doi">10.7717/peerj.453</citation>
  </citations>
</tool>