Commit Graph

12 Commits

Author SHA1 Message Date
beaefbf62f Estimate the linear slope with error minimization.
This works better than doing it analytically because of
floating point math, and give significantly lower error on
the fitted curve.
2022-04-23 09:48:47 -07:00
8563e1cf0c Add chromticities extraction feature. 2022-04-22 19:01:37 -07:00
a6cac908b8 Fix overflow bug in optimization code. 2022-04-22 19:00:40 -07:00
8866319942 Also write .spi1d files, and use better file names. 2022-04-22 16:09:26 -07:00
2117c0179c Arrange the output Rust code a little nicer. 2022-04-22 14:56:56 -07:00
f37658a010 Slightly more informative text output. 2022-04-22 13:36:11 -07:00
1dae8c9fc1 Major performance improvements to transfer function formula estimation.
It also now ensures that the end meets exactly where it does in the LUT.
2022-04-22 13:17:56 -07:00
ab91aee328 Estimate a log-linear formula for the extracted transfer function LUT. 2022-04-20 12:34:49 -07:00
22db31fe5e Slight cleanup. 2022-04-20 06:19:50 -07:00
7d5b68c639 Implement deriving transfer function LUTs from processed test images. 2022-04-14 13:34:17 -07:00
10635b26ac Refactor code a bit. 2022-04-13 15:15:46 -07:00
1b19033f15 Generate a test image for lut extraction. 2022-04-13 12:43:38 -07:00