-
assigned issue to
DrawBitmap fails with 16 bits palette images
StreamReader readStream(FileStreamInput(NSStringToString(path)));
DataSet * testDataSet = CodecFactory::load(readStream);
const Image * firstImage = testDataSet->getImageApplyModalityTransform(0);
TransformsChain *transformsChain = new TransformsChain();
DrawBitmap *drawBitmap = new DrawBitmap(*transformsChain);
UIImage* myUIImage = getImebraImage(*firstImage, *drawBitmap);
[imgv setImage:myUIImage];
then the imgv.image is fill with black
Comments (12)
-
reporter -
repo owner Have you extracted the dicom file from the gz archive?
-
repo owner - changed status to open
Trying to reproduce
-
reporter of course,I have. I can read some other dicom file , and get the UIImage object to show normal
-
repo owner Will try to fix this by tomorrow morning
-
repo owner - changed title to DrawBitmap fails with 16 bits palette images
- changed component to Data handlers
-
repo owner Addresses
#163. Added Palette & DrawBitmap tests for 16 bit palettes→ <<cset a30a0d0a70635c56d7a442b83279bbfd8d331e92>>
-
repo owner Addresses
#163. Fixed DrawBitmap for 16 bit palettes→ <<cset fa946805fa0e9df32b537aa44d1b3fe0b524ab96>>
-
repo owner Addresses
#163. Updated changes log→ <<cset 01837f4af5876677f3a738cf3c548bf62ea4e94d>>
-
repo owner Addresses
#163. Removed check on empty transform before inserting it in the chain (check done by the chain)→ <<cset a7d8d99319d4c8854a4b8575aca16e2908267292>>
-
repo owner - changed status to resolved
Resolves
#163(DrawBitmap fails with 16 bits palette images) as per SOP FIXBUG/2→ <<cset 7b7f953d3bde3a7625488cf73773e6ab8ac5e500>>
-
repo owner - changed status to closed
Closed in 4.0.10
- Log in to comment