Mercurial > repos > imgteam > 2d_histogram_equalization
view 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 |
line wrap: on
line source
<tool id="ip_histogram_equalization" name="Perform histogram equalization" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="20.05"> <description>with scikit-image</description> <macros> <import>creators.xml</import> <import>tests.xml</import> <token name="@TOOL_VERSION@">0.14.2</token> <token name="@VERSION_SUFFIX@">0</token> </macros> <creator> <expand macro="creators/bmcv" /> </creator> <edam_operations> <edam_operation>operation_3443</edam_operation> </edam_operations> <xrefs> <xref type="bio.tools">scikit-image</xref> <xref type="biii">scikit-image</xref> </xrefs> <requirements> <requirement type="package" version="@TOOL_VERSION@">scikit-image</requirement> <requirement type="package" version="1.15.4">numpy</requirement> <requirement type="package" version="5.3.0">pillow</requirement> <requirement type="package" version="0.15.1">tifffile</requirement> </requirements> <command detect_errors="aggressive"> <![CDATA[ python '$__tool_directory__/histogram_equalization.py' '$input' '$output' $h_type ]]> </command> <inputs> <param name="input" type="data" format="tiff" label="Input image" /> <param name="h_type" type="select" label="Histogram equalization algorithm"> <option value="default">Stretching</option> <option value="clahe" selected="True">CLAHE</option> </param> </inputs> <outputs> <data format="tiff" name="output" /> </outputs> <tests> <test> <param name="input" value="sample.tif"/> <param name="h_type" value="default"/> <expand macro="tests/intensity_image_diff" name="output" value="out.tif" ftype="tiff"/> </test> </tests> <help> **Applies histogram equalization to an image.** </help> <citations> <citation type="doi">10.1016/j.jbiotec.2017.07.019</citation> </citations> </tool>