Search found 2049 matches

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

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

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

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

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

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

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

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

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

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

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

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

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
by Michael Onken
Wed, 2023-05-31, 09:02
Forum: DCMTK - General
Topic: dcmcjpeg quality parameter
Replies: 11
Views: 8987

Re: dcmcjpeg quality parameter

Hm, this sounds like a weird problem. Using a DCMTK tool to re-write the file (dcmconv, or dcmcjpeg+dcmdjpeg, or dcmscale) should rule out any simple encoding errors (like odd length) already. Maybe you need to talk to the vendor support of the target location or get better logs from the server. BR,...
by Michael Onken
Tue, 2023-05-30, 21:01
Forum: DCMTK - General
Topic: dcmcjpeg quality parameter
Replies: 11
Views: 8987

Re: dcmcjpeg quality parameter

Nope, good idea, I never used dcmscale myself actually :D
by Michael Onken
Tue, 2023-05-30, 20:32
Forum: DCMTK - General
Topic: dcmcjpeg quality parameter
Replies: 11
Views: 8987

Re: dcmcjpeg quality parameter

Hey Jörg, the issue was not whether it is appropriate or not but that it might be reason that the PACS does not digest it. Also OP noted that the PACS only supports LEE and JPEG Baseline. Cmerrick: You understood correctly, I dont have any other tool in mind. But, since Jörg brought this up, I also ...