Search found 32 matches
- Sun, 2023-02-26, 17:31
- Forum: DCMTK - Installation
- Topic: dcmjpls.lib : possible defect in the configuration tool?
- Replies: 1
- Views: 7788
dcmjpls.lib : possible defect in the configuration tool?
Windows 11/x64. VS 2022 It is resolved for me now, I just wanted to share the fix and perhaps get some explanation? I had a problem statically linking DCMTK libraries statically to my application. There were 3 unresolved entries. 2>dcmjpls.lib(djcodece.obj) : error LNK2019: unresolved external symbo...
- Sun, 2023-02-26, 16:26
- Forum: DCMTK - Installation
- Topic: 3.6.7 : Problem with linking JpegLS static library on Windows
- Replies: 3
- Views: 8866
Re: 3.6.7 : Problem with linking Static Libs on Windows
I now read the FAQ #27 about the order of the linked libraries. So I complied with the suggested order: Iphlpapi.lib NetAPI32.lib WSock32.lib ofstd.lib oflog.lib dcmdata.lib dcmsign.lib dcmnet.lib dcmdsig.lib dcmsr.lib dcmqrdb.lib dcmtls.lib dcmwlm.lib dcmimgle.lib dcmpstat.lib dcmjpls.lib dcmjpeg.l...
- Sat, 2023-02-25, 04:41
- Forum: DCMTK - Installation
- Topic: 3.6.7 : Problem with linking JpegLS static library on Windows
- Replies: 3
- Views: 8866
problem linking JpegLS static library
On Windows 11 (VS 2022/ x64) 1. Now I am able to compile DCMTK 3.6.7 as several DLLs and able to run my application fine. BUT. If I specify to Build as Static Libraries (by specifying CMake flag SHARED_LIBS=OFF, then I am not able fully link it with my application. Now there are only 3 errors in lin...
- Fri, 2023-02-24, 06:25
- Forum: DCMTK - Installation
- Topic: 3.6.7 : Problem with linking JpegLS static library on Windows
- Replies: 3
- Views: 8866
3.6.7 : Problem with linking JpegLS static library on Windows
Current status below.
- Thu, 2023-01-05, 15:20
- Forum: DCMTK - General
- Topic: missing in 3.6.7 DcmFileFormat::loadFileUntilTagFromBuffer
- Replies: 1
- Views: 1231
missing in 3.6.7 DcmFileFormat::loadFileUntilTagFromBuffer
Hi DCMTK team,
I am trying to upgrade from 3.6.3 to 3.6.7 but during recompilation
I found out that DcmFileFormat::loadFileUntilTagFromBuffer function is not available anymore.
Is there an easy replacement for it?
Thank you in advance,
-Artem
I am trying to upgrade from 3.6.3 to 3.6.7 but during recompilation
I found out that DcmFileFormat::loadFileUntilTagFromBuffer function is not available anymore.
Is there an easy replacement for it?
Thank you in advance,
-Artem
- Fri, 2021-11-26, 17:04
- Forum: DCMTK - General
- Topic: Extracting frame Image from Multiframe DICOM is not thread safe?
- Replies: 1
- Views: 2163
Extracting frame Image from Multiframe DICOM is not thread safe?
I have this simple code to extract individual frame images from Multiframe DICOM file DcmDataset* DS; DicomImage** ImgArr; ...... ......... for ( int fi=0; fi<NumFrames; fi++ ) { ImgArr[fi] = new DicomImage((DcmObject*)DS,Tsynx,0,unsigned long(fi),unsigned long(1))); } So in Serial mode it works fin...
- Fri, 2021-11-26, 16:15
- Forum: DCMTK - General
- Topic: How to write DICOM file with Sint16 pixel representation
- Replies: 3
- Views: 2090
Re: How to write DICOM file with Sint16 pixel representation
Thank you so much - you advice worked. Confusion came from using the "representation" from the DicomImage object DicomImage* Img; ... const DiPixel *obp = Img->getInterData(); EP_Representation PixRep = obp->getRepresentation(); Now it is clear that the DCM_PixelRepresentation {0,1} is ent...
- Thu, 2021-11-25, 19:02
- Forum: DCMTK - General
- Topic: How to write DICOM file with Sint16 pixel representation
- Replies: 3
- Views: 2090
How to write DICOM file with Sint16 pixel representation
Hi there, I had no problem in the past writing the DICOM file using unsigned Uint16 type. Now I try to write a DICOM file with Sint16 datatype (and Rescale\Intercept). I tried 2 different ways and both give me various trouble in my scenario: What am I doing wrong? Is there a better way? Thank you. a...
- Wed, 2021-03-24, 21:24
- Forum: DCMTK - General
- Topic: How to over-write a modified DICOM file?
- Replies: 4
- Views: 3382
How to over-write a modified DICOM file?
Hi OFFIS friends, I want to open DICOM file, remove some tag (like Patient Name), and Save the file over the original file. I have this simple code: ********************************************************************* DcmFileFormat* S = NULL; S = new DcmFileFormat(); S->loadFile( SrcName );; // CLE...
- Mon, 2021-02-01, 14:23
- Forum: DCMTK - General
- Topic: Not able to load a single DICOM file
- Replies: 10
- Views: 4717
Re: Not able to load a single DICOM file
This is a perfect API solution, thank you so much for suggestion - it worked!
best regards,
-Artem
best regards,
-Artem
- Fri, 2021-01-29, 19:11
- Forum: DCMTK - General
- Topic: Not able to construct DicomImage from a single file
- Replies: 9
- Views: 3625
Re: Not able to construct DicomImage from a single file
Many thanks, Joerg.
I will apply the correction as you suggested and it fixed the problem.
Excellent news - as always great help from DCMTK team.
kind regards,
-Artem
I will apply the correction as you suggested and it fixed the problem.
Excellent news - as always great help from DCMTK team.
kind regards,
-Artem
- Fri, 2021-01-29, 17:42
- Forum: DCMTK - General
- Topic: Not able to construct DicomImage from a single file
- Replies: 9
- Views: 3625
Re: Not able to construct DicomImage from a single file
Email was sent to specified address with the problem file attached.
Thank you once again.
-Artem
Thank you once again.
-Artem
- Fri, 2021-01-29, 15:13
- Forum: DCMTK - General
- Topic: Not able to construct DicomImage from a single file
- Replies: 9
- Views: 3625
Re: Not able to construct DicomImage from a single file
Thank you so much for your help. This PET image comes from an established vendor in Japan. File seems to be valid, Mango software loads and displays it properly. Here is the link to the Mango viewer: http://ric.uthscsa.edu/mango/ Let me know if you want me to resend this problematic file other than ...
- Fri, 2021-01-29, 14:28
- Forum: DCMTK - General
- Topic: Not able to construct DicomImage from a single file
- Replies: 9
- Views: 3625
Re: Not able to construct DicomImage from a single file
Unfortunately both commands {dcm2pnm, dcmj2pnm} are failing in the same way. I use DCMTK binaries 3.6.5. It is Windows x64 with AMD 3950X processor. Here is the output (identical for both tools): D:\Dcmtk365\bin>dcmj2pnm --debug d:\temp\897.dcm D: $dcmtk: dcmj2pnm v3.6.5 2019-10-28 $ D: I: reading D...
- Thu, 2021-01-28, 19:36
- Forum: DCMTK - General
- Topic: Not able to construct DicomImage from a single file
- Replies: 9
- Views: 3625
Re: Not able to construct DicomImage from a single file
Also, file seems to be valid, as some viewers are able to load it.
F.e. Mango software.
F.e. Mango software.