Search found 31 matches

by Silvermaul
Sun, 2010-12-05, 15:57
Forum: DCMTK - General
Topic: Latest Snapshot : new DicomImage("myImage.ima"); throws out of memory exception
Replies: 8
Views: 8020

It goes to about 1GB and then it throws the exception. This doesn't seem to be the case with all my other datasets who alllocate exactly the amount of memory that corresponds to the pixel data. Why should this case be different from the others? And on 64 bit systems I think the process could be > 2G...
by Silvermaul
Fri, 2010-12-03, 15:01
Forum: DCMTK - General
Topic: Latest Snapshot : new DicomImage("myImage.ima"); throws out of memory exception
Replies: 8
Views: 8020

I am using xp 64 bit, and in general all workstations with the particular software are some really beastly machines. With server motherboards 16GB Ram and crazy graphic cards. Just checked : Tranfer syntax UID : 1.2.840.10008.1.2.1 Therefore the dataset is not compressed. The exception is thrown onl...
by Silvermaul
Thu, 2010-12-02, 19:22
Forum: DCMTK - General
Topic: Latest Snapshot : new DicomImage("myImage.ima"); throws out of memory exception
Replies: 8
Views: 8020

Well this is the exception I am catching. My supervisors assured me that the image is not compressed therefore it seems impossible not being able to allocate 2GB of RAM since I have 12 available. However to be completely sure I will check if the image is indeed compressed and let you know. In the me...
by Silvermaul
Thu, 2010-12-02, 15:14
Forum: DCMTK - General
Topic: Latest Snapshot : new DicomImage("myImage.ima"); throws out of memory exception
Replies: 8
Views: 8020

try { setDicomImage(new DicomImage(getDicomFilePath())); } catch(std::bad_alloc & ex) { error<<"new DicomImage(getDicomFilePath())"<<DCMOD_Con::NEWLINE<<"Original message was : " <<ex.what(); throw DCMOD_Ex::OutOfMemoryException("CModBaseClass::loadDicomImage()", e...
by Silvermaul
Thu, 2010-12-02, 13:30
Forum: DCMTK - General
Topic: Latest Snapshot : new DicomImage("myImage.ima"); throws out of memory exception
Replies: 8
Views: 8020

Latest Snapshot : new DicomImage("myImage.ima"); throws out of memory exception

Hi all, I am using the latest dcmtk snapshot to modify some datasets. I have performed thousands of these modifications, however the problem occurs whenever I try to modify a file with the following specs : rows : 960 columns : 960 frames : 498 Each pixel is 16 bit. Calling new DicomImage("path...
by Silvermaul
Fri, 2010-10-29, 14:32
Forum: DCMTK - Installation
Topic: Upgrading to latest snapshot
Replies: 2
Views: 4781

I removed support for xml,zlib,ssl, etc and it worked. Apparently to use those libraries you need to add some more libraries but since I don't use them I can live without them :)

In any case if you happen to solve this problem let me know :)
by Silvermaul
Fri, 2010-10-29, 14:14
Forum: DCMTK - Installation
Topic: Not able to compile - link error lnk2001
Replies: 6
Views: 10868

No problem :)

I was just trying to figure out why I have linker error and I thought that may be it but I am still unable to solve my problem. At least something good came out ;)
by Silvermaul
Fri, 2010-10-29, 14:00
Forum: DCMTK - Installation
Topic: Upgrading to latest snapshot
Replies: 2
Views: 4781

Upgrading to latest snapshot

Hi all, I just finished compiling the latest dcmtk snapshop because the one I was using before was precompiled with a compiler for which I didn't have the C++ redistributables. In any case to make a long story short I managed to compile DCMTK with /MT options and I am using the same options in my pr...
by Silvermaul
Fri, 2010-10-29, 13:47
Forum: DCMTK - Installation
Topic: Not able to compile - link error lnk2001
Replies: 6
Views: 10868

There is an error in the picture displayed here :

http://support.dcmtk.org/wiki/_media/dc ... encies.png

dcmsign does not exist. What exists is dcmdsig. Is this the normal correction?
by Silvermaul
Tue, 2010-10-26, 07:43
Forum: DCMTK - Installation
Topic: Using precompiled lib and header files in MSVS 2008
Replies: 3
Views: 6173

Warning 1 warning LNK4099: PDB 'ofstd.pdb' was not found with 'D:\Projects\DCModifier\DCModifier\lib\ofstd.lib' or at 'd:\Projects\DCModifier\DCModifier\Debug\ofstd.pdb'; linking object as if no debug info ofstd.lib DCModifier Whenever I compile my project I get this warning many many times. The pr...
by Silvermaul
Fri, 2010-10-08, 13:35
Forum: DCMTK - General
Topic: Dcmodify : error : unable to load file
Replies: 12
Views: 12855

Update :

Using the binaries from 3.5.4 doesn't work. Using the binaries from the latest snapshot works fine. Apparently some libs were not included or I have been using lib-dependend-binaries all this time.
by Silvermaul
Fri, 2010-10-08, 12:44
Forum: DCMTK - General
Topic: Dcmodify : error : unable to load file
Replies: 12
Views: 12855

Could you tell me with which version you compiled these binaries? While trying to run it in a win xp64 machine I got the : The system cannot execute the specified program error. I need to install some VS redistributable but I don't know which version to use since I don't know with which version were...
by Silvermaul
Wed, 2010-10-06, 14:50
Forum: DCMTK - General
Topic: Dcmodify : error : unable to load file
Replies: 12
Views: 12855

Give my regards to your colleague :) and thanks for the 10th time..
by Silvermaul
Wed, 2010-10-06, 13:27
Forum: DCMTK - General
Topic: Dcmodify : error : unable to load file
Replies: 12
Views: 12855

Haha :) well I was using a rather famous commercial tool a while ago and while it was claiming to offer no template support for C++ , there were such "undocumented" options :).. I had to ask! :) Will I have to build the binaries for the latest snapshot ? I am running windows here and from ...
by Silvermaul
Wed, 2010-10-06, 11:34
Forum: DCMTK - General
Topic: Dcmodify : error : unable to load file
Replies: 12
Views: 12855

Is there a way to specify where the modified output file is? Or perhaps stop the tool from creating the .bak file ? I know there is not such an option in the help but I was wondering if there was an undocumented option.