Skip to content

slideInfo

Sander W. van der Laan edited this page Jan 8, 2024 · 4 revisions

slideInfo retrieves whole-slide image information from a list of given images, allowing for quick inspection. It utilizes ImageMagick (bash-version) or the OpenSlide library (python-version) to extract properties and associated images, providing details such as dimensions, objective power, available levels, and more.

Two versions are available:

  • This is a bash implementation.
  • This is a python3 implementation which is much faster than the bash version.

Bash version

This bash implementation uses ImageMagick and is dependent on the following commands, programs:

  • identify (ImageMagick)
  • tiffinfo (libtiff)
  • openslide-show-properties
  • perl, awk and file

Example usage:

./slideInfo -f <filename> [--ignore-dependencies] [--help] [--version]

  • -f, --file
    • Specifies the virtual slide file to fetch metadata from.
  • --ignore-dependencies
    • Ignores missing dependencies and continues with a warning.
  • --help
    • Displays the help message.
  • --version
    • Displays version and license information.

Python version

Example usage:

python slideInfo.py --input AE1234.SR.ndpi --levels m,6

Argument(s):

  • -i, --input
    • Specifies the input, which can be either a single image file, a directory containing files, or a wildcard pattern (e.g., *.ndpi). Required.

Optional argument(s):

  • -v, --verbose
    • Enables detailed information, displaying all available image properties. Optional.
  • -h, --help
    • Show this help message and exit. Optional.

Overview

Welcome to slideToolKit

Manual

Introduction
General instructions

slideToolKit scripts

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
slideNormalize
slideRename
slideRename.py
slideThumb
slideThumb.py

slideQuantify v1

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
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

slideQuantifyOSX
slideQuantify_cellprofiler.sh
slideQuantify_mask.sh
slideQuantify_normalizing.sh
slideQuantify_tiling.sh
slideQuantify_wrapup.sh

Other scripts

slideToolKitTest.py

Installation

macOSX

Conda version (default/preferred)
Homebrew version

Linux

Rocky 8 Conda version (default/preferred)

Legacy

Ubuntu 16.04 LTS
Ubuntu 12.04 CentOS7 Conda version with modules
Administrator version

Conda vs brew

Clone this wiki locally