Search found 17 matches

by AlreadyGoogled
Wed, 2006-09-20, 21:52
Forum: DCMTK - General
Topic: image position patient parsing
Replies: 1
Views: 3776

image position patient parsing

Hi, Is there any 'magical' function in dcmtk that can translate a pixel coordinate of a DICOM image into its image position patient location? I can parse the image position patient tag to find the origin pixel's location in patient space, and using the parsed pixel spacing can *almost* figure out an...
by AlreadyGoogled
Mon, 2006-08-28, 15:31
Forum: DCMTK - General
Topic: Store structure in private tag
Replies: 3
Views: 4936

Hi Marco, Thanks for the reply - actually I am a bit confused now as to how to set the data in the private tag. Suppose I have a function to serialize the structure into a stream of bytes like so: SOMETHING s; string strSerialized = s.serialize(); How do I actually go about setting it as VR OB in a ...
by AlreadyGoogled
Fri, 2006-08-25, 19:25
Forum: DCMTK - General
Topic: Store structure in private tag
Replies: 3
Views: 4936

Store structure in private tag

Hello, Is it possible to store a block of data as a private tag using dcmtk? I need to store a structure someplace in the file for later reference. Something like the following pseudocode: struct SOMETHING { int x; int y; string strData1; string strData2; }; SOMETHING test; DcmFileFormat dcm; dcm.ge...
by AlreadyGoogled
Wed, 2005-10-12, 21:17
Forum: DCMTK - General
Topic: DCMTK conflict with PACS system?
Replies: 1
Views: 3544

DCMTK conflict with PACS system?

Hi all, I'm trying to push images to a PACS server with STORE-SCU, but cannot push some select images. The PACS administrator at that site said to try: 1) disabling store commit in the C-STORE messages. 2) Some of the images I am trying to send have a header that is too long. 3) The header length mu...
by AlreadyGoogled
Thu, 2005-09-29, 15:16
Forum: DCMTK - General
Topic: window leveling
Replies: 4
Views: 6729

window leveling

How does DCMTK perform window leveling on RGB images? Does it just do the window level formula on each color channel per pixel? Is the SetWindow method of DicomImage + GetOutput fast enough to be called in real time so that I can change the window level interactively on the fly? Thanks, :o ________ ...
by AlreadyGoogled
Tue, 2005-09-06, 22:31
Forum: DCMTK - General
Topic: **responseIdentifiers - add a dcmtk result to dbl pointer?
Replies: 0
Views: 7195

**responseIdentifiers - add a dcmtk result to dbl pointer?

Hi, I need to add a default test study to the search results returned through the database using the SCE_findSCP operation in imagectn... The problem is, I am unable to append my data successfully to the double DcmDataset pointer **responseIdentifiers. Do you have a information as to how this double...
by AlreadyGoogled
Wed, 2005-08-31, 22:08
Forum: DCMTK - General
Topic: settings for imagectn
Replies: 1
Views: 3146

settings for imagectn

Hallo, I cannot get imagectn to run property; maybe my settings must be changed... What are the minimum parameters I must pass through to imagectn.exe? I'm setting port # and the configuration file, but the AETitle of the requesting machine is not recognized. No error thru imagectn, but it never res...
by AlreadyGoogled
Tue, 2005-08-30, 18:27
Forum: DCMTK - General
Topic: image CTN handling of wildcard characters
Replies: 1
Views: 3379

image CTN handling of wildcard characters

hallo, i am trying to configure Image CTN to work with my MRI reading software (eFilm) - I am need to return the appropriate response from Image CTN when the MRI program is searching for a study. ok, but eFilm is adding an '*' to the PatientID and PatientsName parameters - may I assume we are suppos...
by AlreadyGoogled
Fri, 2005-06-10, 17:48
Forum: DCMTK - General
Topic: How can DIMSE_storeProvider() fail?
Replies: 1
Views: 3627

How can DIMSE_storeProvider() fail?

Hi everyone, I call: OFCondition cond = DIMSE_storeProvider(...); if (cond.bad()) { sprintf(...); } For one transfer this fails (has been working fine for months) with the error: DIMSE: Presentation Contexts of Command and Data differ. Can anyone let me know what this means, and how it could have be...
by AlreadyGoogled
Sun, 2005-03-27, 02:46
Forum: DCMTK - General
Topic: findAndGetOFString() truncates backslashes in tag data?
Replies: 1
Views: 5495

findAndGetOFString() truncates backslashes in tag data?

Hi everyone, I was using findAndGetOFString() to fetch ImagePosition/PixelSpacing tags, these tags have backslashes delimiting different portions of the data within the tag. But my returned OFString only contains the data up to the first backslash in the tag data! If I use findAndGetString() it work...
by AlreadyGoogled
Fri, 2005-03-11, 22:14
Forum: DCMTK - General
Topic: transfer syntax - Media storage SOP UID
Replies: 1
Views: 7570

transfer syntax - Media storage SOP UID

Hi, I have two questions, I am a little unclear on the following. 1) When an image comes in from a scanner device, say MRI, what transfer syntax should the image be saved with if it is to be stored and manipulated on a standard little endian PC? Is it necessary to change this tag? Or should the orig...
by AlreadyGoogled
Tue, 2005-03-08, 15:47
Forum: DCMTK - General
Topic: add a private tag
Replies: 12
Views: 16390

Hello Marco, thanks for your reply. I have been adding private tags without problems so long as their VR is LO. This works fine. I tried adding some more private tags defined in private.dic like so: (3333, "My_priv_tag", 13) US 1 Compiled with the new tags etc. Now whenever I try adding th...
by AlreadyGoogled
Fri, 2005-02-25, 21:38
Forum: DCMTK - General
Topic: add a private tag
Replies: 12
Views: 16390

Ok I got it to work. I will post the steps here, if someone can verify this was the correct way that would be great, also perhaps people can refer to this post later on for help as well: 1) Go to dcmdata\libsrc and make a backup of dcdictzz.cxx. This is the file that will eventually include your pri...
by AlreadyGoogled
Fri, 2005-02-25, 17:08
Forum: DCMTK - General
Topic: add a private tag
Replies: 12
Views: 16390

add a private tag

Hi, I've been reading the FAQ and another post here about private tags, but still am uncertain of how to procede. First I compiled the project which can create a built in dictionary from private.dic (makedictbi.cxx). I added my private tag to private.dic and had it rebuilt. My first question is, wha...
by AlreadyGoogled
Tue, 2005-02-08, 16:16
Forum: DCMTK - General
Topic: Warning: dcfilefo: (warning when saving DcmFileFormat objects)
Replies: 1
Views: 5663

Warning: dcfilefo: (warning when saving DcmFileFormat objects)

Hi, When saving a DcmFileFormat object I always get a warning: Warning: dcfilefo: unknown Version of MetaHeader detected: 0x0101 supported: 0x0100 The image saves ok though, I am wondering if this warning could manifest itself in a bad way later on, or if I can just ignore it. This is how I'm saving...