Search found 11 matches

by zrhcheer
Mon, 2020-08-10, 11:09
Forum: DCMTK - General
Topic: On the problem that dicmtk can't read drtstructuresetiod data
Replies: 15
Views: 5374

Re: On the problem that dicmtk can't read drtstructuresetiod data

I counted it and found that the length of our SOP was 29, but the length was 30, so was Sante DICOM see.
by zrhcheer
Mon, 2020-08-10, 10:45
Forum: DCMTK - General
Topic: On the problem that dicmtk can't read drtstructuresetiod data
Replies: 15
Views: 5374

Re: On the problem that dicmtk can't read drtstructuresetiod data

[img]e:/listen.png[/img] Step by step, I noted the code and found that: OFCondition DcmSCP::listen() { // make sure not to let dcmdata remove trailing blank padding or perform other // manipulations. We want to see the real data. dcmEnableAutomaticInputDataCorrection.set( OFFalse ); I set it when lo...
by zrhcheer
Mon, 2020-08-10, 08:30
Forum: DCMTK - General
Topic: On the problem that dicmtk can't read drtstructuresetiod data
Replies: 15
Views: 5374

Re: On the problem that dicmtk can't read drtstructuresetiod data

I found that dynamic library data can't be read out and file storescp.cfg It matters! I added the following code,If i annotate this paragraph, the program will be OK: if (m_ptrSCP)//DcmTestSCP m_ptrSCP { m_ptrSCP->setPort(m_port); m_ptrSCP->setAETitle(m_AETitle); if (m_ptrSCP->loadAssociationCfgFile...
by zrhcheer
Mon, 2020-08-10, 02:00
Forum: DCMTK - General
Topic: On the problem that dicmtk can't read drtstructuresetiod data
Replies: 15
Views: 5374

Re: On the problem that dicmtk can't read drtstructuresetiod data

warn: 2020-08-10 08:56:11 WARN: SOPClassUID (0008,0016) violates VR definition in SOPCommonModule (F:\opensource\DCMTK\dcmtk-3.6.5\dcmrt\libsrc\drttypes.cc:175) 2020-08-10 08:56:11 WARN: PatientBirthDate (0010,0030) violates VR definition in PatientModule (F:\opensource\DCMTK\dcmtk-3.6.5\dcmrt\libsr...
by zrhcheer
Sat, 2020-08-08, 00:22
Forum: DCMTK - General
Topic: On the problem that dicmtk can't read drtstructuresetiod data
Replies: 15
Views: 5374

Re: On the problem that dicmtk can't read drtstructuresetiod data

There are warnings in the log, but reading data failed. The static library is normal.
Open it with view file, and it seems that there is no space. During debugging, the static library is normal, and the string read by the dynamic library has no space, but the length is one more bit and becomes 30.
by zrhcheer
Fri, 2020-08-07, 07:46
Forum: DCMTK - General
Topic: On the problem that dicmtk can't read drtstructuresetiod data
Replies: 15
Views: 5374

Re: On the problem that dicmtk can't read drtstructuresetiod data

I went further and found that the size of the string read out in the dynamic library was not 29, but 30
by zrhcheer
Fri, 2020-08-07, 05:48
Forum: DCMTK - General
Topic: On the problem that dicmtk can't read drtstructuresetiod data
Replies: 15
Views: 5374

Re: On the problem that dicmtk can't read drtstructuresetiod data

Yes, that's the data My debug stack is: xx.exe!vrscan::scan(const OFString & vr, const char * const value, const unsigned __int64 size) 行 59 C++ xx.exe!DcmElement::scanValue(const OFString & vr, const char * const value, const unsigned __int64 size) 行 2136 C++ xx.exe!DcmElement::scanValue(co...
by zrhcheer
Thu, 2020-08-06, 01:31
Forum: DCMTK - General
Topic: On the problem that dicmtk can't read drtstructuresetiod data
Replies: 15
Views: 5374

On the problem that dicmtk can't read drtstructuresetiod data

When I use dicmtk-3.6.5, I read drtstructuresetiod data and report the following warning: 2020-08-05 15:16:43 WARN: SOPClassUID (0008,0016) violates VR definition in SOPCommonModule (F:\opensource\DCMTK\dcmtk-3.6.5\dcmrt\libsrc\drttypes.cc:175) The data is not read in normally. After compiling the d...