annotate imagej2_bunwarpj_adapt_transform.xml @ 4:57ef8325e465 draft default tip

planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/image_processing/imagej2 commit 8ea6a4271431c05c82b09c0d3e629b13e6ea7936
author iuc
date Fri, 22 Jul 2016 23:22:55 -0400
parents 81df7ade70ca
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
213ace68ff50 planemo upload commit 369e40078146d00608d52205bb8cee66ae735b76-dirty
iuc
parents:
diff changeset
1 <?xml version='1.0' encoding='UTF-8'?>
2
81df7ade70ca planemo upload commit 18df9e67efd4adafcde4eb9b62cd815e4afe9733-dirty
iuc
parents: 1
diff changeset
2 <tool id="imagej2_bunwarpj_adapt_transform" name="Adapt an elastic transformation" version="@WRAPPER_VERSION@.0">
0
213ace68ff50 planemo upload commit 369e40078146d00608d52205bb8cee66ae735b76-dirty
iuc
parents:
diff changeset
3 <description>to a new image size with bUnwarpJ</description>
213ace68ff50 planemo upload commit 369e40078146d00608d52205bb8cee66ae735b76-dirty
iuc
parents:
diff changeset
4 <macros>
213ace68ff50 planemo upload commit 369e40078146d00608d52205bb8cee66ae735b76-dirty
iuc
parents:
diff changeset
5 <import>imagej2_macros.xml</import>
213ace68ff50 planemo upload commit 369e40078146d00608d52205bb8cee66ae735b76-dirty
iuc
parents:
diff changeset
6 </macros>
2
81df7ade70ca planemo upload commit 18df9e67efd4adafcde4eb9b62cd815e4afe9733-dirty
iuc
parents: 1
diff changeset
7 <expand macro="fiji_requirements" />
0
213ace68ff50 planemo upload commit 369e40078146d00608d52205bb8cee66ae735b76-dirty
iuc
parents:
diff changeset
8 <command>
213ace68ff50 planemo upload commit 369e40078146d00608d52205bb8cee66ae735b76-dirty
iuc
parents:
diff changeset
9 <![CDATA[
213ace68ff50 planemo upload commit 369e40078146d00608d52205bb8cee66ae735b76-dirty
iuc
parents:
diff changeset
10 python $__tool_directory__/imagej2_bunwarpj_adapt_transform.py
213ace68ff50 planemo upload commit 369e40078146d00608d52205bb8cee66ae735b76-dirty
iuc
parents:
diff changeset
11 --target_image "$target_image"
213ace68ff50 planemo upload commit 369e40078146d00608d52205bb8cee66ae735b76-dirty
iuc
parents:
diff changeset
12 --target_image_format $target_image.ext
213ace68ff50 planemo upload commit 369e40078146d00608d52205bb8cee66ae735b76-dirty
iuc
parents:
diff changeset
13 --source_image "$source_image"
213ace68ff50 planemo upload commit 369e40078146d00608d52205bb8cee66ae735b76-dirty
iuc
parents:
diff changeset
14 --source_image_format $source_image.ext
213ace68ff50 planemo upload commit 369e40078146d00608d52205bb8cee66ae735b76-dirty
iuc
parents:
diff changeset
15 --input_elastic_transformation "$input_elastic_transformation"
213ace68ff50 planemo upload commit 369e40078146d00608d52205bb8cee66ae735b76-dirty
iuc
parents:
diff changeset
16 --image_size_factor $image_size_factor
213ace68ff50 planemo upload commit 369e40078146d00608d52205bb8cee66ae735b76-dirty
iuc
parents:
diff changeset
17 --output "$output"
213ace68ff50 planemo upload commit 369e40078146d00608d52205bb8cee66ae735b76-dirty
iuc
parents:
diff changeset
18 ]]>
213ace68ff50 planemo upload commit 369e40078146d00608d52205bb8cee66ae735b76-dirty
iuc
parents:
diff changeset
19 </command>
213ace68ff50 planemo upload commit 369e40078146d00608d52205bb8cee66ae735b76-dirty
iuc
parents:
diff changeset
20 <inputs>
213ace68ff50 planemo upload commit 369e40078146d00608d52205bb8cee66ae735b76-dirty
iuc
parents:
diff changeset
21 <param format="bmp,eps,gif,jpg,pcx,pgm,png,psd,tiff" name="target_image" type="data" label="Target image"/>
213ace68ff50 planemo upload commit 369e40078146d00608d52205bb8cee66ae735b76-dirty
iuc
parents:
diff changeset
22 <param format="bmp,eps,gif,jpg,pcx,pgm,png,psd,tiff" name="source_image" type="data" label="Source image"/>
213ace68ff50 planemo upload commit 369e40078146d00608d52205bb8cee66ae735b76-dirty
iuc
parents:
diff changeset
23 <param format="txt" name="input_elastic_transformation" type="data" label="Target inverse transformation"/>
213ace68ff50 planemo upload commit 369e40078146d00608d52205bb8cee66ae735b76-dirty
iuc
parents:
diff changeset
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)"/>
213ace68ff50 planemo upload commit 369e40078146d00608d52205bb8cee66ae735b76-dirty
iuc
parents:
diff changeset
25 </inputs>
213ace68ff50 planemo upload commit 369e40078146d00608d52205bb8cee66ae735b76-dirty
iuc
parents:
diff changeset
26 <outputs>
213ace68ff50 planemo upload commit 369e40078146d00608d52205bb8cee66ae735b76-dirty
iuc
parents:
diff changeset
27 <data name="output" format="txt" label="${tool.name} on ${on_string}: Image size factor ${image_size_factor}" />
213ace68ff50 planemo upload commit 369e40078146d00608d52205bb8cee66ae735b76-dirty
iuc
parents:
diff changeset
28 </outputs>
213ace68ff50 planemo upload commit 369e40078146d00608d52205bb8cee66ae735b76-dirty
iuc
parents:
diff changeset
29 <tests>
213ace68ff50 planemo upload commit 369e40078146d00608d52205bb8cee66ae735b76-dirty
iuc
parents:
diff changeset
30 <test>
213ace68ff50 planemo upload commit 369e40078146d00608d52205bb8cee66ae735b76-dirty
iuc
parents:
diff changeset
31 <param name="target_image" value="dotblot.jpg" />
213ace68ff50 planemo upload commit 369e40078146d00608d52205bb8cee66ae735b76-dirty
iuc
parents:
diff changeset
32 <param name="source_image" value="blobs.gif" />
1
6beb1921064d planemo upload commit 98c34e070343a117019ffd25a3af117808159bf5-dirty
iuc
parents: 0
diff changeset
33 <param name="input_elastic_transformation" value="source_elastic_transformation.txt" />
0
213ace68ff50 planemo upload commit 369e40078146d00608d52205bb8cee66ae735b76-dirty
iuc
parents:
diff changeset
34 <param name="image_size_factor" value="2.0" />
1
6beb1921064d planemo upload commit 98c34e070343a117019ffd25a3af117808159bf5-dirty
iuc
parents: 0
diff changeset
35 <output name="output" file="adapted_transformation.txt" ftype="txt" />
0
213ace68ff50 planemo upload commit 369e40078146d00608d52205bb8cee66ae735b76-dirty
iuc
parents:
diff changeset
36 </test>
213ace68ff50 planemo upload commit 369e40078146d00608d52205bb8cee66ae735b76-dirty
iuc
parents:
diff changeset
37 </tests>
213ace68ff50 planemo upload commit 369e40078146d00608d52205bb8cee66ae735b76-dirty
iuc
parents:
diff changeset
38 <help>
213ace68ff50 planemo upload commit 369e40078146d00608d52205bb8cee66ae735b76-dirty
iuc
parents:
diff changeset
39 **What it does**
213ace68ff50 planemo upload commit 369e40078146d00608d52205bb8cee66ae735b76-dirty
iuc
parents:
diff changeset
40
213ace68ff50 planemo upload commit 369e40078146d00608d52205bb8cee66ae735b76-dirty
iuc
parents:
diff changeset
41 <![CDATA[
213ace68ff50 planemo upload commit 369e40078146d00608d52205bb8cee66ae735b76-dirty
iuc
parents:
diff changeset
42 Transforms the coefficients of an elastic transformation according to a real image
213ace68ff50 planemo upload commit 369e40078146d00608d52205bb8cee66ae735b76-dirty
iuc
parents:
diff changeset
43 factor. This is useful, for example, for very large images, where sub-sampled versions
213ace68ff50 planemo upload commit 369e40078146d00608d52205bb8cee66ae735b76-dirty
iuc
parents:
diff changeset
44 of the image (e.g., 4 times smaller) can be registered with the resulting transformations
213ace68ff50 planemo upload commit 369e40078146d00608d52205bb8cee66ae735b76-dirty
iuc
parents:
diff changeset
45 adapted to the smaller image size (image factor = 4) so they can be applied to the high
213ace68ff50 planemo upload commit 369e40078146d00608d52205bb8cee66ae735b76-dirty
iuc
parents:
diff changeset
46 resolution images.
213ace68ff50 planemo upload commit 369e40078146d00608d52205bb8cee66ae735b76-dirty
iuc
parents:
diff changeset
47
213ace68ff50 planemo upload commit 369e40078146d00608d52205bb8cee66ae735b76-dirty
iuc
parents:
diff changeset
48 ]]>
213ace68ff50 planemo upload commit 369e40078146d00608d52205bb8cee66ae735b76-dirty
iuc
parents:
diff changeset
49
213ace68ff50 planemo upload commit 369e40078146d00608d52205bb8cee66ae735b76-dirty
iuc
parents:
diff changeset
50 </help>
213ace68ff50 planemo upload commit 369e40078146d00608d52205bb8cee66ae735b76-dirty
iuc
parents:
diff changeset
51 <expand macro="bunwarpj_citations" />
213ace68ff50 planemo upload commit 369e40078146d00608d52205bb8cee66ae735b76-dirty
iuc
parents:
diff changeset
52 </tool>