Mercurial > repos > imgteam > clip_image
annotate clip_image.xml @ 1:eb5a84e77beb draft default tip
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit e9a49428eb8424b1e2b80093e6b3f924f98f2d14
| author | imgteam |
|---|---|
| date | Sun, 04 Jan 2026 22:20:07 +0000 |
| parents | 969840610383 |
| children |
| rev | line source |
|---|---|
|
1
eb5a84e77beb
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit e9a49428eb8424b1e2b80093e6b3f924f98f2d14
imgteam
parents:
0
diff
changeset
|
1 <tool id="clip_image" name="Clip image intensities" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="25.1"> |
|
0
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
2 <description>with giatools</description> |
|
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
3 <macros> |
|
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
4 <import>creators.xml</import> |
|
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
5 <import>tests.xml</import> |
|
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
6 <token name="@TOOL_VERSION@">0.7.3</token> |
|
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
7 <token name="@VERSION_SUFFIX@">0</token> |
|
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
8 <xml name="bound" tokens="name,label,help"> |
|
1
eb5a84e77beb
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit e9a49428eb8424b1e2b80093e6b3f924f98f2d14
imgteam
parents:
0
diff
changeset
|
9 <param name="@NAME@" type="float" optional="true" label="@LABEL@" help="@HELP@"/> |
|
0
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
10 </xml> |
|
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
11 </macros> |
|
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
12 <creator> |
|
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
13 <expand macro="creators/bmcv"/> |
|
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
14 <expand macro="creators/kostrykin"/> |
|
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
15 </creator> |
|
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
16 <edam_operations> |
|
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
17 <edam_operation>operation_3443</edam_operation> |
|
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
18 </edam_operations> |
|
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
19 <xrefs> |
|
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
20 <xref type="bio.tools">galaxy_image_analysis</xref> |
|
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
21 <xref type="bio.tools">giatools</xref> |
|
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
22 <xref type="bio.tools">numpy</xref> |
|
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
23 </xrefs> |
|
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
24 <requirements> |
|
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
25 <requirement type="package" version="@TOOL_VERSION@">giatools</requirement> |
|
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
26 <requirement type="package" version="0.12.2">ome-zarr</requirement> |
|
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
27 </requirements> |
|
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
28 <required_files> |
|
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
29 <include type="literal" path="clip_image.py"/> |
|
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
30 </required_files> |
|
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
31 <command detect_errors="aggressive"><![CDATA[ |
|
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
32 |
|
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
33 python '$__tool_directory__/clip_image.py' |
|
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
34 |
|
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
35 #if $input.extension == "zarr" |
|
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
36 --input '$input.extra_files_path/$input.metadata.store_root' |
|
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
37 #else |
|
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
38 --input '$input' |
|
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
39 #end if |
|
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
40 |
|
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
41 --output 'output.tiff' |
|
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
42 --params '$params' |
|
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
43 --verbose |
|
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
44 |
|
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
45 ]]></command> |
|
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
46 <configfiles> |
|
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
47 <configfile name="params"><![CDATA[ |
|
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
48 { |
|
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
49 |
|
1
eb5a84e77beb
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit e9a49428eb8424b1e2b80093e6b3f924f98f2d14
imgteam
parents:
0
diff
changeset
|
50 #if str($lower_bound) != "" |
|
eb5a84e77beb
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit e9a49428eb8424b1e2b80093e6b3f924f98f2d14
imgteam
parents:
0
diff
changeset
|
51 "lower_bound": $lower_bound, |
|
0
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
52 #end if |
|
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
53 |
|
1
eb5a84e77beb
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit e9a49428eb8424b1e2b80093e6b3f924f98f2d14
imgteam
parents:
0
diff
changeset
|
54 #if str($upper_bound) != "" |
|
eb5a84e77beb
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit e9a49428eb8424b1e2b80093e6b3f924f98f2d14
imgteam
parents:
0
diff
changeset
|
55 "upper_bound": $upper_bound, |
|
0
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
56 #end if |
|
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
57 |
|
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
58 "": null |
|
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
59 } |
|
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
60 ]]></configfile> |
|
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
61 </configfiles> |
|
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
62 <inputs> |
|
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
63 <param name="input" type="data" format="tiff,zarr,png,jpg" label="Input image"/> |
|
1
eb5a84e77beb
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit e9a49428eb8424b1e2b80093e6b3f924f98f2d14
imgteam
parents:
0
diff
changeset
|
64 <expand macro="bound" name="lower_bound" label="Lower bound" |
|
eb5a84e77beb
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit e9a49428eb8424b1e2b80093e6b3f924f98f2d14
imgteam
parents:
0
diff
changeset
|
65 help="Image intensities below this value will be set to this value."/> |
|
eb5a84e77beb
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit e9a49428eb8424b1e2b80093e6b3f924f98f2d14
imgteam
parents:
0
diff
changeset
|
66 <expand macro="bound" name="upper_bound" label="Upper bound" |
|
eb5a84e77beb
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit e9a49428eb8424b1e2b80093e6b3f924f98f2d14
imgteam
parents:
0
diff
changeset
|
67 help="Image intensities above this value will be set to this value."/> |
|
0
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
68 </inputs> |
|
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
69 <outputs> |
|
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
70 <data format="tiff" name="output" from_work_dir="output.tiff"/> |
|
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
71 </outputs> |
|
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
72 <tests> |
|
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
73 <test> |
|
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
74 <param name="input" value="input/input4_float16.tiff"/> |
|
1
eb5a84e77beb
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit e9a49428eb8424b1e2b80093e6b3f924f98f2d14
imgteam
parents:
0
diff
changeset
|
75 <param name="lower_bound" value="0.5"/> |
|
0
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
76 <expand macro="tests/intensity_image_diff" name="output" value="output/input4.tiff" ftype="tiff"/> |
|
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
77 <assert_stdout> |
|
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
78 <has_line line="[input] Input image axes: ZYX"/> |
|
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
79 <has_line line="[input] Input image shape: (10, 15, 18)"/> |
|
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
80 <has_line line="[input] Input image dtype: float16"/> |
|
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
81 <has_line line="[input] Input image resolution=(2.0, 1.0), unit='inch', z_spacing=2.0"/> |
|
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
82 <has_line line="Applying clipping: [0.5, inf]"/> |
|
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
83 <has_line line="[output] Output image axes: ZYX"/> |
|
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
84 <has_line line="[output] Output image shape: (10, 15, 18)"/> |
|
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
85 <has_line line="[output] Output image dtype: float16"/> |
|
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
86 <has_line line="[output] Output image resolution=(2.0, 1.0), unit='inch', z_spacing=2.0"/> |
|
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
87 </assert_stdout> |
|
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
88 </test> |
|
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
89 <test> |
|
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
90 <param name="input" value="input/input5.jpg"/> |
|
1
eb5a84e77beb
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit e9a49428eb8424b1e2b80093e6b3f924f98f2d14
imgteam
parents:
0
diff
changeset
|
91 <param name="upper_bound" value="100.5"/> |
|
0
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
92 <expand macro="tests/intensity_image_diff" name="output" value="output/input5.tiff" ftype="tiff"/> |
|
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
93 <assert_stdout> |
|
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
94 <has_line line="[input] Input image axes: YXC"/> |
|
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
95 <has_line line="[input] Input image shape: (10, 10, 3)"/> |
|
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
96 <has_line line="[input] Input image dtype: uint8"/> |
|
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
97 <has_line line="Applying clipping: [-inf, 100.5]"/> |
|
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
98 <has_line line="[output] Output image axes: YXC"/> |
|
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
99 <has_line line="[output] Output image shape: (10, 10, 3)"/> |
|
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
100 <has_line line="[output] Output image dtype: uint8"/> |
|
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
101 </assert_stdout> |
|
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
102 </test> |
|
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
103 <test expect_failure="true"> |
|
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
104 <param name="input" value="input/input5.jpg"/> |
|
1
eb5a84e77beb
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit e9a49428eb8424b1e2b80093e6b3f924f98f2d14
imgteam
parents:
0
diff
changeset
|
105 <param name="lower_bound" value="60"/> |
|
eb5a84e77beb
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit e9a49428eb8424b1e2b80093e6b3f924f98f2d14
imgteam
parents:
0
diff
changeset
|
106 <param name="upper_bound" value="50"/> |
|
0
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
107 <assert_stderr> |
|
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
108 <has_line line="Lower bound (60) must be less or equal compared to the upper bound (50)."/> |
|
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
109 </assert_stderr> |
|
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
110 </test> |
|
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
111 <test> |
|
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
112 <param name="input" value="input/input6_yx.zarr"/> |
|
1
eb5a84e77beb
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit e9a49428eb8424b1e2b80093e6b3f924f98f2d14
imgteam
parents:
0
diff
changeset
|
113 <param name="lower_bound" value="-21.5"/> |
|
eb5a84e77beb
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit e9a49428eb8424b1e2b80093e6b3f924f98f2d14
imgteam
parents:
0
diff
changeset
|
114 <param name="upper_bound" value="101.5"/> |
|
0
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
115 <expand macro="tests/intensity_image_diff" name="output" value="output/input6.tiff" ftype="tiff"/> |
|
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
116 <assert_stdout> |
|
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
117 <has_line line="[input] Input image axes: YX"/> |
|
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
118 <has_line line="[input] Input image shape: (200, 200)"/> |
|
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
119 <has_line line="[input] Input image dtype: float64"/> |
|
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
120 <has_line line="[input] Input image resolution=(1.0, 1.0), unit='um'"/> |
|
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
121 <has_line line="Applying clipping: [-21.5, 101.5]"/> |
|
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
122 <has_line line="[output] Output image axes: YX"/> |
|
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
123 <has_line line="[output] Output image shape: (200, 200)"/> |
|
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
124 <has_line line="[output] Output image dtype: float64"/> |
|
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
125 <has_line line="[output] Output image resolution=(1.0, 1.0), unit='um'"/> |
|
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
126 </assert_stdout> |
|
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
127 </test> |
|
1
eb5a84e77beb
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit e9a49428eb8424b1e2b80093e6b3f924f98f2d14
imgteam
parents:
0
diff
changeset
|
128 <test> |
|
eb5a84e77beb
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit e9a49428eb8424b1e2b80093e6b3f924f98f2d14
imgteam
parents:
0
diff
changeset
|
129 <param name="input" value="input/input4_float16.tiff"/> |
|
eb5a84e77beb
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit e9a49428eb8424b1e2b80093e6b3f924f98f2d14
imgteam
parents:
0
diff
changeset
|
130 <expand macro="tests/intensity_image_diff" name="output" value="input/input4_float16.tiff" ftype="tiff"/> |
|
eb5a84e77beb
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit e9a49428eb8424b1e2b80093e6b3f924f98f2d14
imgteam
parents:
0
diff
changeset
|
131 <assert_stdout> |
|
eb5a84e77beb
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit e9a49428eb8424b1e2b80093e6b3f924f98f2d14
imgteam
parents:
0
diff
changeset
|
132 <has_line line="[input] Input image axes: ZYX"/> |
|
eb5a84e77beb
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit e9a49428eb8424b1e2b80093e6b3f924f98f2d14
imgteam
parents:
0
diff
changeset
|
133 <has_line line="[input] Input image shape: (10, 15, 18)"/> |
|
eb5a84e77beb
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit e9a49428eb8424b1e2b80093e6b3f924f98f2d14
imgteam
parents:
0
diff
changeset
|
134 <has_line line="[input] Input image dtype: float16"/> |
|
eb5a84e77beb
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit e9a49428eb8424b1e2b80093e6b3f924f98f2d14
imgteam
parents:
0
diff
changeset
|
135 <has_line line="[input] Input image resolution=(2.0, 1.0), unit='inch', z_spacing=2.0"/> |
|
eb5a84e77beb
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit e9a49428eb8424b1e2b80093e6b3f924f98f2d14
imgteam
parents:
0
diff
changeset
|
136 <has_line line="Applying clipping: [-inf, inf]"/> |
|
eb5a84e77beb
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit e9a49428eb8424b1e2b80093e6b3f924f98f2d14
imgteam
parents:
0
diff
changeset
|
137 <has_line line="[output] Output image axes: ZYX"/> |
|
eb5a84e77beb
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit e9a49428eb8424b1e2b80093e6b3f924f98f2d14
imgteam
parents:
0
diff
changeset
|
138 <has_line line="[output] Output image shape: (10, 15, 18)"/> |
|
eb5a84e77beb
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit e9a49428eb8424b1e2b80093e6b3f924f98f2d14
imgteam
parents:
0
diff
changeset
|
139 <has_line line="[output] Output image dtype: float16"/> |
|
eb5a84e77beb
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit e9a49428eb8424b1e2b80093e6b3f924f98f2d14
imgteam
parents:
0
diff
changeset
|
140 <has_line line="[output] Output image resolution=(2.0, 1.0), unit='inch', z_spacing=2.0"/> |
|
eb5a84e77beb
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit e9a49428eb8424b1e2b80093e6b3f924f98f2d14
imgteam
parents:
0
diff
changeset
|
141 </assert_stdout> |
|
eb5a84e77beb
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit e9a49428eb8424b1e2b80093e6b3f924f98f2d14
imgteam
parents:
0
diff
changeset
|
142 </test> |
|
0
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
143 </tests> |
|
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
144 <help> |
|
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
145 |
|
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
146 **Applies intensity clipping to an image.** |
|
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
147 |
|
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
148 Supports 2-D and 3-D images, single-channel and multi-channel images, and arbitrary series of images (e.g., temporal image sequences). |
|
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
149 |
|
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
150 This tool preserves the image pixel data type and—subject to clipping—the image brightness and the range of values. |
|
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
151 |
|
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
152 </help> |
|
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
153 <citations> |
|
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
154 <citation type="doi">10.1016/j.jbiotec.2017.07.019</citation> |
|
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
155 </citations> |
|
969840610383
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/clip_image/ commit ae489da900083dcea56c4d4822592efb3225ab31
imgteam
parents:
diff
changeset
|
156 </tool> |
