Why is dicomwrite limited to 2^32-1 bytes of data?

2 views (last 30 days)
microCT image volumes exceed 4.29gb. Is there a workaround for the 4.29gb limit?

Accepted Answer

Walter Roberson
Walter Roberson on 18 Jun 2015
Steve Wranovsky wrote,
"The pixel data attribute itself is type OB/OW. The length of the attribute is stored as an 32-bit unsigned int. So, an uncompressed image can have a maximum size of 2^32 -2. (2^32 -1 represents "undefined length", so it isn't allowed for pixel data)."
  1 Comment
Steven Jorgensen
Steven Jorgensen on 19 Jun 2015
Thanks very much for the explanation. It is an unfortunate limitation in the 64 bit world we now live in.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!