view mergeneighboursinlabelimage.xml @ 0:66f7e94db2e6 draft

planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/\mergeneighboursinlabelimage commit d0759a055484abd42bba38b2fa46f2a7b8f96259
author thomaswollmann
date Tue, 08 Jan 2019 08:54:16 -0500
parents
children 3536648d0a93
line wrap: on
line source

<tool id="mergeneighboursinlabelimage" name="Merge Neighbours in Label" version="0.1">
  <description>Merge Neighbours in Label Image</description>
  <requirements>
    <requirement type="package" version="0.12.3" >scikit-image</requirement>
    <requirement type="package">numpy</requirement>
    <requirement type="package">scipy</requirement>
  </requirements>
  <command>
        <![CDATA[
        python '$__tool_directory__/mergeneighboursinlabelimage.py '$input' '$output' -c $c
        ]]>
  </command>
  <inputs>
    <param name="input" type="data" format="tiff,png,jpg,bmp" label="Label Image File"/>
    <param  label="Distance in pixel of objects which are merged" name="c" type="integer" value="50"/>
  </inputs>
  <outputs>
    <data format="tiff" name="output"/>
  </outputs><help>This tools merges nearby objects in a label image using the minimum pixel distance.</help>
  <citations>
      <citation type="doi">10.7717/peerj.453</citation>
  </citations>
</tool>