I'm using openslide-python to read whole slide images in the Mirax format (mrxs). Now I'd like to replace the "label" barcode image with a custom one. Unfortunately,
f.associated_images["label"] = label_new
raises
TypeError: '_AssociatedImageMap' object does not support item assignment
I found that the "label" reference is stored in the image-associated slidedat.ini file
NONHIER_0_VAL_3 = ScanDataLayer_SlideBarcode
But I am not sure what to do with this information.
Any help would be appreciated!
Mario