CODA: shorthand for calling functions | HuBMAP | JHU-TMC
Kyu Sang Han, Pei-Hsun Wu, Sashank Reddy, Denis Wirtz, Joel Sunshine, Ashley Kiemen
Abstract
To downsample ndpi or svs images to 10x, 5x, and 1x tifs, use this function:
create_downsampled_tif_images
or try Openslide in python
To calculate registration on the low resolution (1x) images
- calculate the tissue area and background pixels using this function:
calculate_tissue_ws
-
calculate the registration transforms:
calculate_image_registration
To build a 3D tissue volume using sematic segmentation:
-
generate manual annotations in Aperio imagescope
-
apply the deep learning function to train a model and segment the high resolution (5x or 10x) images:
train_image_segmentation
To apply the registration to segmented images:
apply_image_registration
To build a 3D tissue matrix from registered, classified images:
build_tissue_volume
To build a 3D cell volume containing nuclear coordinates:
- Build a mosaic image containing regions of many whole-slide images for cell detection optimization:
make_cell_detection_mosaic
- Manually annotate the mosaic image to get the ‘ground-truth’ number of cell nuclei:
manual_cell_count
- Determine cell detection parameters using the manual annotations on the mosaic image:
get_nuclear_detection_parameters
- Deconvolve the high-resolution (5x or 10x) H&E images before applying the cell detection algorithm:
deconvolve_histological_images
- Detect cells on the hematoxylin channel of the high-resolution images:
cell_detection
- Apply the registration to the cell coordinates:
register_cell_coordinates
- Build a 3D cell coordinate matrix corresponding to the 3D tissue matrix:
build_cell_volume
Steps
shorthand in the abstract
Use the above shorthand to facilitate your workflow by using it as a "cheat sheet"