Mercurial > repos > imgteam > scale_image
annotate scale_image.xml @ 4:5122286b700e draft default tip
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
| author | imgteam |
|---|---|
| date | Sat, 13 Dec 2025 22:11:13 +0000 |
| parents | ba2b1a6f1b84 |
| children |
| rev | line source |
|---|---|
|
3
ba2b1a6f1b84
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit c55311bbe4c3d7e0039c77785509a150864bb272
imgteam
parents:
2
diff
changeset
|
1 <tool id="ip_scale_image" name="Scale image" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="20.05"> |
|
ba2b1a6f1b84
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit c55311bbe4c3d7e0039c77785509a150864bb272
imgteam
parents:
2
diff
changeset
|
2 <description>with scikit-image</description> |
|
ba2b1a6f1b84
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit c55311bbe4c3d7e0039c77785509a150864bb272
imgteam
parents:
2
diff
changeset
|
3 <macros> |
|
ba2b1a6f1b84
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit c55311bbe4c3d7e0039c77785509a150864bb272
imgteam
parents:
2
diff
changeset
|
4 <import>creators.xml</import> |
|
ba2b1a6f1b84
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit c55311bbe4c3d7e0039c77785509a150864bb272
imgteam
parents:
2
diff
changeset
|
5 <import>tests.xml</import> |
|
4
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
6 <token name="@TOOL_VERSION@">0.25.2</token> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
7 <token name="@VERSION_SUFFIX@">0</token> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
8 <xml name="factor_input" tokens="name,label"> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
9 <param name="@NAME@" type="float" min="0.01" max="10" value="1" label="@LABEL@ scaling factor" |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
10 help="Values less than 1 will down-sample the image data. Values greater than 1 will up-sample the image data."/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
11 </xml> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
12 <xml name="anti_alias_input"> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
13 <param name="anti_alias" type="boolean" truevalue="true" falsevalue="false" checked="true" label="Enable anti-aliasing" |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
14 help="Disable this when processing binary images or label maps."/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
15 </xml> |
|
3
ba2b1a6f1b84
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit c55311bbe4c3d7e0039c77785509a150864bb272
imgteam
parents:
2
diff
changeset
|
16 </macros> |
|
ba2b1a6f1b84
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit c55311bbe4c3d7e0039c77785509a150864bb272
imgteam
parents:
2
diff
changeset
|
17 <creator> |
|
4
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
18 <expand macro="creators/bmcv"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
19 <expand macro="creators/kostrykin"/> |
|
3
ba2b1a6f1b84
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit c55311bbe4c3d7e0039c77785509a150864bb272
imgteam
parents:
2
diff
changeset
|
20 </creator> |
|
ba2b1a6f1b84
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit c55311bbe4c3d7e0039c77785509a150864bb272
imgteam
parents:
2
diff
changeset
|
21 <edam_operations> |
|
ba2b1a6f1b84
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit c55311bbe4c3d7e0039c77785509a150864bb272
imgteam
parents:
2
diff
changeset
|
22 <edam_operation>operation_3443</edam_operation> |
|
ba2b1a6f1b84
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit c55311bbe4c3d7e0039c77785509a150864bb272
imgteam
parents:
2
diff
changeset
|
23 </edam_operations> |
|
ba2b1a6f1b84
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit c55311bbe4c3d7e0039c77785509a150864bb272
imgteam
parents:
2
diff
changeset
|
24 <xrefs> |
|
4
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
25 <xref type="bio.tools">galaxy_image_analysis</xref> |
|
3
ba2b1a6f1b84
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit c55311bbe4c3d7e0039c77785509a150864bb272
imgteam
parents:
2
diff
changeset
|
26 <xref type="bio.tools">scikit-image</xref> |
|
ba2b1a6f1b84
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit c55311bbe4c3d7e0039c77785509a150864bb272
imgteam
parents:
2
diff
changeset
|
27 <xref type="biii">scikit-image</xref> |
|
ba2b1a6f1b84
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit c55311bbe4c3d7e0039c77785509a150864bb272
imgteam
parents:
2
diff
changeset
|
28 </xrefs> |
|
0
8b187dfeb541
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/scale_image/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
29 <requirements> |
|
3
ba2b1a6f1b84
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit c55311bbe4c3d7e0039c77785509a150864bb272
imgteam
parents:
2
diff
changeset
|
30 <requirement type="package" version="@TOOL_VERSION@">scikit-image</requirement> |
|
4
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
31 <requirement type="package" version="2.3.5">numpy</requirement> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
32 <requirement type="package" version="0.5.2">giatools</requirement> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
33 <requirement type="package" version="2025.10.16">tifffile</requirement> |
|
2
ac497ba6819d
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/scale_image/ commit b2acc1845a25828181597fe5b6982fe116a7796d
imgteam
parents:
1
diff
changeset
|
34 </requirements> |
|
3
ba2b1a6f1b84
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit c55311bbe4c3d7e0039c77785509a150864bb272
imgteam
parents:
2
diff
changeset
|
35 <command detect_errors="aggressive"><![CDATA[ |
|
0
8b187dfeb541
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/scale_image/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
36 |
|
4
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
37 python '$__tool_directory__/scale_image.py' |
|
3
ba2b1a6f1b84
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit c55311bbe4c3d7e0039c77785509a150864bb272
imgteam
parents:
2
diff
changeset
|
38 |
|
4
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
39 '$input' |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
40 ./output.${input.ext} |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
41 '$params' |
|
3
ba2b1a6f1b84
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit c55311bbe4c3d7e0039c77785509a150864bb272
imgteam
parents:
2
diff
changeset
|
42 |
|
ba2b1a6f1b84
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit c55311bbe4c3d7e0039c77785509a150864bb272
imgteam
parents:
2
diff
changeset
|
43 && mv ./output.${input.ext} ./output |
|
ba2b1a6f1b84
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit c55311bbe4c3d7e0039c77785509a150864bb272
imgteam
parents:
2
diff
changeset
|
44 |
|
ba2b1a6f1b84
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit c55311bbe4c3d7e0039c77785509a150864bb272
imgteam
parents:
2
diff
changeset
|
45 ]]></command> |
|
4
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
46 <configfiles> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
47 <configfile name="params"><![CDATA[ |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
48 { |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
49 |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
50 #if $scale.mode == "uniform" |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
51 "axes": "$scale.axes", |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
52 "factor": $scale.factor, |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
53 |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
54 #elif $scale.mode == "explicit" |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
55 "factor_x": $scale.factor_x, |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
56 "factor_y": $scale.factor_y, |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
57 "factor_z": $scale.factor_z, |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
58 "factor_t": $scale.factor_t, |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
59 "factor_q": $scale.factor_q, |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
60 |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
61 #elif $scale.mode == "isotropy" |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
62 "sample": "$scale.sample", |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
63 |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
64 #end if |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
65 "mode": "$scale.mode", |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
66 "order": $interpolation.order, |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
67 "anti_alias": $interpolation.anti_alias |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
68 |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
69 } |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
70 ]]></configfile> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
71 </configfiles> |
|
0
8b187dfeb541
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/scale_image/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
72 <inputs> |
|
4
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
73 <param name="input" type="data" format="png,tiff" label="Input image"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
74 <conditional name="scale"> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
75 <param name="mode" type="select" label="How to scale?" |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
76 help='Using the "Scale to spatially isotropic pixels/voxels" option requires that the real-world resolution is available from the metadata of the input image.'> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
77 <option value="uniform" selected="true">Uniform scaling factor</option> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
78 <option value="explicit">Explicit scaling factors</option> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
79 <option value="isotropy">Scale to spatially isotropic pixels/voxels</option> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
80 </param> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
81 <when value="uniform"> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
82 <param name="axes" type="select" label="Axes to be scaled"> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
83 <option value="spatial" selected="true">All spatial axes (X, Y, Z)</option> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
84 <option value="all">All axes except channels (X, Y, Z, T, Q)</option> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
85 </param> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
86 <expand macro="factor_input" name="factor" label="Uniform"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
87 </when> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
88 <when value="explicit"> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
89 <expand macro="factor_input" name="factor_x" label="Horizontal (X)"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
90 <expand macro="factor_input" name="factor_y" label="Vertical (Y)"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
91 <expand macro="factor_input" name="factor_z" label="Depth axis (Z)"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
92 <expand macro="factor_input" name="factor_t" label="Temporal (T)"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
93 <expand macro="factor_input" name="factor_q" label="Other axis (Q)"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
94 </when> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
95 <when value="isotropy"> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
96 <param name="sample" type="select" label="Method"> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
97 <option value="up">Up-sample (enlarges the image data)</option> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
98 <option value="down" selected="true">Down-sample (might lose information)</option> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
99 </param> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
100 </when> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
101 </conditional> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
102 <conditional name="interpolation"> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
103 <param name="order" type="select" label="Interpolation method"> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
104 <option value="0">Nearest-neighbor (good for binary images and label maps)</option> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
105 <option value="1" selected="true">Linear (better preserves the intensity values)</option> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
106 <option value="2">Cubic (yields visually superior results)</option> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
107 </param> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
108 <when value="0"> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
109 <param name="anti_alias" type="hidden" value="false"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
110 </when> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
111 <when value="1"> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
112 <expand macro="anti_alias_input"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
113 </when> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
114 <when value="2"> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
115 <expand macro="anti_alias_input"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
116 </when> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
117 </conditional> |
|
0
8b187dfeb541
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/scale_image/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
118 </inputs> |
|
8b187dfeb541
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/scale_image/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
119 <outputs> |
|
3
ba2b1a6f1b84
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit c55311bbe4c3d7e0039c77785509a150864bb272
imgteam
parents:
2
diff
changeset
|
120 <data name="output" from_work_dir="output" format_source="input" metadata_source="input"/> |
|
0
8b187dfeb541
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/scale_image/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
121 </outputs> |
|
8b187dfeb541
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/scale_image/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
122 <tests> |
|
4
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
123 <!-- Test PNG, uniform scaling, nearest neighbor interpolation (without anti-alias) --> |
|
0
8b187dfeb541
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/scale_image/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
124 <test> |
|
4
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
125 <param name="input" value="inputs/binary_rgba.png"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
126 <conditional name="scale"> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
127 <param name="mode" value="uniform"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
128 <param name="factor" value="0.7"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
129 </conditional> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
130 <conditional name="interpolation"> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
131 <param name="order" value="0"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
132 </conditional> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
133 <expand macro="tests/binary_image_diff" name="output" value="outputs/binary_rgba_uniform_down_nn.png" ftype="png"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
134 <assert_stdout> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
135 <has_line line="Input axes: YXC"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
136 <has_line line="Input has no metadata"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
137 <has_line line="Output axes: YXC"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
138 <has_line line="Output resolution: (0.7, 0.7), z_spacing: 1.0"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
139 <has_line line="scale: (1, 1, 1, 0.7, 0.7)"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
140 <has_line line="order: 0"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
141 <has_line line="anti_aliasing: False"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
142 </assert_stdout> |
|
3
ba2b1a6f1b84
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit c55311bbe4c3d7e0039c77785509a150864bb272
imgteam
parents:
2
diff
changeset
|
143 </test> |
|
4
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
144 <test> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
145 <param name="input" value="inputs/binary_rgba.png"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
146 <conditional name="scale"> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
147 <param name="mode" value="uniform"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
148 <param name="factor" value="1.5"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
149 </conditional> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
150 <conditional name="interpolation"> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
151 <param name="order" value="0"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
152 </conditional> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
153 <expand macro="tests/binary_image_diff" name="output" value="outputs/binary_rgba_uniform_up_nn.png" ftype="png"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
154 <assert_stdout> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
155 <has_line line="Input axes: YXC"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
156 <has_line line="Input has no metadata"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
157 <has_line line="Output axes: YXC"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
158 <has_line line="Output resolution: (1.5, 1.5), z_spacing: 1.0"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
159 <has_line line="scale: (1, 1, 1, 1.5, 1.5)"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
160 <has_line line="order: 0"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
161 <has_line line="anti_aliasing: False"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
162 </assert_stdout> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
163 </test> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
164 <!-- Test PNG, uniform scaling, linear interpolation with anti-alias --> |
|
3
ba2b1a6f1b84
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit c55311bbe4c3d7e0039c77785509a150864bb272
imgteam
parents:
2
diff
changeset
|
165 <test> |
|
4
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
166 <param name="input" value="inputs/rgb.png"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
167 <conditional name="scale"> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
168 <param name="mode" value="uniform"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
169 <param name="factor" value="0.7"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
170 </conditional> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
171 <conditional name="interpolation"> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
172 <param name="order" value="1"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
173 <param name="anti_alias" value="true"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
174 </conditional> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
175 <expand macro="tests/intensity_image_diff" name="output" value="outputs/rgb_uniform_down_linear_aa.png" ftype="png"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
176 <assert_stdout> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
177 <has_line line="Input axes: YXC"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
178 <has_line line="Input has no metadata"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
179 <has_line line="Output axes: YXC"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
180 <has_line line="Output resolution: (0.7, 0.7), z_spacing: 1.0"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
181 <has_line line="scale: (1, 1, 1, 0.7, 0.7)"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
182 <has_line line="order: 1"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
183 <has_line line="anti_aliasing: True"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
184 <has_line_matching expression="anti_aliasing_sigma: \(0, 0, 0, 0.214[0-9]+, 0.214[0-9]+, 0\)"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
185 </assert_stdout> |
|
3
ba2b1a6f1b84
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit c55311bbe4c3d7e0039c77785509a150864bb272
imgteam
parents:
2
diff
changeset
|
186 </test> |
|
4
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
187 <test> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
188 <param name="input" value="inputs/rgb.png"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
189 <conditional name="scale"> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
190 <param name="mode" value="uniform"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
191 <param name="factor" value="1.5"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
192 </conditional> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
193 <conditional name="interpolation"> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
194 <param name="order" value="1"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
195 <param name="anti_alias" value="true"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
196 </conditional> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
197 <expand macro="tests/intensity_image_diff" name="output" value="outputs/rgb_uniform_up_linear_aa.png" ftype="png"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
198 <assert_stdout> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
199 <has_line line="Input axes: YXC"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
200 <has_line line="Input has no metadata"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
201 <has_line line="Output axes: YXC"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
202 <has_line line="Output resolution: (1.5, 1.5), z_spacing: 1.0"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
203 <has_line line="scale: (1, 1, 1, 1.5, 1.5)"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
204 <has_line line="order: 1"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
205 <has_line line="anti_aliasing: False"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
206 </assert_stdout> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
207 </test> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
208 <!-- Test PNG, explicit scaling, cubic interpolation with anti-alias --> |
|
3
ba2b1a6f1b84
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit c55311bbe4c3d7e0039c77785509a150864bb272
imgteam
parents:
2
diff
changeset
|
209 <test> |
|
4
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
210 <param name="input" value="inputs/binary_rgba.png"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
211 <conditional name="scale"> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
212 <param name="mode" value="explicit"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
213 <param name="factor_x" value="1.5"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
214 <param name="factor_y" value="0.7"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
215 <param name="factor_z" value="1.0"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
216 <param name="factor_t" value="1.0"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
217 <param name="factor_q" value="1.0"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
218 </conditional> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
219 <conditional name="interpolation"> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
220 <param name="order" value="2"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
221 <param name="anti_alias" value="true"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
222 </conditional> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
223 <expand macro="tests/intensity_image_diff" name="output" value="outputs/binary_rgba_explicit_cubic_aa.png" ftype="png"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
224 <assert_stdout> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
225 <has_line line="Input axes: YXC"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
226 <has_line line="Input has no metadata"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
227 <has_line line="Output axes: YXC"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
228 <has_line line="Output resolution: (1.5, 0.7), z_spacing: 1.0"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
229 <has_line line="scale: (1.0, 1.0, 1.0, 0.7, 1.5)"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
230 <has_line line="order: 2"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
231 <has_line line="anti_aliasing: True"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
232 <has_line_matching expression="anti_aliasing_sigma: \(0, 0, 0, 0.214[0-9]+, 0, 0\)"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
233 </assert_stdout> |
|
3
ba2b1a6f1b84
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit c55311bbe4c3d7e0039c77785509a150864bb272
imgteam
parents:
2
diff
changeset
|
234 </test> |
|
ba2b1a6f1b84
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit c55311bbe4c3d7e0039c77785509a150864bb272
imgteam
parents:
2
diff
changeset
|
235 <test> |
|
4
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
236 <param name="input" value="inputs/binary_rgba.png"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
237 <conditional name="scale"> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
238 <param name="mode" value="explicit"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
239 <param name="factor_x" value="1.5"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
240 <param name="factor_y" value="0.7"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
241 <param name="factor_z" value="1.0"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
242 <param name="factor_t" value="0.1"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
243 <param name="factor_q" value="1.0"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
244 </conditional> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
245 <conditional name="interpolation"> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
246 <param name="order" value="2"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
247 <param name="anti_alias" value="true"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
248 </conditional> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
249 <expand macro="tests/intensity_image_diff" name="output" value="outputs/binary_rgba_explicit_cubic_aa.png" ftype="png"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
250 <assert_stdout> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
251 <has_line line="Input axes: YXC"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
252 <has_line line="Input has no metadata"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
253 <has_line line="Output axes: YXC"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
254 <has_line line="Output resolution: (1.5, 0.7), z_spacing: 1.0"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
255 <has_line line="scale: (1.0, 0.1, 1.0, 0.7, 1.5)"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
256 <has_line line="order: 2"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
257 <has_line line="anti_aliasing: True"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
258 <has_line_matching expression="anti_aliasing_sigma: \(0, 4.5, 0, 0.214[0-9]+, 0, 0\)"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
259 </assert_stdout> |
|
3
ba2b1a6f1b84
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit c55311bbe4c3d7e0039c77785509a150864bb272
imgteam
parents:
2
diff
changeset
|
260 </test> |
|
4
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
261 <test expect_failure="true"> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
262 <param name="input" value="inputs/binary_rgba.png"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
263 <conditional name="scale"> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
264 <param name="mode" value="explicit"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
265 <param name="factor_x" value="1.5"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
266 <param name="factor_y" value="0.7"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
267 <param name="factor_z" value="2.0"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
268 <param name="factor_t" value="0.1"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
269 <param name="factor_q" value="1.0"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
270 </conditional> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
271 <conditional name="interpolation"> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
272 <param name="order" value="2"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
273 <param name="anti_alias" value="true"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
274 </conditional> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
275 <assert_stderr> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
276 <has_line line='Cannot write PNG file with axes "ZYXC"'/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
277 </assert_stderr> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
278 </test> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
279 <!-- Test TIFF, explicit scaling, cubic interpolation with anti-alias --> |
|
3
ba2b1a6f1b84
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit c55311bbe4c3d7e0039c77785509a150864bb272
imgteam
parents:
2
diff
changeset
|
280 <test> |
|
4
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
281 <param name="input" value="inputs/binary_c0.tiff"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
282 <conditional name="scale"> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
283 <param name="mode" value="explicit"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
284 <param name="factor_x" value="1.5"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
285 <param name="factor_y" value="0.7"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
286 <param name="factor_z" value="2.0"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
287 <param name="factor_t" value="0.1"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
288 <param name="factor_q" value="1.0"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
289 </conditional> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
290 <conditional name="interpolation"> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
291 <param name="order" value="2"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
292 <param name="anti_alias" value="true"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
293 </conditional> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
294 <expand macro="tests/intensity_image_diff" name="output" value="outputs/binary_c0_explicit_cubic_aa.tiff" ftype="tiff"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
295 <assert_stdout> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
296 <has_line line="Input axes: YX"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
297 <has_line line="Input resolution: (1.0, 1.0)"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
298 <has_line line="Output axes: ZYX"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
299 <has_line line="Output resolution: (1.5, 0.7), z_spacing: 0.5"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
300 <has_line line="scale: (1.0, 0.1, 2.0, 0.7, 1.5)"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
301 <has_line line="order: 2"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
302 <has_line line="anti_aliasing: True"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
303 <has_line_matching expression="anti_aliasing_sigma: \(0, 4.5, 0, 0.214[0-9]+, 0, 0\)"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
304 </assert_stdout> |
|
3
ba2b1a6f1b84
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit c55311bbe4c3d7e0039c77785509a150864bb272
imgteam
parents:
2
diff
changeset
|
305 </test> |
|
4
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
306 <!-- Test TIFF, isotropy scaling, linear interpolation (without anti-alias) --> |
|
3
ba2b1a6f1b84
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit c55311bbe4c3d7e0039c77785509a150864bb272
imgteam
parents:
2
diff
changeset
|
307 <test> |
|
4
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
308 <param name="input" value="inputs/binary_c2_z10.tiff"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
309 <conditional name="scale"> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
310 <param name="mode" value="isotropy"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
311 <param name="sample" value="up"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
312 </conditional> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
313 <conditional name="interpolation"> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
314 <param name="order" value="1"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
315 <param name="anti_alias" value="false"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
316 </conditional> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
317 <expand macro="tests/intensity_image_diff" name="output" value="outputs/binary_c2_z10_isotropy_linear.tiff" ftype="tiff"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
318 <assert_stdout> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
319 <has_line line="Input axes: ZYXC"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
320 <has_line_matching expression="Input resolution: \(0.1[0-9]*, 0.05[0-9]*\), unit: um, z_spacing: 40.0"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
321 <has_line line="Output axes: ZYXC"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
322 <has_line_matching expression="Output resolution: \(0.1[0-9]*, 0.1[0-9]*\), unit: um, z_spacing: (?:9.999[0-9]+|10.0[0-9]*)"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
323 <has_line_matching expression="scale: \(1, 1, 4.0[0-9]*, 2.0, 1.0\)"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
324 <has_line line="order: 1"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
325 <has_line line="anti_aliasing: False"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
326 </assert_stdout> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
327 </test> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
328 <test> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
329 <param name="input" value="inputs/binary_c2.tiff"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
330 <conditional name="scale"> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
331 <param name="mode" value="isotropy"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
332 <param name="sample" value="up"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
333 </conditional> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
334 <conditional name="interpolation"> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
335 <param name="order" value="1"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
336 <param name="anti_alias" value="false"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
337 </conditional> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
338 <expand macro="tests/intensity_image_diff" name="output" value="outputs/binary_c2_isotropy_linear.tiff" ftype="tiff"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
339 <assert_stdout> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
340 <has_line line="Input axes: YXC"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
341 <has_line_matching expression="Input resolution: \(0.1[0-9]*, 0.05[0-9]*\), unit: um, z_spacing: 40.0"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
342 <has_line line="Output axes: YXC"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
343 <has_line_matching expression="Output resolution: \(0.1[0-9]*, 0.1[0-9]*\), unit: um, z_spacing: 40.0"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
344 <has_line line="scale: (1, 1, 1, 2.0, 1.0)"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
345 <has_line line="order: 1"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
346 <has_line line="anti_aliasing: False"/> |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
347 </assert_stdout> |
|
0
8b187dfeb541
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/scale_image/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
348 </test> |
|
8b187dfeb541
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/scale_image/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
349 </tests> |
|
8b187dfeb541
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/scale_image/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
350 <help> |
|
3
ba2b1a6f1b84
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit c55311bbe4c3d7e0039c77785509a150864bb272
imgteam
parents:
2
diff
changeset
|
351 |
|
4
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
352 **Scales an image by re-sampling the image data.** |
|
0
8b187dfeb541
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/scale_image/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
353 |
|
4
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
354 The image is rescaled uniformly along all axes, or anisotropically if multiple scale factors are given. |
|
5122286b700e
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit cd908933bd7bd8756c213af57ea6343a90effc12
imgteam
parents:
3
diff
changeset
|
355 In addition, the metadata of an image can be used to automatically rescale the image to obtain isotropic pixels or voxels. |
|
3
ba2b1a6f1b84
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit c55311bbe4c3d7e0039c77785509a150864bb272
imgteam
parents:
2
diff
changeset
|
356 |
|
ba2b1a6f1b84
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit c55311bbe4c3d7e0039c77785509a150864bb272
imgteam
parents:
2
diff
changeset
|
357 This operation preserves both the brightness of the image, and the range of values. |
|
ba2b1a6f1b84
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit c55311bbe4c3d7e0039c77785509a150864bb272
imgteam
parents:
2
diff
changeset
|
358 |
|
0
8b187dfeb541
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/scale_image/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
359 </help> |
|
8b187dfeb541
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/scale_image/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
360 <citations> |
|
8b187dfeb541
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/scale_image/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
361 <citation type="doi">10.1016/j.jbiotec.2017.07.019</citation> |
|
8b187dfeb541
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/scale_image/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
362 </citations> |
|
8b187dfeb541
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/scale_image/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
363 </tool> |
