I think you start by working the maximum likelihood estimation formula of a binomial RV. The number of photons captured is (1,000,000) and the probability of the camera catching a photon is p, n (the number of photons total) is what we are looking for.

$ \hat n_{ML} = \text{max}_n ( \binom{n}{k} p^{k} (1-p)^{n-k} ) $

$ \hat n_{ML} = \text{max}_n ( \binom{n}{1000000} p^{1000000} (1-p)^{n-1000000} ) $

But to find the maximum I think you have to take the derivative of an n!... Does anyone know how to do this? Or am I going about the problem completely wrong?

//Comment Anand Gautam - I am also stuck on taking the derivative. anyone know how to do this?

Alumni Liaison

Ph.D. on Applied Mathematics in Aug 2007. Involved on applications of image super-resolution to electron microscopy

Francisco Blanco-Silva