Search found 2054 matches

by Michael Onken
Thu, 2023-07-27, 15:31
Forum: DCMTK - General
Topic: Download the MR image from a PACS server and save it in jpeg format.
Replies: 22
Views: 39334

Re: Download the MR image from a PACS server and save it in jpeg format.

P.S: And remove all but the following attributes from the C-GET request: D: (0008,0052) CS [STUDY] # 6, 1 QueryRetrieveLevel D: (0020,000d) UI [1.2.840.113663.1500.1.313721677.1.1.20140708.145420.781] # 56, 1 StudyInstanceUID I removed: D: (0008,0050) SH (no value available) # 0, 0 AccessionNumber D...
by Michael Onken
Thu, 2023-07-27, 15:29
Forum: DCMTK - General
Topic: Download the MR image from a PACS server and save it in jpeg format.
Replies: 22
Views: 39334

Re: Download the MR image from a PACS server and save it in jpeg format.

You must also propose various Storage SOP Classes to the server which the server can use on the connection to send you the images. Look into getscu.cc how it's done there.

BR Michael
by Michael Onken
Thu, 2023-07-27, 11:07
Forum: DCMTK - General
Topic: movescu
Replies: 3
Views: 8785

Re: movescu

Great! And greetings back to Löningen/Berlin :)

BR,
Michael
by Michael Onken
Thu, 2023-07-27, 11:06
Forum: DCMTK - General
Topic: Download the MR image from a PACS server and save it in jpeg format.
Replies: 22
Views: 39334

Re: Download the MR image from a PACS server and save it in jpeg format.

Correct, you will receive the images on the same connection that is used to deliver the C-GET.

BR,
Michael
by Michael Onken
Wed, 2023-07-26, 13:25
Forum: DCMTK - General
Topic: dcmsend
Replies: 3
Views: 8728

Re: dcmsend

Hi,

please paste the full log of the dcmsend call. Add option --debug to show all relevant info.

BR,
Michael
by Michael Onken
Wed, 2023-07-26, 10:02
Forum: DCMTK - General
Topic: FINDSCU INFORMATION MODELS
Replies: 19
Views: 47002

Re: FINDSCU INFORMATION MODELS

Ebaad wrote: Tue, 2023-07-25, 14:42 After 17 years, I am back to the same question, but was able to resolve it.
It took a little while but what the heck :) Glad that it works for you now and that you remember this old post ;)

BR Michael
by Michael Onken
Wed, 2023-07-26, 09:59
Forum: DCMTK - General
Topic: movescu
Replies: 3
Views: 8785

Re: movescu

This requires more explanation. Read through the PACS tutorial to understand how C-MOVE works in general.

BR Michael
by Michael Onken
Wed, 2023-07-26, 09:57
Forum: DCMTK - General
Topic: dcmsend
Replies: 3
Views: 8728

Re: dcmsend

dcmsend -aec TEPE 10.17.128.10 2010 ex.dcm

This should also be obvious from looking into the dcmsend manual page that you easily find via google.
by Michael Onken
Mon, 2023-07-17, 10:01
Forum: DCMTK - General
Topic: Segfault between DCMTK and pytorch lite
Replies: 5
Views: 10139

Re: Segfault between DCMTK and pytorch lite

Or it's a memory issue when handling over objects/memory areas from jni to ofstd and/or back.
by Michael Onken
Fri, 2023-07-14, 12:08
Forum: DCMTK - General
Topic: Modality Work List Server (SCP) is not responding occasionally
Replies: 1
Views: 7847

Re: Modality Work List Server (SCP) is not responding occasionally

If this is on Windows, I sometimes experienced that the cmd.exe window was the reason and hitting Enter in it helped. I think this only happens if the window is or was focused. I don't know what the underlying reason is, though. Also try option -dhl (on any OS) which avoids that DNS lookup runs into...
by Michael Onken
Mon, 2023-06-26, 10:51
Forum: DCMTK - General
Topic: Forcefully closing an SCU TCP connect attempt
Replies: 12
Views: 17215

Re: Forcefully closing an SCU TCP connect attempt

Hi Horst, regarding your questions: In the case of the default settings, I could see that the request to the DICOM server remains pending and does not terminate. I could also determine this with echoscu. as stated by echoscu help page, the default is "unlimited", which seems to be in line ...
by Michael Onken
Mon, 2023-06-19, 13:30
Forum: DCMTK - General
Topic: Failure to retrieve Modality and ScheduledProcedure from dicomserver.co.uk worklist
Replies: 3
Views: 8552

Re: Failure to retrieve Modality and ScheduledProcedure from dicomserver.co.uk worklist

Hi, That's a classic ;) Some attributes are within the Scheduled Procedure Step Sequence (0040,1000), and your request must reflect that. Try: ./findscu.exe www.dicomserver.co.uk 104 -k 0010,0010=Bowen^William -k 0010,0040 -k 0040,0100[0].0008,0060 -k 0040,0100[0].0040,4005 Besides that, you probabl...
by Michael Onken
Mon, 2023-06-12, 10:29
Forum: DCMTK - General
Topic: Memory Leak when using 'DcmFileFormat' read()
Replies: 2
Views: 8121

Re: Memory Leak when using 'DcmFileFormat' read()

Hi,

I cannot see this from the snippet you provided (One guess: don't you have to allocate and free the "buffer" yourself?). But the best way to solve this yourself is to write a minimal test program and to throw into a memory checker like valgrind.

Best regards,
Michael
by Michael Onken
Fri, 2023-06-09, 14:47
Forum: DCMTK - General
Topic: dcmcjpeg: Unable to change Planar Configuration Error
Replies: 8
Views: 13228

Re: dcmcjpeg: Unable to change Planar Configuration Error

Ah, of course, my mistake, of course Planar Configuration is not permitted if Samples Per Pixel = 1 but Samples per Pixel is required anyway :) Sry
by Michael Onken
Fri, 2023-06-09, 14:28
Forum: DCMTK - General
Topic: dcmcjpeg: Unable to change Planar Configuration Error
Replies: 8
Views: 13228

Re: dcmcjpeg: Unable to change Planar Configuration Error

Mh, this is trial and error then. Invent values for Rescale Slope (1) and Intercept (0), if it does not help then maybe values for Window Center and Window Width, ... i.e. try fixing pixel related attributes that are reported by dciodvfy. Also, if dcmj2pnm prints warnings, fix those problems first. ...