e894568cf8
Print more fit statistics, as well as a more standard equation form.
...
Also print the code in pseudo code rather than Rust.
Also a few tweaks to other areas of the code.
2022-04-25 13:06:44 -07:00
a1dfebf748
Add readme and license.
2022-04-23 22:25:25 -07:00
243f8b4b5a
Remove unneeded code, and silence warnings.
2022-04-23 15:31:52 -07:00
252c2541d6
Fix stupid bug in test image export.
...
This was correct the last time I exported the image (it was
introduced in the refactor a while ago), and the bug was only in
the export part, not the reading part. So all of the LUT
extraction we've done has been correct, thank goodness.
2022-04-23 15:26:53 -07:00
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