Mercurial > repos > imgteam > permutate_axis
comparison permutate_axis.py @ 2:91e255c78eb5 draft
"planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/permutate_axis/ commit 3d389fdec0db29cf6fbd783c0501455bf624fa90"
author | imgteam |
---|---|
date | Wed, 18 Dec 2019 05:02:53 -0500 |
parents | 5b82f2186244 |
children | 7e7215e721af |
comparison
equal
deleted
inserted
replaced
1:5b82f2186244 | 2:91e255c78eb5 |
---|---|
1 import argparse | 1 import argparse |
2 import sys | 2 import sys |
3 import warnings | 3 import warnings |
4 import numpy as np | 4 import numpy as np |
5 import skimage.io | 5 import skimage.io |
6 import skimage.util | 6 import skimage.util |
7 | 7 |
8 def permutate_axis(input_image_path, output_image_path, axis, permutate): | 8 def permutate_axis(input_image_path, output_image_path, axis, permutate): |
9 images = [] | 9 images = [] |
10 raw_image = skimage.io.imread(input_image_path, plugin='tifffile') | 10 raw_image = skimage.io.imread(input_image_path, plugin='tifffile') |
11 for i in permutate: | 11 for i in permutate: |