Hi,
I have seen already existing issues on openslide / libdicom and bioformats (openslide/openslide#558 / #80) , but I am not sure how related to this specific issue they are. Plus, the versions of openslide / libdicom I used seem to include those fixes.
What I used:
bfconvert:
./bfconvert -version
Version: 8.3.0
Build date: 5 August 2025
VCS revision: 91a71077ee170e18594f8a367f4752381f9343a3
openslide : https://github.com/jcupitt/openslide/tree/add-dicom-concatenations
libdicom: 1.2.0
I used a WSI from there https://openslide.cs.cmu.edu/download/openslide-testdata/Hamamatsu/
$ ./bfconvert -noflat -precompressed -series 0 CMU-1.ndpi converted.0.dcm
CMU-1.ndpi
NDPIReader initializing CMU-1.ndpi
Reading IFDs
Populating metadata
Populating OME metadata
Implicitly using compression = JPEG
[Hamamatsu NDPI] -> converted.0.dcm [DICOM]
More than 4GB of pixel data, compression will need to be used
Tile size = 2048 x 512
Converted 1/1 planes (100%)
Tile size = 512 x 512
Converted 1/1 planes (100%)
Tile size = 128 x 128
Converted 1/1 planes (100%)
Tile size = 800 x 596
Converted 1/1 planes (100%)
[done]
3.288s elapsed (2.0+703.0ms per plane, 366ms overhead)
$ ls *dcm
converted.0_0_0.dcm converted.0_0_1.dcm converted.0_0_2.dcm converted.0_0_3.dcm
If I try to read the DICOM files with my installed openslide, I get libdicom Invalid parameter: data element not assigned a value - element tag 00280030 has not been assigned a value, whilst the .ndpi opens just fine.
Note that the output DICOM file opens "fine" in orthanc (https://www.orthanc-server.com/). "Fine" as in, I can navigate through the files and I can see the pixel data.
Please tell me if you need me to specify more information regarding this issue (or if this issue rather lays on bioformats side)
Best regards and thank you very much,
Arnaud
Hi,
I have seen already existing issues on
openslide/libdicomandbioformats(openslide/openslide#558 / #80) , but I am not sure how related to this specific issue they are. Plus, the versions ofopenslide/libdicomI used seem to include those fixes.What I used:
bfconvert:openslide: https://github.com/jcupitt/openslide/tree/add-dicom-concatenationslibdicom:1.2.0I used a WSI from there https://openslide.cs.cmu.edu/download/openslide-testdata/Hamamatsu/
If I try to read the DICOM files with my installed openslide, I get
libdicom Invalid parameter: data element not assigned a value - element tag 00280030 has not been assigned a value, whilst the.ndpiopens just fine.Note that the output DICOM file opens "fine" in orthanc (https://www.orthanc-server.com/). "Fine" as in, I can navigate through the files and I can see the pixel data.
Please tell me if you need me to specify more information regarding this issue (or if this issue rather lays on
bioformatsside)Best regards and thank you very much,
Arnaud