Search found 9 matches

by ogabor
Thu, 2007-10-11, 12:07
Forum: DCMTK - General
Topic: DB ALERT
Replies: 9
Views: 11757

Yes, my index.dat is higher than 32M
ls -l ./index.dat
-rw-rwxr-- 1 root petuser 62781920 10/10/07 ./index.dat*
OK, I rewrite the cited code snippet. I hope it will work.
Thanks again
by ogabor
Wed, 2007-10-10, 12:34
Forum: DCMTK - General
Topic: DB ALERT
Replies: 9
Views: 11757

If I issue a 'grep' in source directory of dcmtk-3.5.4, the result ogabor@pong:/site/src/dcmtk-3.5.4$ grep "DB_UpperMaxStudies" -r . ./dcmqrdb/apps/dcmqridx.cc: DcmQueryRetrieveIndexDatabaseHandle hdl(opt_storageArea, DB_UpperMaxStudies, DB_UpperMaxBytesPerStudy, cond); ./dcmqrdb/libsrc/dc...
by ogabor
Tue, 2007-10-09, 17:39
Forum: DCMTK - General
Topic: DB ALERT
Replies: 9
Views: 11757

DB ALERT

hello, I have a bit annoying problem with dcmqrti tool. If I select a database by 'database 1' in dcmqrti prompt and query the list of studies by 'study' the console is flooded by '*** DB ALERT: attempt to seek beyond 33554432 bytes' message. And at the end of message I get back the desired list of ...
by ogabor
Thu, 2006-06-01, 14:42
Forum: DCMTK - General
Topic: DiPixel::getData() vs. DicomImage::getOutputData() dilemma
Replies: 9
Views: 12368

My last question (Posted: Mon, 2006-02-27, 15:57) has not been answered by this time. So it is opened for me. But I use the next code with no problems: DicomImage *di = 0; di = new DicomImage(dataset, opt_oxfer, CIF_MayDetachPixelData); if (!di) cout<<"memory exhausted"<<endl; if (di->getS...
by ogabor
Mon, 2006-02-27, 14:57
Forum: DCMTK - General
Topic: DiPixel::getData() vs. DicomImage::getOutputData() dilemma
Replies: 9
Views: 12368

DiPixel::getRepresentation()

Thank you very much. It solved my problem. But let me put one more question: the earlier mentioned diffusion MR file header ( http://pet.dote.hu/~ogabor/slice1 ) contains information about pixel encoding - Bits Allocated: 16 - Bits Stored: 16 - High Bit: 15 - Pixel Representation: 1 So, I hoped the ...
by ogabor
Thu, 2006-02-23, 15:45
Forum: DCMTK - General
Topic: DiPixel::getData() vs. DicomImage::getOutputData() dilemma
Replies: 9
Views: 12368

hello example code to get raw data

The seg.fault encountered in 71 line of simple hello code http://pet.dote.hu/~ogabor/hello.zip . di = new DicomImage(dataset, EXS_Unknown, CIF_MayDetachPixelData); const DiPixel* dipix = di->getInterData(); if (dipix) data = dipix->getData(); pixelData = (const Sint16*)(data); 71 line: Sint16 v = pi...
by ogabor
Thu, 2006-02-23, 15:06
Forum: DCMTK - General
Topic: DiPixel::getData() vs. DicomImage::getOutputData() dilemma
Replies: 9
Views: 12368

DiPixel::getData() vs. DicomImage::getOutputData() dilemma

Dear Developers, I've wanted to get the raw data from MR Diffusion slices and I bumped against the DiPixel::getData() vs. DicomImage::getOutputData() dilemma. As mhavu wrote about it earlier http://forum.dcmtk.org/viewtopic.php?t=651&highlight=getdata . I tried: const DiPixel *pixeldata = dimg->...
by ogabor
Thu, 2005-06-30, 09:25
Forum: DCMTK - General
Topic: Value Multiplicity problem (Value Representation is OW)
Replies: 3
Views: 5895

OK, the correct cardinality can be calculated (source from dcvrobow.cc): size_t count = 1; if ( element -> ident() == EVR_OW ) { /* get array of 16 bit values */ count = OFstatic_cast(size_t, element->getLength() / sizeof(Uint16)); } else { /* get array of 8 bit values */ count = OFstatic_cast(size_...
by ogabor
Wed, 2005-06-29, 16:08
Forum: DCMTK - General
Topic: Value Multiplicity problem (Value Representation is OW)
Replies: 3
Views: 5895

Value Multiplicity problem (Value Representation is OW)

Hi Jörg, Thomas, Marco, Michael and Others, I've a problem with the value multiplicity, when the value representation is OW. Here is a simple sample code: int main(int argc, char *argv[]) { DcmFileFormat fileformat; OFCondition status = fileformat.loadFile(argv[1]); if (status.good()) { DcmItem *dit...