Open jgcarrasco opened 3 weeks ago
I noticed that some segments return grayscale inklabels (i.e. of shape (height x width)) whereas other return RGB images (e.g. (height, width, 3)). For example:
(height x width)
(height, width, 3)
volume_1 = Volume(20230827161847, normalize=True, cache=True) volume_2 = Volume(20231210121321, normalize=True, cache=True) print(volume_1.inklabel.shape, volume_2.inklabel.shape) # ((9216, 5120), (15872, 12544, 3))
I think that this is not a problem of the library itself, but of the format of the inklabels stored in https://dl.ash2txt.org/other/dev/scrolls/1/segments/54keV_7.91um/. Reuploading the inklabels in the same format should fix the issue.
I noticed that some segments return grayscale inklabels (i.e. of shape
(height x width)
) whereas other return RGB images (e.g.(height, width, 3)
). For example:I think that this is not a problem of the library itself, but of the format of the inklabels stored in https://dl.ash2txt.org/other/dev/scrolls/1/segments/54keV_7.91um/. Reuploading the inklabels in the same format should fix the issue.