view mergeneighboursinlabelimage.xml @ 1:3536648d0a93 draft default tip

planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/\mergeneighboursinlabelimage commit d93e1dd276027cfc3fb518236110395a23d96f66
author thomaswollmann
date Wed, 16 Jan 2019 15:35:29 -0500
parents 66f7e94db2e6
children
line wrap: on
line source

<tool id="mergeneighboursinlabelimage" name="Merge Neighbours in Label" version="0.2">
  <description>Merge Neighbours in Label Image</description>
  <requirements>
    <requirement type="package" version="0.14.0">scikit-image</requirement>
    <requirement type="package" version="1.15.4">numpy</requirement>
  </requirements>
  <command>
        <![CDATA[
        python '$__tool_directory__/mergeneighboursinlabelimage.py' '$input' ./tmp.tiff -c $c
        && mv ./tmp.tiff '$output'
        ]]>
  </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>
  <tests>
    <test>
      <param name="input" value="galaxyIcon_noText.tif"/>
      <param name="c" value="10"/>
      <output name="output" file="out.tiff" ftype="tiff" compare="sim_size"/>
    </test>
  </tests>
  <help>This tools merges nearby objects in a label image using the minimum pixel distance.</help>
  <citations>
      <citation type="doi">10.1016/j.jbiotec.2017.07.019</citation>
  </citations>
</tool>