comparison histogram_equalization.xml @ 2:3f3783846dc0 draft

planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_histogram_equalization/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
author imgteam
date Thu, 04 Apr 2024 15:23:34 +0000
parents 77f7159d775a
children b1c2c210813c
comparison
equal deleted inserted replaced
1:77f7159d775a 2:3f3783846dc0
1 <tool id="ip_histogram_equalization" name="Perform histogram equalization" version="0.0.1-2"> 1 <tool id="ip_histogram_equalization" name="Perform histogram equalization" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="20.05">
2 <description>with scikit-image</description> 2 <description>with scikit-image</description>
3 <macros>
4 <import>creators.xml</import>
5 <import>tests.xml</import>
6 <token name="@TOOL_VERSION@">0.14.2</token>
7 <token name="@VERSION_SUFFIX@">0</token>
8 </macros>
9 <creator>
10 <expand macro="creators/bmcv" />
11 </creator>
3 <edam_operations> 12 <edam_operations>
4 <edam_operation>operation_3443</edam_operation> 13 <edam_operation>operation_3443</edam_operation>
5 </edam_operations> 14 </edam_operations>
6 <xrefs> 15 <xrefs>
7 <xref type="bio.tools">galaxy_image_analysis</xref> 16 <xref type="bio.tools">scikit-image</xref>
17 <xref type="biii">scikit-image</xref>
8 </xrefs> 18 </xrefs>
9 <requirements> 19 <requirements>
10 <requirement type="package" version="0.14.2">scikit-image</requirement> 20 <requirement type="package" version="@TOOL_VERSION@">scikit-image</requirement>
11 <requirement type="package" version="1.15.4">numpy</requirement> 21 <requirement type="package" version="1.15.4">numpy</requirement>
12 <requirement type="package" version="5.3.0">pillow</requirement> 22 <requirement type="package" version="5.3.0">pillow</requirement>
13 <requirement type="package" version="0.15.1">tifffile</requirement> 23 <requirement type="package" version="0.15.1">tifffile</requirement>
14 </requirements> 24 </requirements>
15 <command detect_errors="aggressive"> 25 <command detect_errors="aggressive">
16 <![CDATA[ 26 <![CDATA[
17 python '$__tool_directory__/histogram_equalization.py' '$input' '$output' $h_type 27 python '$__tool_directory__/histogram_equalization.py' '$input' '$output' $h_type
18 ]]> 28 ]]>
19 </command> 29 </command>
20 <inputs> 30 <inputs>
21 <param name="input" type="data" format="tiff" label="Source file" /> 31 <param name="input" type="data" format="tiff" label="Input image" />
22 <param name="h_type" type="select" label="Histogram Equalization Algorithm"> 32 <param name="h_type" type="select" label="Histogram equalization algorithm">
23 <option value="default">Stretching</option> 33 <option value="default">Stretching</option>
24 <option value="clahe" selected="True">CLAHE</option> 34 <option value="clahe" selected="True">CLAHE</option>
25 </param> 35 </param>
26 </inputs> 36 </inputs>
27 <outputs> 37 <outputs>
28 <data format="tiff" name="output" /> 38 <data format="tiff" name="output" />
29 </outputs> 39 </outputs>
30 <tests> 40 <tests>
31 <test> 41 <test>
32 <param name="input" value="sample.tif"/> 42 <param name="input" value="sample.tif"/>
33 <output name="output" value="out.tif" ftype="tiff" compare="sim_size"/>
34 <param name="h_type" value="default"/> 43 <param name="h_type" value="default"/>
44 <expand macro="tests/intensity_image_diff" name="output" value="out.tif" ftype="tiff"/>
35 </test> 45 </test>
36 </tests> 46 </tests>
37 <help> 47 <help>
38 Applies histogram equalization to an image. 48
49 **Applies histogram equalization to an image.**
50
39 </help> 51 </help>
40 <citations> 52 <citations>
41 <citation type="doi">10.1016/j.jbiotec.2017.07.019</citation> 53 <citation type="doi">10.1016/j.jbiotec.2017.07.019</citation>
42 </citations> 54 </citations>
43 </tool> 55 </tool>