Reads an inForm `binary_seg_maps.tif`` file and returns a named list of images. The names reflect the content of the individual images. Possible names are Nucleus, Cytoplasm, Membrane, Object, TissueClassMap, and ProcessRegionImage; not every image file will include all names.
Path to the map file or a cell seg data file in the same directory.
A named list of images, one for each map in the source file.
Images are oriented to match the coordinates in a cell seg data file, i.e. (0, 0) at the top left and the row corresponding to Y and column corresponding to X.
path <- system.file("extdata", "sample", "Set4_1-6plex_[16142,55840]_binary_seg_maps.tif", package = "phenoptr") maps <- read_maps(path) names(maps)#>  "Nucleus" "Cytoplasm" "Membrane" "Tissue"