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