Search found 2067 matches

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

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: 42008

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: 9658

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: 49672

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: 9737

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: 9658

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: 11099

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: 8646

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: 18683

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: 9538

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: 8983

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: 14599

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: 14599

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. ...
by Michael Onken
Fri, 2023-06-09, 12:58
Forum: DCMTK - General
Topic: dcmcjpeg: Unable to change Planar Configuration Error
Replies: 8
Views: 14599

Re: dcmcjpeg: Unable to change Planar Configuration Error

After a first look, I would remove Samples Per Pixel from the dataset, the value 2 is never used in any color model. Probably the machine "means" 1 (one color=grayscale channel) instead. Just remove Samples Per Pixel, e.g. by calling dcmodify -e SamplesPerPixel <input_file> Just curious: T...
by Michael Onken
Fri, 2023-06-09, 08:28
Forum: DCMTK - General
Topic: dcmcjpeg: Unable to change Planar Configuration Error
Replies: 8
Views: 14599

Re: dcmcjpeg: Unable to change Planar Configuration Error

Hi,

as far as I can see this error is only produced in case of serious problems, e.g. Planar Configuration is not present in the dataset, memory is exhausted or no pixel data is present.

Probably you should check the image with a DICOM validator, e.g. dciodvfy.

BR, Michael