Search found 18 matches

by nikkoara
Tue, 2015-08-04, 16:08
Forum: DCMTK - General
Topic: Suggested patch for building on Mac
Replies: 0
Views: 16663

Suggested patch for building on Mac

libnsl is not present on Mac and most (all?) of its API is in libc. The following only links libnsl for platforms other than APPLE: $ git diff diff --git a/CMake/FindWrap.cmake b/CMake/FindWrap.cmake index 1567724..9dc3430 100644 --- a/CMake/FindWrap.cmake +++ b/CMake/FindWrap.cmake @@ -21,7 +21,10 ...
by nikkoara
Sun, 2015-08-02, 19:28
Forum: DCMTK - General
Topic: Pixel data larger than remaining data in file
Replies: 2
Views: 5325

Re: Pixel data larger than remaining data in file

It seems so, but then OsiriX Lite displays the (some?) images from these files. In a few cases the images look like calibration images of sort: grids, shades of gray, etc. So, basically, I have a 4K DICOM file which OsiriX decodes and shows 50 frames for it. I don't know what to make of it, at all. ...
by nikkoara
Sun, 2015-08-02, 13:25
Forum: DCMTK - General
Topic: Pixel data larger than remaining data in file
Replies: 2
Views: 5325

Pixel data larger than remaining data in file

I have a number of DICOM files that all exhibit the same problem and fail processing with dcm2xml, dcmj2pnm, etc. Any help in understanding the issue is greatly appreciated. Thanks! The error is: $ dcm2xml t.dicom E: DcmElement: Item (fffe,e000) larger (53242) than remaining bytes in file E: dcm2xml...
by nikkoara
Sat, 2015-08-01, 21:00
Forum: DCMTK - General
Topic: Exit code for DCMTK tools (dcm2xml, dsr2xml, etc.)
Replies: 3
Views: 4864

Re: Exit code for DCMTK tools (dcm2xml, dsr2xml, etc.)

No, these are the only two I know of. I took a cursory look at the other dcmdata tools, they seem to be fine.
by nikkoara
Sat, 2015-08-01, 19:38
Forum: DCMTK - General
Topic: Exit code for DCMTK tools (dcm2xml, dsr2xml, etc.)
Replies: 3
Views: 4864

Exit code for DCMTK tools (dcm2xml, dsr2xml, etc.)

I got bit by assuming that any error encountered would result in a non-zero exit code. It turns out that is no the case at least for dcm2xml and dsr2xml, i.e., the following prints success: $ ./bin/dsr2xml /dev/null && echo success F: dsr2xml: error (End of stream) reading file: /dev/null su...
by nikkoara
Mon, 2015-03-30, 15:21
Forum: DCMTK - General
Topic: FrameTimeVector contains negative values
Replies: 0
Views: 15630

FrameTimeVector contains negative values

I have encountered a frame time vector that contains negative values, e.g.: <element tag="0018,1065" vr="DS" vm="16" len="108" name="FrameTimeVector">0\67.447\-22.482\22.482\44.964\44.965\22.482\44.964\22.482\44.965\22.482\44.964\22.483\44.964\22.482...
by nikkoara
Fri, 2015-02-13, 14:42
Forum: DCMTK - General
Topic: Does dcmj2pnm transform for CT modality?
Replies: 3
Views: 4354

Re: Does dcmj2pnm transform for CT modality?

Thanks for the reply! I was not concerned with PNG signed pixel values. Follow-up question: if the resulting PNG file contains rendered output based on the HU values (which are in the range [-992,3056] for this exam) shouldn't the PNG pixel values be in the range [32768-992, 32768+3056], i.e., [3177...
by nikkoara
Thu, 2015-02-12, 17:34
Forum: DCMTK - General
Topic: Does dcmj2pnm transform for CT modality?
Replies: 3
Views: 4354

Does dcmj2pnm transform for CT modality?

