我正在使用 openslide-python 读取 Mirax 格式 (mrxs) 的整个幻灯片图像。现在我想用自定义的替换“标签”条形码图像。很遗憾,
f.associated_images["label"] = label_new
提高
TypeError: '_AssociatedImageMap' object does not support item assignment
我发现“标签”引用存储在与图像相关的 slidedat.ini 文件中
NONHIER_0_VAL_3 = ScanDataLayer_SlideBarcode
但我不确定如何处理这些信息。
任何帮助,将不胜感激!
马里奥