Search found 15 matches
- Tue, 2014-11-11, 21:20
- Forum: DCMTK - General
- Topic: DicomImage problem with codecs
- Replies: 1
- Views: 12855
DicomImage problem with codecs
Hello. I'm having problems opening some Dicom Images. This is my code: DJDecoderRegistration::registerCodecs(); if(!larchivos.empty()){ string nombre_archivo = *(larchivos.begin()); FileFormat fileFormat; OFCondition status = fileFormat.loadFile(nombre_archivo.c_str()); if (status.good()){ DicomImag...
- Sun, 2013-11-03, 18:11
- Forum: DCMTK - General
- Topic: dcmtk/oflog/thread/syncprim.h: No such file or directory
- Replies: 8
- Views: 7989
Re: dcmtk/oflog/thread/syncprim.h: No such file or directory
Thanks! The problem was solved with that repository
- Fri, 2013-11-01, 23:03
- Forum: DCMTK - General
- Topic: dcmtk/oflog/thread/syncprim.h: No such file or directory
- Replies: 8
- Views: 7989
Re: dcmtk/oflog/thread/syncprim.h: No such file or directory
What is the project name?
I can't just clone it with: git clone git://git.dcmtk.org/
Thanks!
I can't just clone it with: git clone git://git.dcmtk.org/
Thanks!
- Fri, 2013-11-01, 19:53
- Forum: DCMTK - General
- Topic: dcmtk/oflog/thread/syncprim.h: No such file or directory
- Replies: 8
- Views: 7989
Re: dcmtk/oflog/thread/syncprim.h: No such file or directory
I get the files from here https://github.com/commontk/DCMTK
I'm sure the file is not in my pc. I tried to find it with the search button and i get nothing, i don't even have the "thread" folder
I'm sure the file is not in my pc. I tried to find it with the search button and i get nothing, i don't even have the "thread" folder
- Fri, 2013-11-01, 19:39
- Forum: DCMTK - General
- Topic: dcmtk/oflog/thread/syncprim.h: No such file or directory
- Replies: 8
- Views: 7989
Re: dcmtk/oflog/thread/syncprim.h: No such file or directory
The header file does not exists in the include directory. I don't even have the /thread folder
The steps i followed:
make clean -> ./configure -> make all -> make install-lib
and i get the same error.
The steps i followed:
make clean -> ./configure -> make all -> make install-lib
and i get the same error.
- Fri, 2013-11-01, 01:06
- Forum: DCMTK - General
- Topic: dcmtk/oflog/thread/syncprim.h: No such file or directory
- Replies: 8
- Views: 7989
dcmtk/oflog/thread/syncprim.h: No such file or directory
Hi! I get that error message when compiling my program.
I've installed DCMTK from git with no errors.
Anyone know what that mean? The library doesn't exists and i don't know why.
Thanks!
I've installed DCMTK from git with no errors.
Anyone know what that mean? The library doesn't exists and i don't know why.
Thanks!
- Thu, 2013-10-31, 22:39
- Forum: DCMTK - General
- Topic: convert OFString into string
- Replies: 9
- Views: 11067
Re: convert OFString into string
I know it's a bit late but thanks.
Do you mean CPPFLAGS =-DHAVE_STD_STRING?
Thank you again.
Do you mean CPPFLAGS =-DHAVE_STD_STRING?
Thank you again.
- Thu, 2013-06-27, 18:41
- Forum: DCMTK - General
- Topic: Problems with DicomImage
- Replies: 6
- Views: 11400
Re: Problems with DicomImage
Thank you very much!
That was the problem
That was the problem
- Thu, 2013-06-27, 18:33
- Forum: DCMTK - General
- Topic: convert OFString into string
- Replies: 9
- Views: 11067
Re: convert OFString into string
Thanks, I understand now.
I'm new in this. How do i specify the aditional compiler flag? I don't know where i have to do it.
I'm new in this. How do i specify the aditional compiler flag? I don't know where i have to do it.
- Thu, 2013-06-27, 18:12
- Forum: DCMTK - General
- Topic: convert OFString into string
- Replies: 9
- Views: 11067
Re: convert OFString into string
What do you mean with recompile the entire DCMTK? I have only add -DHAVE_STD_STRING to the flags. This is my makefile: GPP=g++ GCC=gcc FLAGS= -fshow-column -g2 -Wall -O0 -Wall -pedantic-errors -DHAVE_CONFIG_H -DHAVE_STD_STRING -O0 -D_DEBUG LIBS= -L/usr/local/lib -L/usr/local/include -ldcmjpeg -lijg8...
- Tue, 2013-06-25, 18:50
- Forum: DCMTK - General
- Topic: convert OFString into string
- Replies: 9
- Views: 11067
Re: convert OFString into string
Yes i'm talking about that! But if a use that i get errors with this funcion: FileFormat.getDataset()->findAndGetOFString(DCM_PatientID,ID_P) undefined reference to 'DcmItem::findAndGetOFString(DcmTagKey const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> >&, unsigne...
- Tue, 2013-06-25, 18:23
- Forum: DCMTK - General
- Topic: convert OFString into string
- Replies: 9
- Views: 11067
convert OFString into string
Hello! I don't know how to do it. Can anyone help me? This is my code: //NOMBRE DEL PACIENTE! OFString Nombre_P; //tratamos de recuperar el nombre del paciente if (FileFormat.getDataset()->findAndGetOFString(DCM_PatientName, Nombre_P).good()) { cout << "Nombre del paciente: " << Nombre_P <...
- Sun, 2013-06-16, 15:57
- Forum: DCMTK - General
- Topic: Problems with DicomImage
- Replies: 6
- Views: 11400
Re: Problems with DicomImage
you are right! Thanks again! and what libs do i need? because my error message is this now: /home/juampi/projects/ImgDicom/main.cpp:20: error: undefined reference to 'DJDecoderRegistration::registerCodecs(E_DecompressionColorSpaceConversion, E_UIDCreation, E_PlanarConfiguration, bool)' /home/juampi/...
- Sat, 2013-06-15, 20:48
- Forum: DCMTK - General
- Topic: Problems with DicomImage
- Replies: 6
- Views: 11400
Re: Problems with DicomImage
Thanks! I'm now having problems with this #include <stdio.h> #include "dcmtk/config/osconfig.h" #include "dcmtk/dcmdata/dctk.h" #include "dcmtk/dcmimage/diregist.h" //libreria para manejar el dataset #include "dcmtk/dcmimgle/dcmimage.h" /* for DicomImage */ //...
- Sat, 2013-06-15, 18:02
- Forum: DCMTK - General
- Topic: Problems with DicomImage
- Replies: 6
- Views: 11400
Problems with DicomImage
Hi! I'm having problems using DicomImage. I have wrote this code and it works well #include <stdio.h> #include "dcmtk/config/osconfig.h" #include "dcmtk/dcmdata/dctk.h" #include "dcmtk/dcmimage/diregist.h" /* include to support color images */ #include "dcmtk/dcmim...