Search found 13 matches

by vignesh
Fri, 2024-08-30, 07:16
Forum: DCMTK - General
Topic: Applying Rescale slope and Rescale intercept and Modality LUT Sequence
Replies: 1
Views: 880

Applying Rescale slope and Rescale intercept and Modality LUT Sequence

Let's say I want to read my DICOM File and extract pixel data to display it on a viewer. I have gone through the following links, https://dicom.nema.org/medical/dicom/current/output/chtml/part03/sect_c.8.15.3.10.html . I have a few Questions regarding applying rescale slope and intercept over an ima...
by vignesh
Tue, 2024-08-27, 06:35
Forum: DCMTK - General
Topic: Exception While Decompress the JPEG-LS Dicom file
Replies: 4
Views: 1057

Re: Exception While Decompress the JPEG-LS Dicom file

Thank you. I will upgrade to the latest version of DCMTK.
by vignesh
Tue, 2024-08-20, 06:59
Forum: DCMTK - General
Topic: Exception While Decompress the JPEG-LS Dicom file
Replies: 4
Views: 1057

Re: Exception While Decompress the JPEG-LS Dicom file

Hi, Thanks for your reply. I checked the sample code in DCMTK-3.6.8, and it works fine. I also used dcmdjpls.exe in DCMTK-3.6.4 to decompress the DICOM file from JPEG-LS Lossless to LittleEndianExplicit. The decompression was successful, and the decompressed file was saved correctly. dcmdjpls.exe ou...
by vignesh
Wed, 2024-08-14, 11:58
Forum: DCMTK - General
Topic: Exception While Decompress the JPEG-LS Dicom file
Replies: 4
Views: 1057

Exception While Decompress the JPEG-LS Dicom file

Hi, I used DCMTK-3.6.4 to decompress a DICOM file from JPEG-LS Lossless Image Compression to LittleEndianExplicit. However, when I called the chooseRepresentation function, the application crashed for the attached DICOM file. Here is what I have tried in my application. Sample code: #include "d...
by vignesh
Fri, 2024-01-05, 14:17
Forum: DCMTK - General
Topic: When Decompressing DICOM get "Tag not found" error
Replies: 2
Views: 13806

Re: When Decompressing DICOM get "Tag not found" error

Hi Riesmeier,

Thanks for your response.
by vignesh
Thu, 2024-01-04, 14:59
Forum: DCMTK - General
Topic: When Decompressing DICOM get "Tag not found" error
Replies: 2
Views: 13806

When Decompressing DICOM get "Tag not found" error

Hi, I am using DCMTK 3.6.4 version. when decompressing DICOM file ,i am facing "Tag not found" error. Sample Code : int main(int argc, char* argv[]) { DJDecoderRegistration::registerCodecs(); DJEncoderRegistration::registerCodecs(); OFCondition status = EC_Normal; DcmFileFormat file; std::...
by vignesh
Fri, 2023-08-11, 10:57
Forum: DCMTK - General
Topic: Memory Leak occurring When Inserting 1000CT Datasets in std::map
Replies: 6
Views: 25153

Re: Memory Leak occurring When Inserting 1000CT Datasets in std::map

Hi, I ran the sample code for 300 iterations using the same 1000 DICOM files valgrind (Linux) report: valgrind --leak-check=full ./leak_check ==76968== Memcheck, a memory error detector ==76968== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==76968== Using Valgrind-3.15.0 and LibV...
by vignesh
Tue, 2023-08-08, 14:13
Forum: DCMTK - General
Topic: Memory Leak occurring When Inserting 1000CT Datasets in std::map
Replies: 6
Views: 25153

Re: Memory Leak occurring When Inserting 1000CT Datasets in std::map

thanks for your reply.

Code: Select all

data_ptr = std::make_shared<DcmDataset>(*dataset);
If I have commented out this line, then there are no leaks occurring.
by vignesh
Mon, 2023-08-07, 12:20
Forum: DCMTK - General
Topic: Memory Leak occurring When Inserting 1000CT Datasets in std::map
Replies: 6
Views: 25153

Memory Leak occurring When Inserting 1000CT Datasets in std::map

Hi I'm Using DCMTK 3.6.6 Version. I have inserted 1000 CT DICOM file datasets into std::map. A CT file size is 48 KB. Initially, the Application size is 3 MB. When I load 1000 CT Files, the Application size is around 50 MB. And in the next iteration, it starts at 3 MB. I am iterating the while loop ...
by vignesh
Mon, 2023-06-12, 11:28
Forum: DCMTK - General
Topic: Memory Leak when using 'DcmFileFormat' read()
Replies: 2
Views: 9108

Re: Memory Leak when using 'DcmFileFormat' read()

Hi,
Thanks for your response.
by vignesh
Mon, 2023-06-12, 07:10
Forum: DCMTK - General
Topic: Memory Leak when using 'DcmFileFormat' read()
Replies: 2
Views: 9108

Memory Leak when using 'DcmFileFormat' read()

Hi I'm Using DCMTK-3.6.6 i have used DcmInputBufferStream for dcm file read. read buffer stream using DcmFileFormat. then save as dcm file. here the sample code DcmInputBufferStream buffer_stream(); std::string outfilename = "E:\\tmp\\New\\test.dcm"; DcmFileFormat fileformat; DcmInputBuffe...
by vignesh
Tue, 2020-01-21, 10:58
Forum: DCMTK - General
Topic: DIMSE Failed to receive message
Replies: 3
Views: 5552

Re: DIMSE Failed to receive message

Hi, when i sent Dicom from StoreSCU. It shows below errors : D: $dcmtk: storescu v3.6.4 2018-11-29 $ D: D: DcmDataDictionary: Loading file: /usr/local/share/dcmtk/dicom.dic I: checking input files ... D: Request Parameters: D: ====================== BEGIN A-ASSOCIATE-RQ ===================== D: Our ...
by vignesh
Tue, 2020-01-21, 08:25
Forum: DCMTK - General
Topic: DIMSE Failed to receive message
Replies: 3
Views: 5552

DIMSE Failed to receive message

Hi, I have used StoreSCP to receive DICOM Image. Transfer Syntax is : 1.2.840.10008.1.2.4.70 SOP Class UID is : 1.2.840.10008.5.1.4.1.1.1.1 while trying to send dicom from storageSCU it shows below error: E: 0006:020e DIMSE Failed to send message E: Store SCU Failed: 0006:020e DIMSE Failed to send m...