annotate color_deconvolution.xml @ 2:387414aa6496 draft default tip

planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
author imgteam
date Thu, 06 Mar 2025 18:12:13 +0000
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
1 <tool id="ip_color_deconvolution" name="Perform color deconvolution or transformation" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@">
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
2 <description></description>
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
3 <macros>
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
4 <import>creators.xml</import>
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
5 <import>tests.xml</import>
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
6 <token name="@TOOL_VERSION@">0.9</token>
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
7 <token name="@VERSION_SUFFIX@">0</token>
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
8 </macros>
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
9 <creator>
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
10 <expand macro="creators/bmcv"/>
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
11 </creator>
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
12 <edam_operations>
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
13 <edam_operation>operation_3443</edam_operation>
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
14 </edam_operations>
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
15 <xrefs>
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
16 <xref type="bio.tools">galaxy_image_analysis</xref>
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
17 </xrefs>
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
18 <requirements>
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
19 <requirement type="package" version="0.24.0">scikit-image</requirement>
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
20 <requirement type="package" version="11.0.0">pillow</requirement>
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
21 <requirement type="package" version="1.5.2">scikit-learn</requirement>
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
22 <requirement type="package" version="2.1.2">numpy</requirement>
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
23 <requirement type="package" version="2024.9.20">tifffile</requirement>
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
24 <requirement type="package" version="0.3.1">giatools</requirement>
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
25 </requirements>
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
26 <command detect_errors="aggressive">
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
27 <![CDATA[
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
28
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
29 python '$__tool_directory__/color_deconvolution.py'
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
30
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
31 '$input'
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
32 '$output'
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
33 '$convtype'
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
34
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
35 #if str($isolate_channel) != '':
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
36 --isolate_channel '${isolate_channel}'
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
37 #end if
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
38
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
39 ]]>
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
40 </command>
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
41 <inputs>
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
42 <param name="input" type="data" format="tiff,png,jpg,bmp" label="Input image" help="The input image must have 3 axes and 3 channels. The channels must correspond to the last axis."/>
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
43 <param name="convtype" type="select" label="Transformation type">
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
44
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
45 <!-- Color deconvolution and recomposition operations -->
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
46 <option value="he_from_rgb">Deconvolve RGB into H&#38;E (Hematoxylin + Eosin)</option>
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
47 <option value="rgb_from_he">Recompose RGB from H&#38;E (Hematoxylin + Eosin)</option>
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
48 <option value="hdx_from_rgb">Deconvolve RGB into Hematoxylin + DAB</option>
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
49 <option value="rgb_from_hdx">Recompose RGB from Hematoxylin + DAB</option>
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
50 <option value="rgb2hed">Deconvolve RGB into Hematoxylin + Eosin + DAB</option>
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
51 <option value="hed2rgb">Recompose RGB from Hematoxylin + Eosin + DAB</option>
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
52 <option value="hpx_from_rgb">Deconvolve RGB into Hematoxylin + PAS</option>
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
53 <option value="rgb_from_hpx">Recompose RGB from Hematoxylin + PAS</option>
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
54 <option value="hax_from_rgb">Deconvolve RGB into Hematoxylin + AEC</option>
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
55 <option value="rgb_from_hax">Recompose RGB from Hematoxylin + AEC</option>
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
56 <option value="ahx_from_rgb">Deconvolve RGB into Alcian Blue + Hematoxylin</option>
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
57 <option value="rgb_from_ahx">Recompose RGB from Alcian Blue + Hematoxylin</option>
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
58 <option value="bro_from_rgb">Deconvolve RGB to AZAN</option>
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
59 <option value="rgb_from_bro">Recompose RGB from AZAN</option>
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
60 <option value="rbd_from_rgb">Deconvolve RGB into FastRed + FastBlue + DAB</option>
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
61 <option value="rgb_from_rbd">Recompose RGB from FastRed + FastBlue + DAB</option>
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
62 <option value="fgx_from_rgb">Deconvolve RGB into Feulgen + Light Green</option>
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
63 <option value="rgb_from_fgx">Recompose RGB from Feulgen + Light Green</option>
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
64 <option value="bex_from_rgb">Deconvolve RGB into Giemsa stain (Methyl Blue + Eosin)</option>
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
65 <option value="rgb_from_bex">Recompose RGB from Giemsa stain (Methyl Blue + Eosin)</option>
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
66 <option value="bpx_from_rgb">Deconvolve RGB into Methyl Blue + Ponceau Fuchsin</option>
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
67 <option value="rgb_from_bpx">Recompose RGB from Methyl Blue + Ponceau Fuchsin</option>
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
68 <option value="gdx_from_rgb">Deconvolve RGB into Methyl Green + DAB</option>
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
69 <option value="rgb_from_gdx">Recompose RGB from Methyl Green + DAB</option>
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
70
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
71 <!-- Unsupervised machine learning-based operations -->
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
72 <option value="ica">Project onto independent components (ICA)</option>
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
73 <option value="pca">Project onto principal components (PCA)</option>
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
74 <option value="nmf">Non-negative matrix factorization</option>
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
75 <option value="fa">Factor analysis</option>
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
76
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
77 <!-- General color space conversion operations -->
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
78 <option value="rgb2hsv" selected="True">Convert RGB to HSV</option>
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
79 <option value="hsv2rgb">Convert HSV to RGB</option>
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
80 <option value="rgb2xyz">Convert RGB to XYZ (CIE 1931)</option>
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
81 <option value="xyz2rgb">Convert XYZ (CIE 1931) to RGB</option>
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
82 <option value="rgb2luv">Convert RGB to CIE-LUV</option>
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
83 <option value="luv2rgb">Convert CIE-LUV to RGB</option>
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
84 <option value="xyz2luv">Convert XYZ (CIE 1931) to CIE-LUV</option>
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
85 <option value="luv2xyz">Convert CIE-LUV to XYZ (CIE 1931)</option>
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
86 <option value="rgb2lab">Convert RGB to CIE-LAB (illuminant D65, aperture angle 2&#xb0;)</option>
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
87 <option value="lab2rgb">Convert CIE-LAB (illuminant D65, aperture angle 2&#xb0;) to RGB</option>
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
88 <option value="lab2xyz">Convert CIE-LAB (illuminant D65, aperture angle 2&#xb0;) to XYZ (CIE 1931)</option>
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
89 <option value="xyz2lab">Convert XYZ (CIE 1931) to CIE-LAB (illuminant D65, aperture angle 2&#xb0;)</option>
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
90 <option value="lch2lab">Convert CIE-LCh to CIE-LAB</option>
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
91 <option value="lab2lch">Convert CIE-LAB to CIE-LCh</option>
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
92 <option value="rgb2rgbcie">Convert RGB to RGB-CIE</option>
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
93 <option value="rgbcie2rgb">Convert RGB-CIE to RGB</option>
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
94
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
95 </param>
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
96 <param name="isolate_channel" type="integer" optional="true" value="" label="Isolate channel" help="Must be empty or the number of a channel (1 to 3). If used, all other channels are set to zero before performing the chosen transformation." />
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
97 </inputs>
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
98 <outputs>
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
99 <data format="tiff" name="output"/>
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
100 </outputs>
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
101 <tests>
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
102
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
103 <!-- Tests with compatible input files -->
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
104
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
105 <test>
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
106 <!-- Test PNG input and standard color transformation -->
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
107 <param name="input" value="galaxyIcon_noText.png" />
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
108 <param name="convtype" value="rgb2hsv" />
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
109 <expand macro="tests/intensity_image_diff" name="output" value="galaxyIcon_noText.tiff" ftype="tiff"/>
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
110 </test>
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
111 <test>
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
112 <!-- Test deconvolution using scikit-image (H&E + DAB) -->
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
113 <param name="input" value="he1.tiff" />
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
114 <param name="convtype" value="rgb2hed" />
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
115 <expand macro="tests/intensity_image_diff" name="output" value="he1_deconv_hed.tiff" ftype="tiff"/>
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
116 </test>
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
117 <test>
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
118 <!-- Test full recomposition -->
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
119 <param name="input" value="he1_deconv_hed.tiff" />
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
120 <param name="convtype" value="hed2rgb" />
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
121 <expand macro="tests/intensity_image_diff" name="output" value="he1_deconv_hed_recomposed.tiff" ftype="tiff"/>
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
122 </test>
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
123 <test>
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
124 <!-- Test recomposition with isolated channel -->
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
125 <param name="input" value="he1_deconv_hed.tiff" />
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
126 <param name="convtype" value="hed2rgb" />
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
127 <param name="isolate_channel" value="1" />
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
128 <expand macro="tests/intensity_image_diff" name="output" value="he1_deconv_hed_recomposed1.tiff" ftype="tiff"/>
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
129 </test>
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
130 <test>
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
131 <!-- Test deconvolution using custom stain matrix -->
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
132 <param name="input" value="he1.tiff" />
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
133 <param name="convtype" value="he_from_rgb" />
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
134 <expand macro="tests/intensity_image_diff" name="output" value="he1_deconv_he.tiff" ftype="tiff"/>
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
135 </test>
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
136 <test>
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
137 <!-- Test deconvolution using scikit-image (Hematoxylin + DAB) -->
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
138 <param name="input" value="hdab1.tiff" />
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
139 <param name="convtype" value="hdx_from_rgb" />
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
140 <expand macro="tests/intensity_image_diff" name="output" value="hdab1_deconv_hdab.tiff" ftype="tiff"/>
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
141 </test>
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
142 <test>
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
143 <!-- Test with image that has 3 axes but in unusual order (and 3 channels) -->
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
144 <param name="input" value="he1_axes_cyx.tiff" />
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
145 <param name="convtype" value="rgb2hsv" />
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
146 <expand macro="tests/intensity_image_diff" name="output" value="he1_hsv.tiff" ftype="tiff"/>
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
147 </test>
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
148
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
149 <!-- Tests with incompatible input files (should fail) -->
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
150
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
151 <test expect_failure="true">
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
152 <!-- Test with image that only has 2 axes instead of required 3 -->
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
153 <param name="input" value="im_axes_yx.tif" />
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
154 <param name="convtype" value="rgb2hsv" />
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
155 </test>
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
156 <test expect_failure="true">
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
157 <!-- Test with image that has 3 axes but YXZ instead of YXC (and 3 slices) -->
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
158 <param name="input" value="he1_axes_yxz.tiff" />
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
159 <param name="convtype" value="rgb2hsv" />
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
160 </test>
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
161
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
162 </tests>
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
163 <help><![CDATA[
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
164
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
165 **This tool converts the color space of an image.**
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
166
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
167 Several color deconvolution techniques are also supported.
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
168
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
169 Color Deconvolution Example
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
170 ===========================
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
171
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
172 In this example, we are going to perform color deconvolution of the following RGB image:
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
173
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
174 .. image:: he.png
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
175 :width: 434px
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
176 :scale: 50%
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
177
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
178 Using the option "Deconvolve RGB into H&E (Hematoxylin + Eosin)" for the **Transformation type** performs color deconvolution and yields a new image with three chnnales:
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
179
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
180 .. image:: he_deconv.png
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
181 :width: 1305px
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
182 :scale: 50%
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
183
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
184 The channels of the deconvolved image are the Hematoxylin intensities (Channel 1), the Eosin intensities (Channel 2), and the residuals (Channel 3). White image regions correspond to high intensities and black image regions correspond to low intensities.
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
185
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
186 For visual inspection of the color deconvolution results, it may be useful to recompose separate RGB images for the Hematoxylin, Eosin, and residual channels. To create such images, this tool must be run once for each channel of the deconvolved image (i.e. three times), using the following options:
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
187
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
188 * **Input image:** The result of the color deconvolution (image shown in the figure above)
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
189 * **Transformation type:** Recompose RGB from H&E (Hematoxylin + Eosin)
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
190
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
191 The **Isolate channel** field must be set to 1, 2, and 3 during the three runs, respectively. This will yield the following recomposed RGB images for better visualization of the color deconvolution results:
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
192
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
193 .. image:: he_recomposed.png
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
194 :width: 1305px
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
195 :scale: 50%
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
196
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
197 ]]></help>
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
198 <citations>
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
199 <citation type="doi">10.7717/peerj.453</citation>
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
200 <citation type="bibtex">@inproceedings{sklearn_api,
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
201 author = {Lars Buitinck and Gilles Louppe and Mathieu Blondel and
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
202 Fabian Pedregosa and Andreas Mueller and Olivier Grisel and
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
203 Vlad Niculae and Peter Prettenhofer and Alexandre Gramfort
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
204 and Jaques Grobler and Robert Layton and Jake VanderPlas and
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
205 Arnaud Joly and Brian Holt and Ga{\"{e}}l Varoquaux},
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
206 title = {{API} design for machine learning software: experiences from the scikit-learn project},
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
207 booktitle = {ECML PKDD Workshop: Languages for Data Mining and Machine Learning},
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
208 year = {2013},
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
209 pages = {108--122},
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
210 }</citation>
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
211 </citations>
387414aa6496 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/color_deconvolution/ commit f546b3cd5cbd3a8613cd517975c7ad1d1f83514e
imgteam
parents:
diff changeset
212 </tool>