Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

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?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
255 views
Welcome To Ask or Share your Answers For Others

1 Answer

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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...