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