MSIght.refactor_histology_preprocess
Created on Fri Nov 15 17:08:52 2024
@author: lafields2
Functions
|
Binarizes the red channel of an H&E image using a specified threshold. |
|
Extracts the foreground (tissue region) from an H&E image using a binary mask. |
|
Creates a foreground mask by isolating tissue regions from an H&E image using HSV color thresholding. |
|
Loads an H&E image from the specified file path. |
|
Preprocesses an H&E image by extracting the tissue region, binarizing, and smoothing it. |
|
Extracts the red channel from the foreground image. |
|
Applies Gaussian smoothing to a binarized H&E image. |