Questions tagged [gdcm]

Grassroots DICOM (GDCM) is a cross-platform library written in C++ for DICOM medical files. It's automatically wrapped to Python/C#/Java & PHP (using swig). It supports RAW, JPEG (lossy/lossless), J2K, JPEG-LS, RLE and deflated. Parts 3, 6 & 7 of the DICOM standard are included as XML files. GDCM can be used to build a JPIP or WADO server. Questions about just using the bundled applications are off-topic for Stack Overflow, unless programming specific.

100 questions
0
votes
1 answer

Use GDCM in Java - how to include?

I'd like to use GDCM in Java, but somehow I fail using it. I downloaded precompiled files for win x86. I've never tried to include a SWIG library, so I may did something wrong. I tried to include the gdcm.jar in original folder, and as a copy. What…
SalkinD
  • 753
  • 9
  • 23
0
votes
0 answers

convert gdcm_image to .NET bitmap fail

Hi am trying to get bitmap to display from DICOM file , but when try to create bitmap from the buffer I get Parameter is not valid for the Bitmap constructor call. I use the following code gdcm.ImageReader reader = new…
AMH
  • 6,363
  • 27
  • 84
  • 135
0
votes
1 answer

How to use GDCM in Qt

I was compiling GDCM with CMake-GUI, then I tried to create a project in Qt to try the examples. However when I compile the project, I receive errors. Let me know if in the .pro file I must include something. I am working on Windows 7.
0
votes
1 answer

error adding symbols while compiling gdcm

I wanted to compile gdcm from source code on eOS 0.3/Ubuntu 14.04, and add python support. Therefore I installed swig, and afterwards ran ccmake (for configuring the make file) and make. Unfortunately I get the error: ../../bin/libgdcmMEXD.a: error…
arc_lupus
  • 3,942
  • 5
  • 45
  • 81
0
votes
1 answer

Dependency library not recognized during installation octave forge dicom package in debian linux

I ask this question on this stack exchange because it has (by far) the most posts about octave. I started using a linux environment and want to use octave for my work, for which the dicom package is essential (my data is in the dicom format and not…
Leo
  • 1,757
  • 3
  • 20
  • 44
0
votes
1 answer

Cannot create DICOMDIR file using GDCM library

I am using GDCM library to create a DICOMDIR file. I implemented the code as shown in GDCM docs: http://gdcm.sourceforge.net/html/GenerateDICOMDIR_8cs-example.html In the code: private int GenerateDicomDir(string directory, string outFileName) …
Ozan Deniz
  • 1,087
  • 7
  • 22
0
votes
1 answer

How to access "group, element" string from a gdcm::Tag

I wish to extract all the top level tags from a DICOM image file and output them to a file using C++. I want to output the tag string, e.g. "0020,000D", value of the tag and description. I can get the second two using the following code but how to I…
PaulN
  • 329
  • 2
  • 6
  • 13
0
votes
1 answer

Appending new frames to an existing DICOM file

I am working with DCMTK to modify an input DICOM file. This is a Multi-Frame DICOM file on my disk. I need to add new frames into the PixelData element, and save the output using the same input filename. The restriction is that I can not load the…
s_t_o_n_e
  • 1
  • 1
0
votes
0 answers

An exception occurs when using vtkGDCMImageReader

I try to use vtkGDCMImageReader to read the DICOM files, but an access violation occurred occurred when I call the update method. Here is my code: vtkGDCMImageReader * reader =…
Cheery
  • 45
  • 6
0
votes
1 answer

How to read a DICOM file of Dynamic DSA image

I have a Dynamic DSA image of DICOM format, it consists of a header of patient information etc and a series of X-ray image data to show the bone motion in only one file. Is there any method in librarys like VTK, ITK or GDCM can read this data out?
Cheery
  • 45
  • 6
0
votes
1 answer

Generating JNI Wrappers from GDCM Library

I am trying to get JNI Wrapper classes by use of SWIG tool. but I m very beginner in C++ Library Compilation etc.. I have downloaded CMake Tool . SWIG but dont know how to utilize them and create Java Wrappers from the source folders. If any body…
Kirtan
  • 1,782
  • 1
  • 13
  • 35
0
votes
1 answer

How change the contrast of a volume vtk GDCM

In the MIPviewer example how can i change the contrast of the volume ?
AMAL JERBI
  • 89
  • 1
  • 8
0
votes
1 answer

How to remove item in GDCM

I am trying to remove complete branches (PATIENT, STUDY) from a DICOMDIR file. Why does the class SequenceOfItems only has a "AddItem(item)" function and a "Clear()" function which removes all items, but no "RemoveItem(item)" function. How do I…
Stiefel
  • 2,677
  • 3
  • 31
  • 42
0
votes
1 answer

Can't get Pixel Data from DICOM using GDCM

I need some help with GDCM. I've been trying to get the Pixel Data from DICOM file for a few days. There are lot's of ways how to do it... I decided to use GDCM. I download their libraries and try to get pixel data like this: #include…
NewOne
  • 19
  • 1
  • 3
0
votes
1 answer

Debugger not gaining access to library code (GDCM)

I am sure this is a trivial question for most. I am building code based on C++ GDCM (GrassRoot DICOM) library. Interestingly, using GDB, I am unable to traverse into the library headers. Is there an option which i need to turn on during the GDCM…
Maelstorm
  • 580
  • 2
  • 10
  • 29