Search found 2 matches
- Fri, 2006-06-02, 10:24
- Forum: DCMTK - General
- Topic: DiPixel::getData() vs. DicomImage::getOutputData() dilemma
- Replies: 9
- Views: 12405
So if I disable the modality transformation this shoundn't happen? I tried this: icomImage* di( new DicomImage( dff, dff->getDataset()->getOriginalXfer(), CIF_MayDetachPixelData | CIF_IgnoreModalityTransformation | CIF_IgnoreModalityLutBitDepth ) ); ... DiPixel* pixelData = const_cast<DiPixel*>( di-...
- Thu, 2006-06-01, 12:23
- Forum: DCMTK - General
- Topic: DiPixel::getData() vs. DicomImage::getOutputData() dilemma
- Replies: 9
- Views: 12405
I have the same problem. I want to load a stack of DICOM images. Some images of this stack are correctly identified as EPR_Uint16 others return EPR_Uint8. How are the 16bit values downcasted to 8bit? Why is this happening? Is it possible to force getInterData() to return 16bit? I'm gratefull for any...