-
Notifications
You must be signed in to change notification settings - Fork 1
slideExtract
slideExtract
iterates through each input file, extracts thumbnails and macro-images at specified levels, and saves them to the output directory. It uses OpenSlide
for reading slide images and OpenCV
for image processing.
Example usage:
python slideExtract.py --input AE1234.SR.ndpi --levels m,6
Argument(s):
-
-i
,--input
- Input (directory containing files). Try: IMG012.ndpi (or
*.TIF
or/path_to/images/*.ndpi
). Required.
- Input (directory containing files). Try: IMG012.ndpi (or
-
-l
,--levels
- Comma separated list of magnification levels to extract, with
m
as thumbnail and6
as level 6. Try:m,6
. Required.
- Comma separated list of magnification levels to extract, with
Optional argument(s):
-
-o
,--outdir
- Output dir, default is present working directory. Optional.
-
-s
,--suffix
- Suffix to append to end of file, default is
m
for thumbnail and#
for a given level. Optional.
- Suffix to append to end of file, default is
-
-t
,--type
- Output file type, default is png (which is slower), other options are tif. Optional.
-
-f
,--force
- Force output even if it exists. Optional.
-
-v
,--verbose
- While writing images also display image properties. Optional.
-
-h
,--help
- Show this help message and exit. Optional.
Licence. The MIT License (MIT): http://opensource.org/licenses/MIT.
Copyright (c) 2014-2024, Bas G.L. Nelissen & Sander W. van der Laan, UMC Utrecht, Utrecht, the Netherlands.
Introduction
General instructions
slide2Tiles
slideAppend.sh
slideAppendGCT.sh
slideConvert
slideDirectory
slideDupIdentify.py
slideEMask
slideEntropySegmentation.py
slideExtract.py
slideExtractTiles.py
slideInfo
slideInfo.py
slideJobChecker
slideLookup
slideMacro
slideMacro.py
slideMask
slideMoveNewWSI.py
slideNormalize
slideRename
slideRename.py
slideThumb
slideThumb.py
slideQuantify_v1
slideQuantify_v1_1_expresshist_mask.sh
slideQuantify_v1_2_expresshist_tile.sh
slideQuantify_v1_3_tile_normalizing.sh
slideQuantify_v1_4_cellprofiler.sh
slideQuantify_v1_5_wrapup.sh
slideQuantify_v2
slideQuantify_v2_1_entropy_segmentation.sh
slideQuantify_v2_2_extract_tiles.sh
slideQuantify_v2_3_tile_normalizing.sh
slideQuantify_v2_4_cellprofiler.sh
slideQuantify_v2_5_wrapup.sh
slideQuantifyOSX
slideQuantify_cellprofiler.sh
slideQuantify_mask.sh
slideQuantify_normalizing.sh
slideQuantify_tiling.sh
slideQuantify_wrapup.sh
Conda version (default/preferred)
Homebrew version
Rocky 8 Conda version (default/preferred)
Ubuntu 16.04 LTS
Ubuntu 12.04
CentOS7 Conda version with modules
Administrator version