comparison colocalization_viz.py @ 2:808111e56957 draft

"planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/colocalization_viz/ commit 3d389fdec0db29cf6fbd783c0501455bf624fa90"
author imgteam
date Wed, 18 Dec 2019 09:57:02 +0000
parents 9d740d639013
children 9ccf11c11d85
comparison
equal deleted inserted replaced
1:9d740d639013 2:808111e56957
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)