Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Whole-slide Image Converted By Orthanc gives issue When Display in Viewer #31

Closed
Malik-Adil opened this issue Jun 26, 2019 · 4 comments
Closed
Assignees
Labels
help wanted Extra attention is needed

Comments

@Malik-Adil
Copy link

Whole-slide Image Converted By Orthanc gives issue When Display in Viewer.

Screenshot from 2019-06-26 13-53-37

I am converting .tiff image to dicom using Orthanc Dicomizer. with the command having a dataset.

./OrthancWSIDicomizer Source.tif --dataset=dataset.json

My dataset.json are

`{
"PatientID": "C123456789",
"PatientName": "SOME^PATIENT",
"PatientBirthDate": "19700101",
"PatientSex": "M",
"StudyID": "NONE",
"SeriesNumber": "1",
"ReferringPhysicianName": "SOME^PHYSICIAN",
"AccessionNumber": "123456789",
"Manufacturer": "MyManufacturer",
"ManufacturerModelName": "MyModel",
"DeviceSerialNumber": "MySerialNumber",
"SoftwareVersions": "MyVersion",
"ImageType": "DERIVED\PRIMARY\VOLUME\NONE",
"FocusMethod": "AUTO",
"ExtendedDepthOfField": "NO",
"AcquisitionContextSequence": [],
"AcquisitionDuration": "100",
"ContainerIdentifier": "CI_12345",
"IssuerOfTheContainerIdentifierSequence": [],
"ContainerTypeCodeSequence": [],
"IssuerOfTheContainerIdentifierSequence": [],

"FrameOfReferenceUID": "",
"DerivationDescription": "Derived from a lossy compressed image in NDPi format (JPEG baseline, quality factor 80%, compression ratio 9.7:1)",
"SpecimenDescriptionSequence": [
{
"SpecimenIdentifier": "Specimen^Identifier",
"SpecimenUID": "1.2.276.0.7230010.3.1.4.3252829876.4112.1426166133.871",
"IssuerOfTheSpecimenIdentifierSequence": [],
"SpecimenPreparationSequence": []
}
],
"SpecimenLabelInImage": "NO",
"BurnedInAnnotation": "NO"
}
`

@swederik
Copy link
Contributor

Also posted here: OHIF/Viewers#589

@mrcolo
Copy link

mrcolo commented Aug 6, 2020

Would appreciate some help on this issue.

@hackermd
Copy link
Collaborator

@Malik-Adil According to your comment at OHIF/Viewers#589, it seems that the pixel spacing of (one of) the images is incorrect and the problem seems to be an issue of the conversion software rather than the viewer.
However, we may want to add a few checks and log a meaningful error message.

@hackermd hackermd added the help wanted Extra attention is needed label Aug 16, 2020
@hackermd hackermd self-assigned this Aug 16, 2020
@hackermd
Copy link
Collaborator

@Malik-Adil After giving it some further thought, I would be fine with using baseTotalPixelMatrixColumns / totalPixelMatrixColumns instead of pixelSpacing[0] / basePixelSpacing[0]. It's probably better to define the "resolution" using pixel rather than millimeter unit. @swederik do you have any concerns?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

4 participants