Mercurial > repos > imgteam > slice_image
annotate slice_image.xml @ 4:a72590196440 draft default tip
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/slice_image/ commit c86a1b93cb7732f7331a981d13465653cc1a2790
author | imgteam |
---|---|
date | Wed, 24 Apr 2024 08:13:20 +0000 |
parents | 1faa7e3c94ff |
children |
rev | line source |
---|---|
4
a72590196440
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/slice_image/ commit c86a1b93cb7732f7331a981d13465653cc1a2790
imgteam
parents:
3
diff
changeset
|
1 <tool id="ip_slice_image" name="Slice image into patches" version="0.3-4" profile="20.05"> |
2
f312d414f234
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/slice_image/ commit 2286a6c9da88596349ed9d967c51541409c0a7bf
imgteam
parents:
1
diff
changeset
|
2 <description></description> |
3
1faa7e3c94ff
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/slice_image/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents:
2
diff
changeset
|
3 <macros> |
1faa7e3c94ff
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/slice_image/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents:
2
diff
changeset
|
4 <import>creators.xml</import> |
1faa7e3c94ff
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/slice_image/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents:
2
diff
changeset
|
5 <import>tests.xml</import> |
1faa7e3c94ff
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/slice_image/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents:
2
diff
changeset
|
6 </macros> |
1faa7e3c94ff
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/slice_image/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents:
2
diff
changeset
|
7 <creator> |
1faa7e3c94ff
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/slice_image/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents:
2
diff
changeset
|
8 <expand macro="creators/bmcv" /> |
1faa7e3c94ff
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/slice_image/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents:
2
diff
changeset
|
9 </creator> |
2
f312d414f234
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/slice_image/ commit 2286a6c9da88596349ed9d967c51541409c0a7bf
imgteam
parents:
1
diff
changeset
|
10 <edam_operations> |
f312d414f234
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/slice_image/ commit 2286a6c9da88596349ed9d967c51541409c0a7bf
imgteam
parents:
1
diff
changeset
|
11 <edam_operation>operation_3443</edam_operation> |
f312d414f234
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/slice_image/ commit 2286a6c9da88596349ed9d967c51541409c0a7bf
imgteam
parents:
1
diff
changeset
|
12 </edam_operations> |
f312d414f234
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/slice_image/ commit 2286a6c9da88596349ed9d967c51541409c0a7bf
imgteam
parents:
1
diff
changeset
|
13 <xrefs> |
f312d414f234
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/slice_image/ commit 2286a6c9da88596349ed9d967c51541409c0a7bf
imgteam
parents:
1
diff
changeset
|
14 <xref type="bio.tools">galaxy_image_analysis</xref> |
f312d414f234
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/slice_image/ commit 2286a6c9da88596349ed9d967c51541409c0a7bf
imgteam
parents:
1
diff
changeset
|
15 </xrefs> |
0
aacfbd7c4af6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/slice_image/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
16 <requirements> |
4
a72590196440
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/slice_image/ commit c86a1b93cb7732f7331a981d13465653cc1a2790
imgteam
parents:
3
diff
changeset
|
17 <requirement type="package" version="0.18.1">scikit-image</requirement> |
a72590196440
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/slice_image/ commit c86a1b93cb7732f7331a981d13465653cc1a2790
imgteam
parents:
3
diff
changeset
|
18 <requirement type="package" version="1.23.3">numpy</requirement> |
a72590196440
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/slice_image/ commit c86a1b93cb7732f7331a981d13465653cc1a2790
imgteam
parents:
3
diff
changeset
|
19 <requirement type="package" version="1.13.0">scipy</requirement> |
a72590196440
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/slice_image/ commit c86a1b93cb7732f7331a981d13465653cc1a2790
imgteam
parents:
3
diff
changeset
|
20 <requirement type="package" version="2020.10.1">tifffile</requirement> |
a72590196440
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/slice_image/ commit c86a1b93cb7732f7331a981d13465653cc1a2790
imgteam
parents:
3
diff
changeset
|
21 <requirement type="package" version="0.1">giatools</requirement> |
0
aacfbd7c4af6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/slice_image/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
22 </requirements> |
3
1faa7e3c94ff
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/slice_image/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents:
2
diff
changeset
|
23 <command detect_errors="aggressive"><![CDATA[ |
1faa7e3c94ff
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/slice_image/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents:
2
diff
changeset
|
24 |
0
aacfbd7c4af6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/slice_image/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
25 mkdir ./out && |
3
1faa7e3c94ff
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/slice_image/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents:
2
diff
changeset
|
26 |
0
aacfbd7c4af6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/slice_image/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
27 python '$__tool_directory__/slice_image.py' |
aacfbd7c4af6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/slice_image/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
28 '$input_file' ./out |
3
1faa7e3c94ff
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/slice_image/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents:
2
diff
changeset
|
29 |
1faa7e3c94ff
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/slice_image/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents:
2
diff
changeset
|
30 --stride '$stride' |
1faa7e3c94ff
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/slice_image/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents:
2
diff
changeset
|
31 --window_size '$patch_size' |
1faa7e3c94ff
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/slice_image/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents:
2
diff
changeset
|
32 --bg_thresh '$bg_thresh' |
1faa7e3c94ff
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/slice_image/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents:
2
diff
changeset
|
33 |
1faa7e3c94ff
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/slice_image/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents:
2
diff
changeset
|
34 #if $n_thresh > 0: |
1faa7e3c94ff
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/slice_image/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents:
2
diff
changeset
|
35 --n_thresh '$n_thresh' |
0
aacfbd7c4af6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/slice_image/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
36 #end if |
3
1faa7e3c94ff
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/slice_image/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents:
2
diff
changeset
|
37 |
1faa7e3c94ff
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/slice_image/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents:
2
diff
changeset
|
38 #if len('$seed') > 0: |
1faa7e3c94ff
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/slice_image/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents:
2
diff
changeset
|
39 --seed '$seed' |
0
aacfbd7c4af6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/slice_image/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
40 #end if |
3
1faa7e3c94ff
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/slice_image/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents:
2
diff
changeset
|
41 |
0
aacfbd7c4af6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/slice_image/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
42 && ls -l ./out |
3
1faa7e3c94ff
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/slice_image/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents:
2
diff
changeset
|
43 |
1faa7e3c94ff
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/slice_image/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents:
2
diff
changeset
|
44 ]]></command> |
0
aacfbd7c4af6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/slice_image/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
45 <inputs> |
3
1faa7e3c94ff
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/slice_image/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents:
2
diff
changeset
|
46 <param name="input_file" type="data" format="tiff,png" label="Input image"/> |
1faa7e3c94ff
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/slice_image/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents:
2
diff
changeset
|
47 <param name="stride" type="integer" optional="true" value="16" min="1" label="Stride" help="Minimum offset between any two patches in pixels."/> |
1faa7e3c94ff
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/slice_image/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents:
2
diff
changeset
|
48 <param name="patch_size" type="integer" optional="true" value="64" label="Patch size" help="Width of the patches in pixels (the height is identical)."/> |
1faa7e3c94ff
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/slice_image/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents:
2
diff
changeset
|
49 <param name="bg_thresh" type="float" optional="true" value="0" min="0" label="Maximum patch homogeneity" help="If larger than 0, patches with a homogeneity above this threshold will be considered as purely background and discarded."/> |
1faa7e3c94ff
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/slice_image/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents:
2
diff
changeset
|
50 <param name="n_thresh" type="integer" optional="true" label="Maximum number of patches" value="0" min="0" help="If larger than 0, only the specified number of patches will be retained (or less). Those will be selected randomly."/> |
1faa7e3c94ff
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/slice_image/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents:
2
diff
changeset
|
51 <param name="seed" type="hidden" value=""/> |
0
aacfbd7c4af6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/slice_image/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
52 </inputs> |
aacfbd7c4af6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/slice_image/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
53 <outputs> |
aacfbd7c4af6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/slice_image/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
54 <collection name="slices" type="list" label="Slices obtained from input"> |
aacfbd7c4af6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/slice_image/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
55 <discover_datasets directory="out" format="tiff" pattern="__name__"/> |
aacfbd7c4af6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/slice_image/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
56 </collection> |
aacfbd7c4af6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/slice_image/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
57 </outputs> |
aacfbd7c4af6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/slice_image/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
58 <tests> |
3
1faa7e3c94ff
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/slice_image/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents:
2
diff
changeset
|
59 <!-- Tests for TIFF input --> |
0
aacfbd7c4af6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/slice_image/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
60 <test> |
aacfbd7c4af6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/slice_image/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
61 <param name="input_file" value="input.tiff"/> |
aacfbd7c4af6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/slice_image/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
62 <param name="n_thresh" value="5"/> |
aacfbd7c4af6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/slice_image/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
63 <param name="seed" value="17"/> |
aacfbd7c4af6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/slice_image/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
64 <output_collection name="slices" type="list"> |
3
1faa7e3c94ff
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/slice_image/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents:
2
diff
changeset
|
65 <expand macro="tests/intensity_image_diff/element" name="148.tiff" value="input_148.tiff" ftype="tiff"/> |
1faa7e3c94ff
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/slice_image/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents:
2
diff
changeset
|
66 <expand macro="tests/intensity_image_diff/element" name="155.tiff" value="input_155.tiff" ftype="tiff"/> |
1faa7e3c94ff
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/slice_image/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents:
2
diff
changeset
|
67 <expand macro="tests/intensity_image_diff/element" name="187.tiff" value="input_187.tiff" ftype="tiff"/> |
1faa7e3c94ff
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/slice_image/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents:
2
diff
changeset
|
68 <expand macro="tests/intensity_image_diff/element" name="212.tiff" value="input_212.tiff" ftype="tiff"/> |
1faa7e3c94ff
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/slice_image/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents:
2
diff
changeset
|
69 <expand macro="tests/intensity_image_diff/element" name="267.tiff" value="input_267.tiff" ftype="tiff"/> |
0
aacfbd7c4af6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/slice_image/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
70 </output_collection> |
aacfbd7c4af6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/slice_image/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
71 </test> |
3
1faa7e3c94ff
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/slice_image/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents:
2
diff
changeset
|
72 <!-- TODO: Add tests for PNG input --> |
0
aacfbd7c4af6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/slice_image/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
73 </tests> |
aacfbd7c4af6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/slice_image/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
74 <help> |
3
1faa7e3c94ff
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/slice_image/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents:
2
diff
changeset
|
75 |
1faa7e3c94ff
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/slice_image/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents:
2
diff
changeset
|
76 **Slices an image into multiple smaller, square-shaped patches.** |
1faa7e3c94ff
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/slice_image/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents:
2
diff
changeset
|
77 |
1faa7e3c94ff
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/slice_image/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents:
2
diff
changeset
|
78 For overlapping patches, set the stride to a value smaller than the patch size. |
1faa7e3c94ff
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/slice_image/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents:
2
diff
changeset
|
79 For non-overlapping patches, set the stride to a value identical to the patch size (or larger). |
1faa7e3c94ff
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/slice_image/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents:
2
diff
changeset
|
80 If the stride is set to a value larger than the patch size, parts of the original image will be skipped. |
0
aacfbd7c4af6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/slice_image/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
81 |
3
1faa7e3c94ff
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/slice_image/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents:
2
diff
changeset
|
82 Optionally, patches entirely corresponding to image background are discarded. |
1faa7e3c94ff
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/slice_image/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents:
2
diff
changeset
|
83 To decide whether a patch corresponds to image background, the `homogeneity`_ of its `gray-level co-occurrence matrix`_ is considered. |
1faa7e3c94ff
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/slice_image/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents:
2
diff
changeset
|
84 |
1faa7e3c94ff
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/slice_image/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents:
2
diff
changeset
|
85 .. _homogeneity: https://scikit-image.org/docs/stable/api/skimage.feature.html#skimage.feature.graycoprops |
1faa7e3c94ff
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/slice_image/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents:
2
diff
changeset
|
86 .. _gray-level co-occurrence matrix: https://scikit-image.org/docs/stable/api/skimage.feature.html#skimage.feature.graycomatrix |
1faa7e3c94ff
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/slice_image/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents:
2
diff
changeset
|
87 |
1faa7e3c94ff
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/slice_image/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents:
2
diff
changeset
|
88 In addition, the number of the remaining patches can be reduced by specifying a maximum number of patches to retain. |
1faa7e3c94ff
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/slice_image/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents:
2
diff
changeset
|
89 Those will be selected randomly. |
1faa7e3c94ff
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/slice_image/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
imgteam
parents:
2
diff
changeset
|
90 |
0
aacfbd7c4af6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/slice_image/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
91 </help> |
aacfbd7c4af6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/slice_image/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
92 <citations> |
aacfbd7c4af6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/slice_image/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
93 <citation type="doi">10.1016/j.jbiotec.2017.07.019</citation> |
aacfbd7c4af6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/slice_image/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
94 </citations> |
aacfbd7c4af6
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/slice_image/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
imgteam
parents:
diff
changeset
|
95 </tool> |