Search found 14 matches
- Thu, 2011-08-11, 15:09
- Forum: DCMTK - General
- Topic: how to get the current progress
- Replies: 7
- Views: 8952
I have the same wondering. My software seems to be stuck during dicom reading. But I read a list of dicom files (about 512kB per file), so I can update a progress bar. if there is no way to get the progression of dcmtk process, you can use some tricks: 1) Very ugly: make a logarithmic progress bar: ...
- Tue, 2011-08-09, 10:59
- Forum: DCMTK - General
- Topic: weight calcuation from segmentation
- Replies: 16
- Views: 23924
You are right, Kosborn, the Hounsfield unit is linear. The bone density does not vary because the chemical composition is the same for all of us, but the physical structure varies as you said: trabecular, cortical, age, etc. It is more obvious in a CT scan where a voxel density is a mean of bone den...
- Thu, 2011-07-07, 09:01
- Forum: DCMTK - General
- Topic: weight calcuation from segmentation
- Replies: 16
- Views: 23924
Are you sure that the rendered output of the pixel data is really the kind of data you need? This data is for image display and nothing else ... exact. I need exactly the same data as recorded in the dicom file. getOutpuData(12) works fine. I get pixel data between 0 and 3000. Converted to HU thank...
- Wed, 2011-07-06, 20:29
- Forum: DCMTK - General
- Topic: weight calcuation from segmentation
- Replies: 16
- Views: 23924
- Wed, 2011-07-06, 18:35
- Forum: DCMTK - General
- Topic: weight calcuation from segmentation
- Replies: 16
- Views: 23924
- Wed, 2011-07-06, 16:42
- Forum: DCMTK - General
- Topic: weight calcuation from segmentation
- Replies: 16
- Views: 23924
still stuck... some new informations: In my software, I use dcmtk to read dicom files: I hide overlays: image->hideAllOverlays(); I unset VOI: image->setNoVoiTransformation(); I memcpy pixel data: image->getOutputData() which contains 12 significants bits but padded to 16 bits. Histogram looks good ...
- Tue, 2011-07-05, 12:40
- Forum: DCMTK - General
- Topic: weight calcuation from segmentation
- Replies: 16
- Views: 23924
ok. There are 548 slices in the exam. here is the ouput for the slice 275. Slice 24 was too far from the bone, sorry. I: reading DICOM file: IM275 I: preparing pixel data I: dumping image parameters I: filename : IM275 I: transfer syntax : JPEG Lossless, Non-hierarchical, 1st Order Prediction I: SOP...
- Tue, 2011-07-05, 10:48
- Forum: DCMTK - General
- Topic: weight calcuation from segmentation
- Replies: 16
- Views: 23924
- Tue, 2011-07-05, 10:13
- Forum: DCMTK - General
- Topic: weight calcuation from segmentation
- Replies: 16
- Views: 23924
Thank you for answering me. Did you check and compare the pixel value range in both images? one is resin, near water density. Values are on 12 bits and range is correct. Weight works on it. The other is dry bone. Values on 12 bits too. Range is correct too, but different from the first because mater...
- Mon, 2011-07-04, 11:01
- Forum: DCMTK - General
- Topic: weight calcuation from segmentation
- Replies: 16
- Views: 23924
weight calcuation from segmentation
Hi, I don't know where to ask this question, so I post it here. I have a segmented dicom exam. I use the slope and intercept to get hounsfield values: HU = voxel_grey_value * slope + intercept I convert to a weight: vox_weight = HU / 1000 + 1 This weight is good for a 1cm3 voxel, so I scale it: vox_...
- Wed, 2011-06-15, 09:47
- Forum: DCMTK - General
- Topic: Pixel data in private tag 07a1,100a
- Replies: 4
- Views: 6425
[SOLVED] Pixel data in private tag 07a1,100a
hi, my previous post disappeared and is signed by you, Michael... :shock: Anyway, As you said, I find the decode algorithm in GDM: http://gdcm.sourceforge.net/html/rle2img_8cxx-example.html and here is the function to decode the RLE pixel data (if the previous link die): void delta_decode(const char...
- Tue, 2011-06-14, 10:25
- Forum: DCMTK - General
- Topic: Pixel data in private tag 07a1,100a
- Replies: 4
- Views: 6425
- Wed, 2011-06-08, 16:11
- Forum: DCMTK - General
- Topic: Pixel data in private tag 07a1,100a
- Replies: 4
- Views: 6425
Pixel data in private tag 07a1,100a
Hi all, dcmtk seems to be unable to read pixel data in the 07a1,100a private tag. The dicom file comes from a Philips device. Here is a part of a dcmtoxml output: <element tag="01f7,1081" vr="OW" vm="1" len="75368" name="Unknown Tag & Data" loade...
- Wed, 2011-06-08, 16:02
- Forum: DCMTK - Installation
- Topic: dtmtk compilation on windows 7 with MINGW64
- Replies: 1
- Views: 5092
dtmtk compilation on windows 7 with MINGW64
Hi all, I recently manage to compile dcmtk 3.6.0 with MING64. Here is the "how to": 1- use cmake for windows, and choose mingw makefiles 2- edit ofstd/include/dcmtk/ofstd/offile.h line 199: replace: #ifdef _WIN32 file_ = _popen(command, modes); #else file_ = :: popen(command, modes); #endi...