Search found 43 matches

by ruben.cruz
Tue, 2020-06-23, 09:23
Forum: DCMTK - General
Topic: Can't add SR into DICOMDIR
Replies: 7
Views: 3138

Re: Can't add SR into DICOMDIR

dcmmkdir.exe --general-dvd-j2k --debug --recurse IMAGES D: $dcmtk: dcmmkdir v3.6.5 2019-10-28 $ D: I: determining input files ... I: creating DICOMDIR file using STD-GEN-DVD-J2K profile: DICOMDIR I: checking file: IMAGES\IM000000 D: DcmMetaInfo::checkAndReadPreamble() TransferSyntax="Little En...
by ruben.cruz
Mon, 2020-06-22, 18:07
Forum: DCMTK - General
Topic: Can't add SR into DICOMDIR
Replies: 7
Views: 3138

Can't add SR into DICOMDIR

Hi, we have been working with dcmtk for a while but in the last few day we have a encounter a problem and we just can't find a solution to it. So, we are receiving some exams, most of them are with TransferSyntax (0002,0010) TransferSyntaxUID 1.2.840.10008.1.2.4.90 from MG Modality, these are fine, ...
by ruben.cruz
Tue, 2020-05-05, 10:47
Forum: DCMPRINT
Topic: C++ Print listen
Replies: 3
Views: 7665

Re: C++ Print listen

Hi, thank you for the answer we got this kind of running, but now we can't figure it out how to apply our configurations. Sorry that this maybe could be easy to apply but we have been looking into this for a long time and we can't manage to find a solution. So, we tried to make something basic, just...
by ruben.cruz
Mon, 2020-03-30, 13:00
Forum: DCMPRINT
Topic: C++ Print listen
Replies: 3
Views: 7665

C++ Print listen

Hi, after working with dcmtk we have been moving foward with dcmprint. but this time after compiling with cmake we we start getting errors like: "mismatch detected for 'RuntimeLibrary': value 'MTd_StaticDebug' doesn't match value 'MDd_DynamicDebug' in ..." sp we complied again with DCMTK_O...
by ruben.cruz
Thu, 2019-12-19, 16:42
Forum: DCMTK - General
Topic: how can we handle echo properly?
Replies: 0
Views: 82665

how can we handle echo properly?

hi, we have been trying to handle a echo call from the machine (SENDER) to our software (HBURN) but we receive "Association Rejected". we start the application with something like this: https://forum.dcmtk.org/viewtopic.php?p=19816#p19816 when we echo from the machine our logs register thi...
by ruben.cruz
Tue, 2019-12-17, 17:02
Forum: DCMTK - General
Topic: How can we add a new tag into DICOMDIR
Replies: 3
Views: 2364

Re: How can we add a new tag into DICOMDIR

the result is all fine i guess {theCondition={theModule=0 theCode=0 theStatus=OF_ok (0) ...} ownsText=false } .. 0x00007ff6be1391f4 "Normal" With this method we can somehow add the tag we want in each image we received. But we also need to add inside the Dicomdir we generate later with ima...
by ruben.cruz
Wed, 2019-12-11, 18:44
Forum: DCMTK - General
Topic: How can we add a new tag into DICOMDIR
Replies: 3
Views: 2364

How can we add a new tag into DICOMDIR

Hi, We have been trying to add a new tag into DICOMDIR, but we have been failing to understand how to properly doing it. So we tried to make a new tag and add them into each image and then later when we generate a new dicomdir somehow this tag could be used there, but we failed in this last part. Ca...
by ruben.cruz
Thu, 2019-10-17, 10:35
Forum: DCMTK - General
Topic: Which library contains a function to dump information of a file? in c, something similar to dcmdump
Replies: 5
Views: 4161

Re: Which library contains a function to dump information of a file? in c, something similar to dcmdump

Hi, Thank you both for your time and your answers. Of course you were both correct. I believe i was missing something so i did .getDataset() DcmDataset* dset = NULL; DcmFileFormat dataset; *&dset = dataset.getDataset(); OFFilename f = szCopyPath; OFCondition cond; cond = dataset.loadFile(f); std...
by ruben.cruz
Mon, 2019-10-14, 17:47
Forum: DCMTK - General
Topic: Which library contains a function to dump information of a file? in c, something similar to dcmdump
Replies: 5
Views: 4161

Re: Which library contains a function to dump information of a file? in c, something similar to dcmdump

Hi, Thank you for the print tip. We now encounter an error probably on loading the file. our code is something like this: DcmDataset dataset; std::filebuf fb; fb.open("C:\\Users\\User\\Documents\\test.txt", std::ios::out); std::ostream os(&fb); OFString filename; //szFilePath is the co...
by ruben.cruz
Fri, 2019-10-11, 17:30
Forum: DCMTK - General
Topic: Which library contains a function to dump information of a file? in c, something similar to dcmdump
Replies: 5
Views: 4161

Which library contains a function to dump information of a file? in c, something similar to dcmdump

Hi, We have been trying to finish a process in a workflow where we copy some files from one folder to the other. When this process is finished we need to to create a file with a list of data about patient and the exam. This data we can retrieve from any file, but since we are doing this in c++ we ha...
by ruben.cruz
Wed, 2019-10-02, 18:05
Forum: DCMTK - General
Topic: creating a DicomDir with files in another folder
Replies: 3
Views: 2768

Re: creating a DicomDir with files in another folder

Thank for your answer. When you said about the second paramenter we realised what we have been doing wrong. We managed to make it work just like you said. We tried diferent ways and we find out we were trying to make the file name with "/images/IMG000" and the first "/" was trigg...
by ruben.cruz
Tue, 2019-10-01, 15:12
Forum: DCMTK - General
Topic: creating a DicomDir with files in another folder
Replies: 3
Views: 2768

creating a DicomDir with files in another folder

Hi, we have been trying to create a Dicomdir file correctly. But we have encounter a problem. We are using c++ and we can create a new dicomdir with: DicomDirInterface dicomdir; OFCondition status = dicomdir.createNewDicomDir(DicomDirInterface::AP_GeneralPurpose, dicomdirPathOFString, DEFAULT_FILESE...
by ruben.cruz
Mon, 2019-07-22, 10:49
Forum: DCMTK - General
Topic: Logs layout error
Replies: 7
Views: 4025

Re: Logs layout error

By the way, how do you link the DCMTK to your program: statically or dynamically (i.e. as a DLL)? I am sorry, but i don't really know how to check this. I have been following a couple of tutorials on how to use DCMTK in c++/cli with windows forms. I believe it is something can find in the propertie...
by ruben.cruz
Mon, 2019-07-22, 10:26
Forum: DCMTK - General
Topic: Logs layout error
Replies: 7
Views: 4025

Re: Logs layout error

#include "dcmtk/config/osconfig.h" #include "dcmtk/dcmdata/dcdatset.h" #include "dcmtk/dcmnet/scpcfg.h" #include "dcmtk/dcmnet/scppool.h" #include "dcmtk/dcmnet/scpthrd.h" #include "dcmtk/dcmnet/dstorscp.h" #include "dcmtk/dcmnet/dsto...
by ruben.cruz
Fri, 2019-07-19, 14:52
Forum: DCMTK - General
Topic: Logs layout error
Replies: 7
Views: 4025

Re: Logs layout error

J. Riesmeier wrote: Fri, 2019-07-19, 13:17 Which version of the DCMTK do you use?
dcmtk-3.6.4