Mercurial > repos > thomaswollmann > color_deconvolution
comparison color_deconvolution.py @ 5:b1a42e192603 draft default tip
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/color-deconvolution commit 2fb27eb5a3e94840e5e357e2ace6f220e2f2a0aa
| author | thomaswollmann |
|---|---|
| date | Wed, 01 Mar 2017 11:27:59 -0500 |
| parents | 3b2341714506 |
| children |
comparison
equal
deleted
inserted
replaced
| 4:a35141611262 | 5:b1a42e192603 |
|---|---|
| 82 res[res>1]=1 | 82 res[res>1]=1 |
| 83 | 83 |
| 84 with warnings.catch_warnings(): | 84 with warnings.catch_warnings(): |
| 85 warnings.simplefilter("ignore") | 85 warnings.simplefilter("ignore") |
| 86 res = skimage.util.img_as_uint(res) #Attention: precision loss | 86 res = skimage.util.img_as_uint(res) #Attention: precision loss |
| 87 skimage.io.imsave(args.out_file.name, res, plugin='tifffile') | 87 skimage.io.imsave(args.out_file.name, res, plugin='tifffile') |