I need a bit of clarification on the modality transformation, as performed by dcmj2pnm. My understanding was that the modality transformation, be it linear or LUT-driven, happens by default during the extraction of the image with dcmj2pnm (unlike VOI transformations). This made me expect that the re...
by nikkoara
Tue, 2015-01-20, 16:53
Forum: DCMTK - General
Topic: Conversion between Basic SRs and Enhanced, Comprehensive
Replies: 1
Views: 2655

Conversion between Basic SRs and Enhanced, Comprehensive

AFAICT, Basic SRs are a subset (feature-wise) of Enhanced SRs and those a subset of Comprehensive, therefore an automatic conversion in that direction would be possible. Is that true, and if so, is it possible to accomplish with a DCMTK tool? Thanks.
by nikkoara
Mon, 2014-06-09, 18:39
Forum: DCMTK - General
Topic: SO_SNDBUF, SO_RCVBUF and impact on loopback transfer
Replies: 7
Views: 10525

Re: SO_SNDBUF, SO_RCVBUF and impact on loopback transfer

Thank you for your detailed analysis. These parts of the network code are rather old. Maybe, we should recheck whether they are still useful. Assessing the pros and cons of the Nagle algorithm on modern operating systems is already on our to-do list. I will also add the TCP buffer question to it. I...
by nikkoara
Sun, 2014-06-08, 14:12
Forum: DCMTK - General
Topic: SO_SNDBUF, SO_RCVBUF and impact on loopback transfer
Replies: 7
Views: 10525

Re: SO_SNDBUF, SO_RCVBUF and impact on loopback transfer

That's strange. Could you give us more details on the system environment? I have tested my findings on another Linux box (a Slackware 14.1) where I have noticed the slowdown, albeit less severe. E.g., it takes a 20M DICOM between 1s and 11s to transfer. I have verified that explicitly setting the T...
by nikkoara
Sat, 2014-06-07, 13:22
Forum: DCMTK - General
Topic: SO_SNDBUF, SO_RCVBUF and impact on loopback transfer
Replies: 7
Views: 10525

Re: SO_SNDBUF, SO_RCVBUF and impact on loopback transfer

Sure. It's a modern ultrabook running the latest Ubuntu, fully up to date. I have built DCMTK off the 20131114 snapshot, in Release configuration. [joe@ncc1701:~]$ uname -a Linux ncc1701 3.13.0-29-generic #53-Ubuntu SMP Wed Jun 4 21:00:20 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux [joe@ncc1701:~]$ lspc...
by nikkoara
Fri, 2014-06-06, 19:50
Forum: DCMTK - General
Topic: SO_SNDBUF, SO_RCVBUF and impact on loopback transfer
Replies: 7
Views: 10525

SO_SNDBUF, SO_RCVBUF and impact on loopback transfer

FWIW, I have stumbled upon a situation where transfer of DICOM files between storescp/storescu on loopback, was very, very slow, approx 2 min for a 25M file. I profiled storescp and storescu and that showed no time is inefficiently spent in the application. iperf shows nothing remarkable. Netcat tra...
by nikkoara
Thu, 2014-06-05, 16:27
Forum: DCMTK - General
Topic: unique identification of devices that make STORE requests
Replies: 1
Views: 2413

unique identification of devices that make STORE requests

What is the generally accepted best method to uniquely identify the device that makes a STORE request? I wish to keep track of the individual devices that make STORE requests to an instance of storescp. I know of (0018,1000) but that is not present in any of the DICOM files I have looked at so far (...
by nikkoara
Mon, 2014-05-05, 11:56
Forum: DCMTK - General
Topic: DCMTK conformance statement
Replies: 1
Views: 3418

DCMTK conformance statement

As a user of DCMTK software, is there a DCMTK conformance statement that I could cite and/or refer to from my own conformance statement? I have seen conformance statements referring to DCMTK as the implementation and listing the DCMTK_OFFIS_version as well as the Implementation UID but not more than...