Saturday, December 19, 2015

Solution to User Question: CG_001

 CG Question; Binod asks:
Please provide me the solution :computer graphicsconsider 512 pixels by 512 scan lines with 24 bit true colour.if 5 minutes video is required to capture calculate the total memory requirement



@Binod:
Simple really, 

First determine the number of pixels. 
In this question 512x512 is the number. 

Then determine the bit-depth which is 24bit here. 
Bit-depth represents the number of bits assigned to a pixel in a display device. 

Now the given time duration is 5minutes i.e 300seconds. 

The total memory requirement would be 
= 512 x 512 x 24 x 300 x 1 
= 1887436800bits. 

Divide it by 8 to get Byte value = 235929600Bytes

Divide it by 1024 to get Kilobyte value = 230400Kilobytes

Divide it by 1024 to get Megabyte value = 225Megabytes

This solution assumes the following things:

  • The video is being refreshed at only 1 frame per second.
    as seen here ( 512 x 512 x 24 x 300 x 1 ) which represents 1fps
  • The video does not undergo any optimizing algorithm to reduce video memory. In real-practice, videos are shot with such algorithms in place which allows it to retain maximum quality with small size.
calculate yourself:




check your solution:

Enter Screen resolution: x
Enter bit-depth:
Enter time in seconds:
Enter frame-rate:
Answer:


Blogger Comments:


Emoticon Emoticon

Most read this week!