comparison colocalization_viz.py @ 2:c73332d5c3bb draft

"planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/colocalization_viz/ commit 3d389fdec0db29cf6fbd783c0501455bf624fa90"
author imgteam
date Wed, 18 Dec 2019 05:01:42 -0500
parents fc85eb253163
children 0f8652663a03
comparison
equal deleted inserted replaced
1:fc85eb253163 2:c73332d5c3bb
5 import numpy as np 5 import numpy as np
6 import argparse 6 import argparse
7 import sys 7 import sys
8 8
9 9
10 # TODO make importable by python script 10 # TODO make importable by python script
11 def readImg(path): 11 def readImg(path):
12 img = skimage.io.imread(path) 12 img = skimage.io.imread(path)
13 13
14 if len(img.shape) > 2: 14 if len(img.shape) > 2:
15 img = skimage.color.rgb2gray(img) 15 img = skimage.color.rgb2gray(img)