Search found 24 matches

by buiductoan
Wed, 2013-03-06, 11:17
Forum: DCMTK - General
Topic: Problem when using DcmImage in Ubuntu
Replies: 1
Views: 2684

Problem when using DcmImage in Ubuntu

Hello everybody, I am using DCMTK library in Ubuntu. This is my code to get Pixeldata of a DICOM file. But the output notifies E: can't load data dictionary And this is my code OFString imgPath_ ="/home/abc/Desktop/002.dcm" //path file DicomImage *image=new DicomImage(imgPath_.c_str());//C...
by buiductoan
Thu, 2013-02-28, 06:37
Forum: DCMTK - General
Topic: What is AGFA DICOM standard?
Replies: 1
Views: 2562

What is AGFA DICOM standard?

Hello everybody, I am working with DICOM file. And in my DICOM file has some files that create by equipment is an AGFA. What is AGFA equipment and difference normal DICOM and DICOM is created from AGFA equipment?
by buiductoan
Wed, 2013-02-27, 01:40
Forum: DCMTK - General
Topic: Image type in DICOM Standard MONOCHROME1 and MONOCHROME2
Replies: 1
Views: 3249

Image type in DICOM Standard MONOCHROME1 and MONOCHROME2

Hello everybody, I have a question for image type in dicom standard. In the dicom document I found image type has five types which are : MONOCHROME1 MONOCHROME2 MPEG2 -single component data YBR_ICT YBR_RCT YBR_PARTIAL_420 MPEG2 -multi-component data If image type in dicom file is MONOCHROME1 or MONO...
by buiductoan
Wed, 2013-02-13, 03:32
Forum: DCMTK - General
Topic: How to edit same Tag in DICOM folder
Replies: 1
Views: 2475

How to edit same Tag in DICOM folder

Hello all, I have a folder that contains many DICOM files of a patient. I want to write a application to edit one tag in the DICOM folder, which means I must write one function to edit content in the all file of the folder with same Tag(ex PatientSex). My idea is using DicomDirInterface class to che...
by buiductoan
Mon, 2013-02-11, 02:58
Forum: DCMTK - General
Topic: Can't add dicom file in DIRDICOM?No such file or dicternary
Replies: 5
Views: 5751

Re: Can't add dicom file in DIRDICOM?No such file or dictern

Dear supporter, I have run sell with command.

Code: Select all

 dcmgpdir -v 001 
In the case 001 is DICOM file in same folder with dcmgpdir.exe but the result is the same result of the my code. I am using DCMTK version 3.6.1. What is happend?
by buiductoan
Sun, 2013-02-10, 16:30
Forum: DCMTK - General
Topic: Can't add dicom file in DIRDICOM?No such file or dicternary
Replies: 5
Views: 5751

Re: Can't add dicom file in DIRDICOM?No such file or dictern

I don't use command line, I use code to add dicom file in DIRDICOM. And this log is a result from below code. What was error in my code?
by buiductoan
Fri, 2013-02-08, 09:56
Forum: DCMTK - General
Topic: Can't add dicom file in DIRDICOM?No such file or dicternary
Replies: 5
Views: 5751

Can't add dicom file in DIRDICOM?No such file or dicternary

I try to add dicom file in to dicom dir but not sucessful. I reference some topic in forum, and realize that some people has the same proplem. I have one dicom file in C disk that name is B. But the result is "checking file C:\B No such file or dicternary : reading file B ..." This is my c...
by buiductoan
Fri, 2013-02-08, 02:31
Forum: DCMTK - General
Topic: Edit content tag in multiple dicom file
Replies: 0
Views: 13989

Edit content tag in multiple dicom file

Hello, everybody. I am writing a function to edit or delete content Tag in the multiple file. I worked successfully with single file. But I don't know in DCMTK has class to process multiple file or has not. Can you help me to answer my question?
by buiductoan
Thu, 2013-02-07, 01:17
Forum: DCMTK - General
Topic: How to replace Image in Dicom file
Replies: 2
Views: 3835

Re: How to replace Image in Dicom file

I think this idea not accurate. Because you can not copy all information in header and dataset in a new file. Instead of you must get pixel data from jpg file and copy it into PixelData Tag in DICOM file. But I try to copy but not successfully. The first I will convert image to dataset by code Image...
by buiductoan
Wed, 2013-02-06, 01:28
Forum: DCMTK - General
Topic: How to replace Image in Dicom file
Replies: 2
Views: 3835

How to replace Image in Dicom file

Hello everybody, I have a DICOM file include header and image. I want to replace the image in dicom file by other image (example testimage.jpg). So I will use DicomImage class to do it. But I don't know function to do it. How to replace Image in Dicom file? My idea has two steps: + First step, I wil...
by buiductoan
Thu, 2013-01-31, 01:17
Forum: DCMTK - General
Topic: Using getPrivateCreator was error
Replies: 4
Views: 4653

Re: Using getPrivateCreator was error

Thank you. Do you know how to get private creator name of a Tag?
by buiductoan
Wed, 2013-01-30, 13:13
Forum: DCMTK - General
Topic: Using getPrivateCreator was error
Replies: 4
Views: 4653

Re: Using getPrivateCreator was error

Can you explain clearly? I think in DCMTK can't get private creator of a tag.
by buiductoan
Wed, 2013-01-30, 06:54
Forum: DCMTK - General
Topic: How to get information from private tag.
Replies: 6
Views: 7025

Re: How to get information from private tag.

OK, To understand easily. Assume that I copy code from this http://support.dcmtk.org/wiki/dcmtk/howto/addprivatedata . In the example, the author using print(OUT) to view output.And I don't want to use print function to print, I want to get private tag that is created before. Please help me? Because...
by buiductoan
Wed, 2013-01-30, 05:13
Forum: DCMTK - General
Topic: Using getPrivateCreator was error
Replies: 4
Views: 4653

Using getPrivateCreator was error

Assume that in the my dicom file has two tags which are TAG1(PrivateCreator) and TAG2(member of TAG1). And I will write a function to get TAG2 with input condition is TAG1. That means I will use function getPrivateCreator() and compare the result with TAG1 name. But I can't get result when using get...
by buiductoan
Tue, 2013-01-29, 02:49
Forum: DCMTK - General
Topic: How to get information from private tag.
Replies: 6
Views: 7025

Re: How to get information from private tag.

I know this topic. I added private successfully. I can use print(COUT) to display. But I want to display it by use code not use print(COUT)