Search found 15 matches

by pbnoel
Tue, 2009-12-08, 10:31
Forum: DCMTK - General
Topic: Philips CT raw projection data
Replies: 0
Views: 16255

Philips CT raw projection data

Hello, I was able to get projection data from a Philips CT. Now I m trying to open the data to get the raw image data. I was able to open the file with dcmtk and I was able to read the dicom header, but when I try to get the image data everything I tried so far crashed. I'm trying to solve this prob...
by pbnoel
Wed, 2009-10-21, 11:40
Forum: DCMTK - General
Topic: overlay to png??
Replies: 6
Views: 6178

I will look into that...
Thank You for your help!! Peter
by pbnoel
Wed, 2009-10-21, 11:22
Forum: DCMTK - General
Topic: overlay to png??
Replies: 6
Views: 6178

I solved my problem! :-)
I'm using dcmtk on a ubuntu machine and the path for DCMDICTPATH was not setup. I added the PATH and now my program works without any problems.
Since I'm relatively new to this material: what do you mean by using wrapping headers?

Thank You, Peter
by pbnoel
Tue, 2009-10-20, 10:26
Forum: DCMTK - General
Topic: overlay to png??
Replies: 6
Views: 6178

Thank You for your reply. With help of the wiki link I wrote the following program: #include <iostream> #include <fstream> #include <stdio.h> #include <string> #include "dcmtk/config/osconfig.h" #include "dcmtk/dcmdata/dctk.h" #include "dcmtk/dcmimgle/dcmimage.h" using ...
by pbnoel
Mon, 2009-10-19, 12:23
Forum: DCMTK - General
Topic: overlay to png??
Replies: 6
Views: 6178

overlay to png??

Dear dcmtk users, I'm trying to write out an overlay from a dicom file and save it as a .png file. I used the img.OverlayData function, which works perfect. Now i want to write out the png file. Is there anything similar to C:\>dcm2pnm.exe +Wm image13.dcm test.png for overlays? Or how do I write pix...
by pbnoel
Fri, 2009-09-18, 09:43
Forum: DCMTK - General
Topic: TagID multiples times in dicomheader
Replies: 4
Views: 4598

Jörg Riesmeier wrote:The DcmStack::elem() methods returns a pointer to a DicomObject not a OFString. If the pointer is not NULL, you can cast it to (DcmElement *) and then use a method like getOFString().
Works Perfect! Thank You, Peter
by pbnoel
Thu, 2009-09-17, 12:30
Forum: DCMTK - General
Topic: TagID multiples times in dicomheader
Replies: 4
Views: 4598

As you can read in the documentation (and in the corresponding header file), findAndGetOFString() does by default not search into the items of a sequence (i.e. only on the main dataset level). Depending on your particular needs, you could use findAndGetElements() or findAndGetSequenceItem() or ... ...
by pbnoel
Tue, 2009-09-15, 15:55
Forum: DCMTK - General
Topic: TagID multiples times in dicomheader
Replies: 4
Views: 4598

TagID multiples times in dicomheader

Hello Everybody, I'm trying to read out a dicomheader, however there are several series included. Therefore the TAGID 0018 9345 maybe several times included in one header. Now if I try to use ...-> FindandGetOFString the program does not return anything... I could not find any forum or documentation...
by pbnoel
Thu, 2009-09-03, 12:53
Forum: DCMTK - General
Topic: HP-UX Makefile -- test problem
Replies: 3
Views: 4483

Finally I got some of my programs running on the HP-UX machine... The only way was to us a test makefile as a template. In any case it works now. This is a copy of the modified makefile: SHELL = /bin/sh VPATH = ../include:../../config/include srcdir = . top_srcdir = .. configdir = /opt/dcmtk-3.5.4/c...
by pbnoel
Fri, 2009-08-28, 10:45
Forum: DCMTK - General
Topic: HP-UX Makefile -- test problem
Replies: 3
Views: 4483

HP-UX Makefile -- test problem

Dear All, after finishing to compile dcmtk on a HP-UX maschine, I wanted to write a small test program and I wrote the following routine (which runs without problems on a Windows maschine): #include <iostream> #include <fstream> #include <stdio.h> #include <string> #include "dcmtk/config/osconf...
by pbnoel
Tue, 2009-08-25, 11:42
Forum: DCMTK - Installation
Topic: HP-UX installation problem
Replies: 9
Views: 17257

P.S: 3) In ofdate.cc commented out line 220 4) In oftime.cc commented out line 312 5) In wlfsim.cc commented out line 574 If you have the time, could you post the errors thrown by the compiler? Thanks and regards, Michael Hi Michael, sorry for the delay, I was out of Town... Here the errors: ofdate...
by pbnoel
Thu, 2009-08-20, 10:17
Forum: DCMTK - Installation
Topic: HP-UX installation problem
Replies: 9
Views: 17257

Hi Michael, Small update; For oftime and otdate I used localtime(&tt), that works without any problems. For the wlfsim.cc I could not find a solution. I'm planning to not use any server functions, therefore without that line 574 I could be fine? Peter Hi Peter, great, thanks for your feedback ab...
by pbnoel
Mon, 2009-08-17, 14:38
Forum: DCMTK - Installation
Topic: HP-UX installation problem
Replies: 9
Views: 17257

Michael, I'm using a HP-UX U9000/800 B.11.23 with gcc 4.1.1... After doing the following changes I got ``make all'' running with out problems. I performed the following steps, however, I think some of them are not a 100% proper. 1) ./configure --disable-threads 2) the cmath / finite changes as discr...
by pbnoel
Mon, 2009-08-17, 09:56
Forum: DCMTK - Installation
Topic: HP-UX installation problem
Replies: 9
Views: 17257

Hi Michael, thank you for your answer. Actually I use already the 3.5.4 version... However, I changed the following in ofstd.cc: I commented out cmath and added #include <math.h> and in line 216 I changed finite to isfinite... After doing the changes I did not get this error anymore, but now I'm get...
by pbnoel
Fri, 2009-08-14, 13:09
Forum: DCMTK - Installation
Topic: HP-UX installation problem
Replies: 9
Views: 17257

HP-UX installation problem

Hello, right now I'm trying to install dcmtk on a HP-UX maschine. The ./configure runs without any problem. However, when starting ./make I get the following error message: ofstd.cc: In function 'int my_isinf(double)': ofstd.cc:216: error: 'finite' was not declared in this scope I looked around the ...