IO operations for Testing

Sample IO functions, used for testing in-repo

source

read_multichan_files

Read individual channel tensor files into a tensor of channels


source

read_chn_file

 read_chn_file (path:str)

Read single channel file into tensor

To keep the io in one file, we use the following to read label masks for segmentation.


source

read_mask_file

 read_mask_file (path:str)

Read ground truth segmentation label files with values from 0 to n.

File and directory names


source

get_channel_filenames

 get_channel_filenames (chn_ids, tile_idx)

Get list of all channel filenames for one tile idx