comparison histogram_equalization.xml @ 0:70316d792fc9 draft

planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/2d_histogram_equalization/ commit 767d7fec860d01468701c4e6dc270a7f1c74d53c
author imgteam
date Tue, 23 Jul 2019 14:07:07 -0400
parents
children 77f7159d775a
comparison
equal deleted inserted replaced
-1:000000000000 0:70316d792fc9
1 <tool id="ip_histogram_equalization" name="Histogram equalization" version="0.0.1">
2 <description>automatic histogram equalization</description>
3 <requirements>
4 <requirement type="package" version="0.14.2">scikit-image</requirement>
5 <requirement type="package" version="1.15.4">numpy</requirement>
6 <requirement type="package" version="5.3.0">pillow</requirement>
7 <requirement type="package" version="0.15.1">tifffile</requirement>
8 </requirements>
9 <command detect_errors="aggressive">
10 <![CDATA[
11 python '$__tool_directory__/histogram_equalization.py' '$input' '$output' $h_type
12 ]]>
13 </command>
14 <inputs>
15 <param name="input" type="data" format="tiff" label="Source file" />
16 <param name="h_type" type="select" label="Histogram Equalization Algorithm">
17 <option value="default">Stretching</option>
18 <option value="clahe" selected="True">CLAHE</option>
19 </param>
20 </inputs>
21 <outputs>
22 <data format="tiff" name="output" />
23 </outputs>
24 <tests>
25 <test>
26 <param name="input" value="sample.tif"/>
27 <output name="output" value="out.tif" ftype="tiff" compare="sim_size"/>
28 <param name="h_type" value="default"/>
29 </test>
30 </tests>
31 <help>
32 Applies histogram equalization to an image.
33 </help>
34 <citations>
35 <citation type="doi">10.1016/j.jbiotec.2017.07.019</citation>
36 </citations>
37 </tool>