Search found 347 matches

by martinrame
Fri, 2023-06-09, 14:36
Forum: DCMTK - General
Topic: dcmcjpeg: Unable to change Planar Configuration Error
Replies: 8
Views: 6675

Re: dcmcjpeg: Unable to change Planar Configuration Error

Fixed by adding SamplesPerPixel=1.
by martinrame
Fri, 2023-06-09, 13:18
Forum: DCMTK - General
Topic: dcmcjpeg: Unable to change Planar Configuration Error
Replies: 8
Views: 6675

Re: dcmcjpeg: Unable to change Planar Configuration Error

BTW, dcmj2pnm is able to convert the image to jpg and I can view it correctly.

Hopefully I could modify the source file until I can display it in Weasis or Cornerstone.
by martinrame
Fri, 2023-06-09, 13:14
Forum: DCMTK - General
Topic: dcmcjpeg: Unable to change Planar Configuration Error
Replies: 8
Views: 6675

Re: dcmcjpeg: Unable to change Planar Configuration Error

Thanks, I removed SamplesPerPixel, but the viewer (Weasis) is still rejecting the image.

The equipment is new, but it uses a software to convert images to Dicom that maybe is old. I'm trying to contact the manufacturer, without too much expectations...
by martinrame
Fri, 2023-06-09, 12:32
Forum: DCMTK - General
Topic: dcmcjpeg: Unable to change Planar Configuration Error
Replies: 8
Views: 6675

Re: dcmcjpeg: Unable to change Planar Configuration Error

Thanks Michael, this is the result of dciodvfy: Error - PixelData has incorrect value length - expected 17020800 dec - got 8510400 dec Warning - Missing attribute or value that would be needed to build DICOMDIR - Study Time Warning - Missing attribute or value that would be needed to build DICOMDIR ...
by martinrame
Thu, 2023-06-08, 19:27
Forum: DCMTK - General
Topic: dcmcjpeg: Unable to change Planar Configuration Error
Replies: 8
Views: 6675

dcmcjpeg: Unable to change Planar Configuration Error

Hi, a new equipment is sending images that I cannot convert to Jpeg Lossless. With dcmcjpeg I get this error: E: True lossless encoder: Unable to change Planar Configuration from 'by plane' to 'by pixel' for encoding It looks like the equipment is generating "non standard" images. Is there...
by martinrame
Fri, 2023-02-03, 17:38
Forum: DCMTK - General
Topic: 0xa900: Error: Refused - Data Set does not match SOP Class
Replies: 11
Views: 7316

Re: 0xa900: Error: Refused - Data Set does not match SOP Class

I think I found the solution. K-PACS has two C-STORE modes, one using the internal method (the default) and one using DCMTKś In file k-pacs.ini, there's this parameter: UseDCMTKStore=0 If you change it to this: UseDCMTKStore=1 The C-STORE uses dcmtk instead of the internal, and everything starts to ...
by martinrame
Fri, 2023-02-03, 11:49
Forum: DCMTK - General
Topic: 0xa900: Error: Refused - Data Set does not match SOP Class
Replies: 11
Views: 7316

Re: 0xa900: Error: Refused - Data Set does not match SOP Class

Sorry, here is the complete frame, from 13:18:30 to 13:18:33. It looks like the issue happens when more than one Secondary Capture image is sent in the same association. In this association there is a Message ID: 3 that's received ok, but Message ID: 5, 7 and 9 are wrong. 2023-02-02 13:18:30.429 DEB...
by martinrame
Thu, 2023-02-02, 16:19
Forum: DCMTK - General
Topic: 0xa900: Error: Refused - Data Set does not match SOP Class
Replies: 11
Views: 7316

Re: 0xa900: Error: Refused - Data Set does not match SOP Class

