简体   繁体   中英

Length of PixelStream in EvilDicom library

I can't reconcile the length of the PixelStream containing the image, with the parameters for this particular image.

0028,0002 (SamplesPerPixel): 1
0028,0004 (PhotometricInterpretation): MONOCHROME2
0028,0010 (Rows): 432
0028,0011 (Columns): 432
0028,0100 (BitsAllocated): 16
0028,0101 (BitsStored): 12
0028,0102 (HighBit): 11

So it seems to me that this stream should be 432*432*2=365472 bytes long, however, EvilDicom reports a length of 155868, based on the debug in Visual Studio 2013. I cannot, however find any evidence of any compression though and the values of the array seem like standard integers in the range 0-255. LossyImageCompression is set to 0. The image originated from an MR machine and is part of a stack.

Could some help me explain some of this please?

Transfer Syntax (0002:0010), a DICOM header element, will indicate the encoding/compression used within a file. Another indication of compressed stream is the location of pixel stream within the dataset. If stored inside the second ITEM element (FFFE:E000) under Pixel Data Element (7FE0:0010), you are dealing with compressed stream.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM