comparison voronoi_tessellation.xml @ 1:e7fdea8385f0 draft

planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/voronoi_tesselation commit c045f067a57e8308308cf6329060c7ccd3fc372f
author imgteam
date Thu, 04 Apr 2024 15:26:55 +0000
parents 8b74843c136e
children 412d7478ec92
comparison
equal deleted inserted replaced
0:8b74843c136e 1:e7fdea8385f0
1 <tool id="voronoi_tessellation" name="Compute Voronoi tessellation" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="23.0"> 1 <tool id="voronoi_tessellation" name="Compute Voronoi tessellation" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="23.0">
2 <description>with scikit-image</description> 2 <description>with scikit-image</description>
3 <macros> 3 <macros>
4 <import>creators.xml</import>
4 <token name="@TOOL_VERSION@">0.22.0</token> 5 <token name="@TOOL_VERSION@">0.22.0</token>
5 <token name="@VERSION_SUFFIX@">0</token> 6 <token name="@VERSION_SUFFIX@">1</token>
6 </macros> 7 </macros>
7 <edam_operations> 8 <edam_operations>
8 <edam_operation>operation_3443</edam_operation> 9 <edam_operation>operation_3443</edam_operation>
9 </edam_operations> 10 </edam_operations>
10 <xrefs> 11 <xrefs>
11 <xref type="bio.tools">scikit-image</xref> 12 <xref type="bio.tools">scikit-image</xref>
12 <xref type="biii">scikit-image</xref> 13 <xref type="biii">scikit-image</xref>
13 </xrefs> 14 </xrefs>
14 <requirements> 15 <requirements>
16 <requirement type="package" version="@TOOL_VERSION@">scikit-image</requirement>
15 <requirement type="package" version="1.26.4">numpy</requirement> 17 <requirement type="package" version="1.26.4">numpy</requirement>
16 <requirement type="package" version="1.12.0">scipy</requirement> 18 <requirement type="package" version="1.12.0">scipy</requirement>
17 <requirement type="package" version="0.22.0">scikit-image</requirement>
18 </requirements> 19 </requirements>
19 <command><![CDATA[ 20 <command><![CDATA[
20 21
21 ## Inputs 22 ## Inputs
22 23
27 ./result.tiff 28 ./result.tiff
28 29
29 ]]> 30 ]]>
30 </command> 31 </command>
31 <inputs> 32 <inputs>
32 <param name="input" type="data" format="png,tiff" label="Labeled image" /> 33 <param name="input" type="data" format="png,tiff" label="Input image" help="Must be a label map." />
33 </inputs> 34 </inputs>
34 <outputs> 35 <outputs>
35 <data format="tiff" name="result" from_work_dir="result.tiff" /> 36 <data format="tiff" name="result" from_work_dir="result.tiff" />
36 </outputs> 37 </outputs>
37 <tests> 38 <tests>
38 <test> 39 <test>
39 <param name="input" value="input1.tiff" /> 40 <param name="input" value="input1.tiff" />
40 <output name="result" value="input1_result.tiff" ftype="tiff" compare="sim_size" delta="0" /> 41 <output name="result" ftype="tiff">
42 <assert_contents>
43
44 <has_image_width width="10"/>
45 <has_image_height height="10"/>
46 <has_image_channels channels="1"/>
47 <has_image_n_labels n="4"/>
48 <has_image_n_labels n="0" labels="0"/>
49
50 </assert_contents>
51 </output>
41 </test> 52 </test>
42 </tests> 53 </tests>
43 <help> 54 <help>
44 55
45 This tool computes Voronoi tessellations for labeled images. 56 **Computes Voronoi tessellations for labeled images.**
57
46 Voronoi tessellations are also known as Vornoi diagrams, or Dirichlet tessellations. 58 Voronoi tessellations are also known as Vornoi diagrams, or Dirichlet tessellations.
47 Zero labels are treated as image background. 59 Zero labels are treated as image background.
48 60
49 </help> 61 </help>
50 <citations> 62 <citations>