Solved

Suppose a Square Image Has N2N^{2} Pixels We Would Like to Approximately Know How Many Pixels

Question 28

Essay

Suppose a square image has N2N^{2} pixels. We would like to approximately know how many pixels there are in total in a (P+1)(P+1) -level image pyramid consisting of the original image plus PP smaller images, each of which is 1/41 / 4 the size. As a first approximation, let's just count all possible levels, down to a size 1x1 image.
(a) First, suppose NN is a power of 2 .
What is an expression for the exact count of pixels in this case, if N=2MN=2^{M} ?
What is the exact count of pixels in this case, if N=16N=16 ? Write the total as a binary and as a decimal number.
(b) Suppose NN is not a power of 2 .
Just give an upper bound for the number of pixels, assuming there are an infinite number of pyramid levels and we can use floats for numbers of pixels. What is this upper bound if N=16N=16 ?
Hint: for x<1x<1 the Taylor series expansion of 1/(1x)1 /(1-x) is 1+x+x2+x3+1+x+x^{2}+x^{3}+\ldots . What does this mean if x=1/4x=1 / 4 ?

Correct Answer:

verifed

Verified

(a) If count of image pixels i...

View Answer

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents