comparison tools/find_edges.xml @ 2:a44112280169

Uploaded
author tomasz-bednarz
date Mon, 25 Nov 2013 21:12:30 -0500
parents
children
comparison
equal deleted inserted replaced
1:795060eb6643 2:a44112280169
1 <tool id="filter_find_edges" name="Filter - Find Edges" version="1.0.2">
2
3 <description>Apply find_edges filter on the image.</description>
4
5 <command interpreter="python" >
6 #if (str($input.ext) == 'jpg'):
7 pil_filter.py $input $output find_edges jpeg
8 #else:
9 pil_filter.py $input $output find_edges ${input.ext}
10 #end if
11 </command>
12
13 <inputs>
14 <param name="input" type="data" format="png,jpg,tif,zip" label="Input image" help="Original RGB or grayscale image." />
15 </inputs>
16
17 <outputs>
18 <data format="input" name="output" metadata_source="input" label="Find edges on ${input.display_name}"/>
19 </outputs>
20
21 <help>
22 Apply an find_edges filter on the image.
23 </help>
24
25 <tests>
26 <test>
27 <param name="input" value="images/sydney.jpg" />
28 <output name="output" file="images/sydney-find-edges.jpg" />
29 </test>
30 </tests>
31
32 </tool>