Vandermode / ELD

Physics-based Noise Modeling for Extreme Low-light Photography (CVPR 2020 Oral & TPAMI 2021)
http://openaccess.thecvf.com/content_CVPR_2020/html/Wei_A_Physics-Based_Noise_Formation_Model_for_Extreme_Low-Light_Raw_Denoising_CVPR_2020_paper.html
MIT License
494 stars 66 forks source link

row noise calibration #47

Open wangchx67 opened 3 weeks ago

wangchx67 commented 3 weeks ago

Hi, I want to query about the details of row noise calibration. Based on the description of paper, the first step is to extract the mean value of each row from raw data, and then sigma_r if obtained by maximize the log-likelihood. I am curious about which row mean value the maximizing log-likelihood of sigma_r is based on :

  1. estimate every sigma_r of every rows and calculate the mean of all sigma_r
  2. estimate single sigma_r based on the mean value of every row mean value
  3. other
Vandermode commented 3 weeks ago

Hi,

estimate single sigma_r based on the mean value of every row mean value

this should be the correct choice FYI

wangchx67 commented 3 weeks ago

Thanks!

wangchx67 commented 1 week ago

Sorry to bother you again. Does "estimate single sigma_r based on the mean value of every row mean value" equals to "estimate single sigma_r based on the mean value of the whole image", cause the mean value of every row mean value equals to mean value of the whole image. Am I right?

Vandermode commented 1 week ago

“estimate single sigma_r based on the mean value of every row mean value" should be ”estimate single sigma_r based on every row mean values.“ I don't know why you call another mean here.

wangchx67 commented 1 week ago

So the final sigma_r is obtained by the mean of all sigma_r estimated by the every row mean values?

wangchx67 commented 1 week ago

For example, the var of row1 is sigma_r1, that of row2 is sigma_r1 ..., all_sigma = [sigma_r1, sigma_r1, ..., sigma_rh], and the calibrated sigma_r equals to mean(all_sigma)?

Vandermode commented 1 week ago

row mean values serve as the underlying measured data for fitting a statistical model. we used a simple maximum likelihood estimation to fit a Gaussian distribution from these data. mu and sigma can therefore be estimated with the Eq. (2) here