Megabytes required for storage of an image given matrix size

Click For Summary

Discussion Overview

The discussion revolves around calculating the minimum storage capacity required for a digital radiographic exam based on a specified matrix size, bit depth, frame rate, and duration. It includes aspects of homework problem-solving and technical reasoning related to data storage in digital imaging.

Discussion Character

  • Homework-related
  • Mathematical reasoning
  • Technical explanation

Main Points Raised

  • One participant calculates the storage requirement as 450 MB based on their interpretation of pixel depth and frame count.
  • Another participant asserts that the correct storage requirement is 600 MB, explaining that each image requires 2 MB and there are 300 images in total.
  • Some participants question the feasibility of storing half a byte, suggesting that bytes must be whole numbers.
  • One participant proposes that it is possible to store data efficiently by combining two 12-bit values into 3 bytes, indicating that the method of storage can affect the calculations.

Areas of Agreement / Disagreement

Participants express differing views on the correct calculation of storage requirements, with no consensus reached on the validity of the 450 MB versus the 600 MB calculation. There is also uncertainty regarding the practical implications of storing non-integer byte values.

Contextual Notes

The discussion highlights potential ambiguities in the definitions of byte storage and the calculations involved, as well as the assumptions made regarding data representation.

Who May Find This Useful

Individuals interested in digital imaging, data storage calculations, or those working on related homework problems in physics or engineering may find this discussion relevant.

mitch_1211
Messages
95
Reaction score
1

Homework Statement



The minimum storage capacity required to store the information in a digital radiographic exam that consists of a 1024 – 1024 matrix, 12 bit deep, acquired at 30 frames per second for 10 seconds is _____ megabytes.

1
37
600
695
2500

Homework Equations





The Attempt at a Solution



I assumed that seeing each pixel is 12bits or 1.5 bytes that you would simply find it by doing

1024 x 1024 x 1.5 x 30 x 10 = 471859200 bytes

divide by 1024 = 460800 kbytes

divide by 1024 = 450 mb

However the answer is apparently 600mb with this explanation:

Each pixel requires 12 bits. Each images consists of 1024 x 1024 pixels. Since a Kbyte is 1024 bytes and a Mbyte is a Kbyte times a Kbyte, each images requires 2 Mbytes of storage. There are 30 images times 10 seconds or 300 images. The total storage required is: 300 x 2 Mbytes = 600 Mbytes.

Could anyone explain why this is the case?

thanks :)

Mitch
 
Physics news on Phys.org
How do you store half a byte?
 
SteamKing said:
How do you store half a byte?

Ya i was just thinking that actually. You got to round up to an integer value for a byte right?

(no rhyme intended)
 
There is no problem with storing the data in 450 MB, you just need to use some bit shifting and combine two 12-bit values to store them in 3-bytes. Pretty trivial exercise in most programming languages. Whether it makes sense, whether it is worth the effort is another question, but I don't see anything wrong in your answer.
 

Similar threads

Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
6
Views
3K
  • · Replies 4 ·
Replies
4
Views
5K
  • · Replies 19 ·
Replies
19
Views
10K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
6K