diff concat_channels.py @ 4:2592a29a785e draft default tip

planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit c86a1b93cb7732f7331a981d13465653cc1a2790
author imgteam
date Wed, 24 Apr 2024 08:12:22 +0000
parents 4c43875c790c
children
line wrap: on
line diff
--- a/concat_channels.py	Thu Apr 04 15:25:29 2024 +0000
+++ b/concat_channels.py	Wed Apr 24 08:12:22 2024 +0000
@@ -1,5 +1,6 @@
 import argparse
 
+import giatools.io
 import numpy as np
 import skimage.io
 import skimage.util
@@ -9,7 +10,7 @@
     images = []
     for image_path in input_image_paths:
 
-        raw_image = skimage.io.imread(image_path)
+        raw_image = giatools.io.imread(image_path)
         if len(raw_image.shape) == 2:
             if axis == 0:
                 raw_image = [raw_image]