Hello,
When I set AE Title in Chinese, there will occur flowwing error durring negotiateAssociation.
"DUL Illegal or ill-formed PDU
0006:030d DUL Illegal unknown item type. Got 126 bytes of data and told to subtract 11829 bytes of data."
Best wishes!
Search found 13 matches
- Wed, 2022-06-01, 09:39
- Forum: DCMTK - General
- Topic: Can I set AE Title in Chinese?
- Replies: 1
- Views: 1121
- Thu, 2022-04-07, 10:53
- Forum: DCMTK - General
- Topic: The Windows is Russian environment, use putAndInsertOFStringArray() wirte 1.2/1.3 in tag DCM_PixelSpacing lost number
- Replies: 3
- Views: 1296
Re: The Windows is Russian environment, use putAndInsertOFStringArray() wirte 1.2/1.3 in tag DCM_PixelSpacing lost numbe
sorry, I express this uncorrectly. This is the question. case EVR_DS: case EVR_FD: { for (unsigned long i = 0; i < vm; i++) { Float64 val; OFCondition con = delem->getFloat64(val, i); OFString strVal; std::string tag; con = delem->getOFString(strVal, i); if (con == EC_Normal) { //char strOut[1024]; ...
- Thu, 2022-03-31, 13:56
- Forum: DCMTK - General
- Topic: The Windows is Russian environment, use putAndInsertOFStringArray() wirte 1.2/1.3 in tag DCM_PixelSpacing lost number
- Replies: 3
- Views: 1296
The Windows is Russian environment, use putAndInsertOFStringArray() wirte 1.2/1.3 in tag DCM_PixelSpacing lost number
Dear all, I use putAndInsertOFStringArray() to write 1.2/1.3 to tag DCM_PixelSpacing of a image. but the result is 1.0/1.0; I find the lost is created by the function OFStandard::atof(); the version my complied, DISABLE_OFSTD_ATOF is not defined. so the function OFStandard::atof() is coded as follow...
- Thu, 2019-07-11, 07:22
- Forum: DCMTK - General
- Topic: what dose "((status==0)||((status & 0xf000)==0xb000))" do?
- Replies: 6
- Views: 3397
Re: what dose "((status==0)||((status & 0xf000)==0xb000))" do?
So "Attribute list error" is a warning status, the code is 0107H, but it does not make ((status & 0xf000)==0xb000)) true. Is that right?
- Wed, 2019-07-10, 04:30
- Forum: DCMTK - General
- Topic: what dose "((status==0)||((status & 0xf000)==0xb000))" do?
- Replies: 6
- Views: 3397
Re: what dose "((status==0)||((status & 0xf000)==0xb000))" do?
Thanks Your reply. We met a FUJI Printer in a hospital, the log is following when create Basic Film Box: - ==================================== create Basic Film Box: CRAETE RQ ==================================== -request.CommandField: 320 -request.msg.NCreateRQ.MessageID: 3 -request.msg.NCreateRQ....
- Mon, 2019-07-08, 03:11
- Forum: DCMTK - General
- Topic: what dose "((status==0)||((status & 0xf000)==0xb000))" do?
- Replies: 6
- Views: 3397
what dose "((status==0)||((status & 0xf000)==0xb000))" do?
In Printing process, after creatRQ(...) in function DVPSStoredPrint::printSCUcreateBasicFilmSession(...),DVPSStoredPrint::printSCUcreateBasicFilmBox(...),and actionRQ(...) in function DVPSStoredPrint::printSCUcreateBasicFilmBox(...)... there will be a judgment statement "((status==0)||((status ...
- Thu, 2019-06-13, 07:25
- Forum: DCMTK - General
- Topic: DicomImage writeBMP() lost information
- Replies: 5
- Views: 2920
Re: DicomImage writeBMP() lost information
sorry, I don't know how to describe it.
I setWindow(4096, 2048), then I got a LUT which has 4096 rows. And the corresponding value of 16 is 0.996336.
But in the output image the value 0.996336 is processed into 0 instead of 1.
Is that right?
I setWindow(4096, 2048), then I got a LUT which has 4096 rows. And the corresponding value of 16 is 0.996336.
But in the output image the value 0.996336 is processed into 0 instead of 1.
Is that right?
- Wed, 2019-06-12, 10:29
- Forum: DCMTK - General
- Topic: DicomImage writeBMP() lost information
- Replies: 5
- Views: 2920
Re: DicomImage writeBMP() lost information
when I call the function setWinodw() in DicomImage, it will call function window() to calculating LUT entries. The value 16 corresponds to 0.996336... in the lookup table.
And then when I call function createWindowsDIB(), the data I got where the value is 0.9963336... will be 0.
Is that right?
And then when I call function createWindowsDIB(), the data I got where the value is 0.9963336... will be 0.
Is that right?
- Thu, 2019-05-09, 11:14
- Forum: DCMTK - General
- Topic: DicomImage writeBMP() lost information
- Replies: 5
- Views: 2920
DicomImage writeBMP() lost information
My question is following: string fileName = "E:\\test \\TG-18.dcm"; DcmFileFormat fileFormat; OFCondition status = fileFormat.loadFile(fileName.c_str()); DicomImage* pDicomImage; DcmDataset *pDataset = fileFormat.getDataset(); E_TransferSyntax xfer = pDataset->getOriginalXfer(); pDicomImag...
- Tue, 2017-09-12, 09:57
- Forum: DCMTK - Installation
- Topic: DCMTK3.6.2 dcmprscu updateJobList
- Replies: 1
- Views: 3078
DCMTK3.6.2 dcmprscu updateJobList
Dear all:
In vertion DCMTK3.6.2,dcmprscu.cc
updateJoblist() is a little different, what is the purpose of the following code?
currentName.find_first_not_of("1234567890",prefixSize) == (currentName.size() - postfixSize)
Best regards
In vertion DCMTK3.6.2,dcmprscu.cc
updateJoblist() is a little different, what is the purpose of the following code?
currentName.find_first_not_of("1234567890",prefixSize) == (currentName.size() - postfixSize)
Best regards
- Tue, 2017-09-05, 03:47
- Forum: DCMTK - Installation
- Topic: DCMTK3.6.0 upgrade to DCMTK3.6.2
- Replies: 2
- Views: 4414
Re: DCMTK3.6.0 upgrade to DCMTK3.6.2
Thanks!
I lost iphlpapi.lib.
I lost iphlpapi.lib.
- Mon, 2017-09-04, 11:31
- Forum: DCMTK - Installation
- Topic: DCMTK3.6.0 upgrade to DCMTK3.6.2
- Replies: 2
- Views: 4414
DCMTK3.6.0 upgrade to DCMTK3.6.2
Dear all: I need upgrade DCMTK from 3.6.0 to 3.6.2. After compiling and getting the static libaray, my solution has following error. I already checked all the Installation questions, but still didn't konw how to solve it. Looking forward to your reply! Thanks! 1>dcmdata.lib(dcuid.obj) : error LNK201...
- Mon, 2017-02-13, 07:58
- Forum: DCMTK - General
- Topic: HELP:: StoreSCU can not be called twice in application.
- Replies: 4
- Views: 5606
Re: HELP:: StoreSCU can not be called twice in application.
I also encoutered this problem. I found if I delete dcmDataDict.clear(); it will work normally, but I don't know why.