comparison imagej2_bunwarpj_adapt_transform.xml @ 0:706af1d7028a draft

"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/image_processing/imagej2 commit b08f0e6d1546caaf627b21f8c94044285d5d5b9c-dirty"
author imgteam
date Tue, 17 Sep 2019 17:11:26 -0400
parents
children 5d633d30316e
comparison
equal deleted inserted replaced
-1:000000000000 0:706af1d7028a
1 <?xml version='1.0' encoding='UTF-8'?>
2 <tool id="imagej2_bunwarpj_adapt_transform" name="Adapt an elastic transformation" version="@WRAPPER_VERSION@.0">
3 <description>to a new image size with bUnwarpJ</description>
4 <macros>
5 <import>imagej2_macros.xml</import>
6 </macros>
7 <expand macro="fiji_requirements" />
8 <command>
9 <![CDATA[
10 python $__tool_directory__/imagej2_bunwarpj_adapt_transform.py
11 --target_image "$target_image"
12 --target_image_format $target_image.ext
13 --source_image "$source_image"
14 --source_image_format $source_image.ext
15 --input_elastic_transformation "$input_elastic_transformation"
16 --image_size_factor $image_size_factor
17 --output "$output"
18 ]]>
19 </command>
20 <inputs>
21 <param format="bmp,eps,gif,jpg,pcx,pgm,png,psd,tiff" name="target_image" type="data" label="Target image"/>
22 <param format="bmp,eps,gif,jpg,pcx,pgm,png,psd,tiff" name="source_image" type="data" label="Source image"/>
23 <param format="txt" name="input_elastic_transformation" type="data" label="Target inverse transformation"/>
24 <param name="image_size_factor" type="float" value="2.0" label="Image size factor" help="Must be a positive or negative power of 2 (0.25, 0.5, 2, 4, 8, etc)"/>
25 </inputs>
26 <outputs>
27 <data name="output" format="txt" label="${tool.name} on ${on_string}: Image size factor ${image_size_factor}" />
28 </outputs>
29 <tests>
30 <test>
31 <param name="target_image" value="dotblot.jpg" />
32 <param name="source_image" value="blobs.gif" />
33 <param name="input_elastic_transformation" value="source_elastic_transformation.txt" />
34 <param name="image_size_factor" value="2.0" />
35 <output name="output" file="adapted_transformation.txt" ftype="txt" />
36 </test>
37 </tests>
38 <help>
39 **What it does**
40
41 <![CDATA[
42 Transforms the coefficients of an elastic transformation according to a real image
43 factor. This is useful, for example, for very large images, where sub-sampled versions
44 of the image (e.g., 4 times smaller) can be registered with the resulting transformations
45 adapted to the smaller image size (image factor = 4) so they can be applied to the high
46 resolution images.
47
48 ]]>
49
50 </help>
51 <expand macro="bunwarpj_citations" />
52 </tool>