Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Smoothing fine-grained calibration measurements #6

Open
dekuenstle opened this issue Nov 28, 2022 · 0 comments
Open

Feature: Smoothing fine-grained calibration measurements #6

dekuenstle opened this issue Nov 28, 2022 · 0 comments

Comments

@dekuenstle
Copy link
Member

dekuenstle commented Nov 28, 2022

Measuring fine-grained steps in the calibration routine reveal noise from the measurement device and display, which results in a non-monotonic luminance function. The current linear-interpolation method cannot invert this function without dropping the non-monotonic steps (order of magnitude: ~0 steps of 200 measurements, but ~1000 steps of 4000 measurements).
An improved calibration routine should smooth the measurements e.g. by applying a filter or a non-linear statistical model.
Additionally, this model could be useful for measuring the noise itself.

A fast solution could apply a simple filter, e.g. a uniform filter (https://stackoverflow.com/a/73991730) or a Savitzky-Golay filter.
A more advanced solution could be Locally-linear models (LOESS) could be a good start, as they are fast, relatively reliable (https://stackoverflow.com/a/63458548), and available in the statmodels package.

@dekuenstle dekuenstle changed the title Feature: Smoothed calibrations Feature: Smoothed calibration measurements Nov 28, 2022
@dekuenstle dekuenstle changed the title Feature: Smoothed calibration measurements Feature: Smoothing fine-grained calibration measurements Nov 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant