Win7 64 ultimate
VS2010 ultimate
Sorry forgot that..Thanks!
Search found 6 matches
- Fri, 2013-09-27, 02:31
- Forum: DCMTK - General
- Topic: boost.test detected memory leak, DcmFileFormat in thread
- Replies: 6
- Views: 7156
- Wed, 2013-09-25, 05:19
- Forum: DCMTK - General
- Topic: boost.test detected memory leak, DcmFileFormat in thread
- Replies: 6
- Views: 7156
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...
- Sun, 2013-09-22, 10:03
- Forum: DCMTK - General
- Topic: boost.test detected memory leak, DcmFileFormat in thread
- Replies: 6
- Views: 7156
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...
- Thu, 2012-11-15, 11:22
- Forum: DCMTK - General
- Topic: DicomImage::writeBMP wrong with an US file
- Replies: 5
- Views: 6976
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. )
- Tue, 2012-11-13, 01:47
- Forum: DCMTK - General
- Topic: DicomImage::writeBMP wrong with an US file
- Replies: 5
- Views: 6976
Re: DicomImage::writeBMP wrong with an US file
Thank you, omarelgazzar!
Yes, I did include these headers:
And the dcm2pnm outputs the same result too, DCMTK-3.6.1_20121102.
Yes, I did include these headers:
Code: Select all
#include "dcmtk/dcmdata/dctk.h"
#include "dcmtk/dcmimage/diregist.h"
#include "dcmtk/dcmimgle/dcmimage.h"
- Mon, 2012-11-12, 10:05
- Forum: DCMTK - General
- Topic: DicomImage::writeBMP wrong with an US file
- Replies: 5
- Views: 6976
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&...