On Sun, 2017-02-26 at 21:12 -0800, Khurram Shahzad wrote:
> I have configured Orthanc on Ubuntu. We have configured our Konica
> Minolta CR to send X-ray images to Orthanc. The images are received
> but they are gray scale inverted i.e. The background is WHITE and
> the object is BLACK. The vendor says that the problem is inside
> Orthanc. To confirm this, the vendor installed K-PACs on his laptop
> and connected Konica Minolta CR to K-PACS. The image received on K-
> PACS is normal i.e. Background is BLACK and object is WHITE.
>
> Can anyone please guide me how to investigate/resolve this issue.
AFAIK Orthanc does not perform any kind of image manipulation. Can you
test with another viewer, like the Orthanc Web Viewer plugin[1]?
If the image is indeed stored incorrectly, you may try the following:
- Use GDCM to create a quick server to receive data and store it in a
file. Open the file with any viewer to check. Excluding Orthanc from
the equation this way would simplify debugging.
- Analyze the DICOM association (either using GDCM or a tool like
Wireshark with its DICOM dissector). Compare with the connections to K-
PACS. Something may induce the Konica Minolta CR to send the data in a
different format or with different metadata that will have viewers
interpret it differently.
HTH,
[1]
http://orthanc-server.com/static.php?page=web-viewer
--
Thibault Nélis <
t...@osimis.io>
Osimis