how to calculate a file size of an image?
Step 1: Multiply the detectors number of horizontal pixels by the number of vertical pixels to get the total number of pixels of the detector.
Step 2: Multiply total number of pixels by the bit depth of the detector (16 bit, 14 bit etc.) to get the total number of bits of data.
Step 3: Dividing the total number of bits by 8 equals the file size in bytes.
Step 4: Divide the number of bytes by 1024 to get the file size in kilobytes. Divide by 1024 again and get the file size in megabytes.
Examples:
Perkin Elmer 1621: 2048 x 2048 = 4,194,304 (4.2 megapixel Detector)
4,194,304 pixels X 16 bit = 67,108,864 ÷ 8bits = 8,388,608 Bytes ÷1024 = 8,192 Kilobytes ÷ 1024 = 8 Megabytes