Read DICOM files from memory (char*)

All other questions regarding DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
BountyHuntA
Posts: 3
Joined: Thu, 2010-12-09, 09:13

Read DICOM files from memory (char*)

#1 Post by BountyHuntA »

Hello.

I develop a DICOM rendering with VTK in connection with a JAVA Web-Service.
The user send some DICOM images to the Web-Service and JNA passes a pointer to the DICOM files in the RAM from the JAVA side to C++-VTK.
I have now the problem that I can only find help with reading DICOM files from HDDbut not from memory (RAM).
Is it somehow possible with DICOM Toolkit to read in a char-array containing all the DICOM files?

Thank you
Martin

Jörg Riesmeier
ICSMED DICOM Services
ICSMED DICOM Services
Posts: 2217
Joined: Fri, 2004-10-29, 21:38
Location: Oldenburg, Germany

#2 Post by Jörg Riesmeier »

See the following discussion: viewtopic.php?t=1732

BountyHuntA
Posts: 3
Joined: Thu, 2010-12-09, 09:13

#3 Post by BountyHuntA »

Thank you,
but i missed maybe sth. in my post above.
I need to read in the dicom informations and than process them with VTK.
Do you know how I can use the read informations in VTK?

alwittta
Posts: 111
Joined: Wed, 2006-03-15, 08:30

#4 Post by alwittta »

Following link could be helpful for u:
http://devsample.org/index.php?option=c ... &Itemid=27

Cheers
Alvin

BountyHuntA
Posts: 3
Joined: Thu, 2010-12-09, 09:13

#5 Post by BountyHuntA »

Thank you.
But I need to read in a stream (char*) of DICOM files, not a directory or physically files.
The link from Jörg Riesmeier does maybe what I want, but I don't know how to process DcmFileFormat in VTK.

Can you help me with this, please?

Thank you.

Roadrunner
Posts: 56
Joined: Mon, 2010-06-14, 16:41

#6 Post by Roadrunner »

Maybe dcm4chee (dcm4che2) with vtk-java bindings could be your solutions.

Sorry for recommending 'rival'.

Michael Onken
DCMTK Developer
Posts: 2049
Joined: Fri, 2004-11-05, 13:47
Location: Oldenburg, Germany
Contact:

#7 Post by Michael Onken »

No prob, happily we're not into Java :-)

Michael

Post Reply

Who is online

Users browsing this forum: Baidu [Spider], Google [Bot] and 1 guest