Search found 6 matches

by YueZijian
Fri, 2013-09-27, 02:31
Forum: DCMTK - General
Topic: boost.test detected memory leak, DcmFileFormat in thread
Replies: 6
Views: 7143

Re: boost.test detected memory leak, DcmFileFormat in thread

Win7 64 ultimate
VS2010 ultimate

Sorry forgot that..Thanks!
by YueZijian
Wed, 2013-09-25, 05:19
Forum: DCMTK - General
Topic: boost.test detected memory leak, DcmFileFormat in thread
Replies: 6
Views: 7143

Re: boost.test detected memory leak, DcmFileFormat in thread

Thank you Michael Onken! Thank you J. Riesmeier! "dcmDataDict.clear()" doesn't help. There is no memory leak show up after comment "dcmStopParsingAfterElement.set( DCM_PixelData )", but I have to use it. git code version "Do not copy DcmDataset during C-GET receive" 201...
by YueZijian
Sun, 2013-09-22, 10:03
Forum: DCMTK - General
Topic: boost.test detected memory leak, DcmFileFormat in thread
Replies: 6
Views: 7143

boost.test detected memory leak, DcmFileFormat in thread

Source: #include <dcmtk/dcmdata/dctk.h> #include <boost/thread.hpp> #include <boost/test/unit_test.hpp> #define BOOST_TEST_MODULE MyTest static void thread_load() { DcmFileFormat dff; dff.loadFile( "ct.dcm" ); // already sent to dicom@offis.de } BOOST_AUTO_TEST_CASE( MyCase ) { dcmStopPars...
by YueZijian
Thu, 2012-11-15, 11:22
Forum: DCMTK - General
Topic: DicomImage::writeBMP wrong with an US file
Replies: 5
Views: 6933

Re: DicomImage::writeBMP wrong with an US file

Great help for me, it's worked, thanks! (You won't believe this, the standardization in my place, is horrible. :( )
by YueZijian
Tue, 2012-11-13, 01:47
Forum: DCMTK - General
Topic: DicomImage::writeBMP wrong with an US file
Replies: 5
Views: 6933

Re: DicomImage::writeBMP wrong with an US file

Thank you, omarelgazzar!

Yes, I did include these headers:

Code: Select all

#include "dcmtk/dcmdata/dctk.h"
#include "dcmtk/dcmimage/diregist.h"
#include "dcmtk/dcmimgle/dcmimage.h"
And the dcm2pnm outputs the same result too, DCMTK-3.6.1_20121102.
by YueZijian
Mon, 2012-11-12, 10:05
Forum: DCMTK - General
Topic: DicomImage::writeBMP wrong with an US file
Replies: 5
Views: 6933

DicomImage::writeBMP wrong with an US file

http://pic.kximg.cc/pic/photo/50/26/773514_909502686_w1280p.jpeg void test() { DcmFileFormat dff; OFCondition c = dff.loadFile( "us.dcm" ); if( c.bad() ) { return; } DicomImage di( dff.getDataset(), EXS_Unknown ); if( EIS_Normal != di.getStatus() ) { return; } di.writeBMP( "test.bmp&...