Ok, please take a look: 2023-02-02 13:27:22.268 DEBUG - dcmnet - setting network send timeout to 60 seconds 2023-02-02 13:27:22.268 DEBUG - dcmnet - setting network receive timeout to 60 seconds 2023-02-02 13:27:22.270 DEBUG - dcmnet - PDU Type: Associate Request, PDU Length: 262 + 6 bytes PDU heade...
by martinrame
Thu, 2023-02-02, 15:31
Forum: DCMTK - General
Topic: 0xa900: Error: Refused - Data Set does not match SOP Class
Replies: 11
Views: 7316

Re: 0xa900: Error: Refused - Data Set does not match SOP Class

Let me write here what the server is receiving: 2023-02-02 13:18:59.629 INFO - dcmqrdb - ===================== INCOMING DIMSE MESSAGE ==================== 2023-02-02 13:18:59.629 INFO - dcmqrdb - Message Type : C-STORE RQ 2023-02-02 13:18:59.629 INFO - dcmqrdb - Message ID : 99 2023-02-02 13:18:59.6...
by martinrame
Thu, 2023-02-02, 15:11
Forum: DCMTK - General
Topic: 0xa900: Error: Refused - Data Set does not match SOP Class
Replies: 11
Views: 7316

0xa900: Error: Refused - Data Set does not match SOP Class

Hi, in dcmqrscp I'm getting the error "0xa900: Error: Refused - Data Set does not match SOP Class" when sending some MPR images generated by a Toshiba CT scanner. Firstly the images were sent to K-PACS (it receives ok), then to dcmqrscp. Here is the dicom header: (Group,Element) TAG Descri...
by martinrame
Wed, 2022-10-26, 19:17
Forum: DCMTK - General
Topic: Carestream Trophy Panoramic images too bright
Replies: 4
Views: 2006

Re: Carestream Trophy Panoramic images too bright

J. Riesmeier wrote: Mon, 2022-10-24, 19:57 Could you make a DICOM sample file available for download?
Yes: http://45.63.8.72/downloads/carestream1.dcm
by martinrame
Fri, 2022-10-21, 12:15
Forum: DCMTK - General
Topic: Carestream Trophy Panoramic images too bright
Replies: 4
Views: 2006

Carestream Trophy Panoramic images too bright

Hi, I found Panoramic images generated by Kodak/Carestream Trophy are displayed too bright (you can see an example here: https://github.com/nroduit/Weasis/discussions/335). I checked agains dcmtk's dcmj2pnm, Weasis and CornerstoneJs based viewes and all shows the same behavior. The only one that sho...
by martinrame
Thu, 2022-01-06, 15:58
Forum: DCMPRINT
Topic: tcpprt printing to Carestream DryView 5950
Replies: 1
Views: 8164

[SOLVED] Re: tcpprt printing to Carestream DryView 5950

Now it works. The printer had to be configured (via a Web Page that only runs on Internet Explorer 6), and adding a setting for the calling AETitle, where there the field engineer defines to which bin/film size pages sent by that client should be printed.
by martinrame
Wed, 2022-01-05, 20:54
Forum: DCMPRINT
Topic: tcpprt printing to Carestream DryView 5950
Replies: 1
Views: 8164

tcpprt printing to Carestream DryView 5950

Hi, I'm trying to print to a Carestream DryView 5950 using tcpprt. From the client side everything looks correct (see the next output), but the printer, in its display shows an error that looks like an incorrect film size. First B 20 and then B 25 and a three sheets of paper icon indicating the prin...
by martinrame
Wed, 2021-08-11, 18:55
Forum: DCMTK - General
Topic: Building without libwrap on FreeBSD
Replies: 5
Views: 2988

Re: Building without libwrap on FreeBSD

Well, with this awful fix it compiled, now let's see if it works. 344 static OFString getLocaleEncoding() 345 { 346 #ifdef WITH_LIBICONV 347 // basically, the function below should always return a non-empty string 348 // but older versions of libiconv might return NULL in certain cases 349 //return ...