Commit Graph
21 Commits
Author SHA1 Message Date
Dylan M. Taylor b2bbfa6f56 develop: share legacy Gaussian curves and LUT tails 2026-11-22 10:54:20 -05:00
FredApps 1507e63e6a develop: test local tone mapping across crop and tile coordinates (#3057) 2026-11-22 21:56:12 +07:00
Dylan M. Taylor 8300e3d448 fix(develop): apply deferred DNG linearization after OpcodeList1 (#3050)
* fix(develop): apply deferred DNG linearization after OpcodeList1

* test(develop): construct the DNG fixture with the CFA API

* docs(develop): describe deferred DNG linearization contract
2026-11-22 09:16:29 -05:00
FredAppsandCodex d20e7ff883 craft-develop: bound binned CFA phase tables (#587) (#3037)
* craft-develop: bound binned CFA phase tables (#587)

* craft-develop: format the binned parity fixture

Co-authored-by: Codex <codex@openai.com>

---------

Co-authored-by: Codex <codex@openai.com>
2026-11-22 18:08:47 +07:00
FredApps 3a34b8b2e0 docs(develop): clarify sensor and local tone consumer contracts (#3038) 2026-11-22 17:55:14 +07:00
Dylan M. TaylorandFredApps 7631ed550e craft-develop: extract sensor and local_tone stages (#587) (#3021)
* craft-develop: extract sensor and local_tone stages (#587)

* craft-develop: fix sensor chart_table/color/binned compilation

* craft-develop: factor OffsetList alias in xtrans demosaic for clippy

* craft-develop: remove unused Bayer test helper

All sensor fixtures already call Cfa::bayer directly. Remove the unused wrapper so strict test lint can pass without suppressing warnings.

AI-assisted: OpenAI Boris.

* craft-develop: keep binned feasibility checks allocation-free

Reject blocks that cannot fit the active area. Check each CFA phase over one period rather than allocating per-block layouts during preflight. Keep the existing path for valid rendered bins and cover both the fitting and non-fitting cases with a small synthetic crop.

AI-assisted: OpenAI Boris.

---------

Co-authored-by: FredApps <153173854+FredApps@users.noreply.github.com>
2026-11-22 05:26:27 -05:00
FredApps f8c3cef36f craft-develop: widen raster blur width arithmetic (#587) (#3019)
Calculate the bounded box width square in u64 and retain the existing f32 variance and radius limit.
2026-11-22 09:18:23 +01:00
Dylan M. Taylor a7f8dd621e craft-develop: extract local, nrc_joint, auto, and profiles stages (#587) (#3015)
* craft-develop: extract local, nrc_joint, auto, and profiles stages (#587)

* craft-develop: fix cct/Xy/nrc_joint compilation and wasm32 rayon gating

* craft-develop: match Process::V1..V8 in tone_base_detail

* craft-develop: make local::Planes public

* craft-develop: remove profiling calls from nrc_joint_reference
2026-11-22 03:04:44 -05:00
FredApps eda95dd6b4 craft-develop: preserve LightCraft raster sRGB rounding (#587) (#3017)
Carry over LightCraft's sqrt-domain quantizer from 08179b9b for the extracted raster conversion; leave craft-color's general transfer lookup unchanged.
2026-11-22 08:54:06 +01:00
Dylan M. Taylor 742af23a37 craft-develop: extract raster and crystal grain stages (#587) (#3009)
* craft-develop: extract raster and crystal grain stages (#587)

* craft-develop: fix raster submodule crate:: imports

* craft-develop: fix Plane path in raster::blur test
2026-11-22 02:18:42 -05:00
Dylan M. Taylor b67df8175c craft-develop: extract colorops and light_v3 stages (#587) (#3000)
* craft-develop: extract colorops and light_v3 stages (#587)

* craft-develop: fix colorops imports against craft-color-transform

* develop: preserve calibrated color and RAW stage parity
2026-11-22 01:18:12 -05:00
Dylan M. Taylor 3dff4793f1 craft-develop, craft-color-transform: deduplicate spline, add 1024-entry compose_len, spaces, and warm-green WB test (#2464)
* craft-develop, craft-color-transform: deduplicate spline, add 1024-entry Lut1::compose_len, spaces, and warm-green WB test

* cct: check bradford identity and matrix tolerance in warm-green WB test

* style(color-transform): fix clippy needless_range_loop in cct test
2026-11-19 20:36:43 -05:00
Dylan M. Taylor 1a3be2d439 craft-develop: extract ToneMap/CameraTone and pure-Rust finish helpers (#2471)
* craft-develop: extract ToneMap/CameraTone and pure-Rust finish helpers

* fix(develop): add serde_json dev-dependency for tone tests
2026-11-19 20:23:11 -05:00
texjer bf11227dae Merge main into craft-develop-inpaint: the crate now also holds spline, curve and lut 2026-11-18 20:41:04 -05:00
Dylan M. Taylorandtexjer 6c034902b2 craft-develop: extract spline, curve, and lut modules from LightCraft (#587) (#2274)
Co-authored-by: texjer <texjer@gmail.com>
2026-11-18 16:30:48 -05:00
texjer ad126d48f9 Merge branch 'craft-develop-inpaint' of https://github.com/texjer/craft-libs into craft-develop-inpaint
# Conflicts:
#	Cargo.lock
2026-11-18 16:13:52 -05:00
texjer bf655268d7 craft-develop: a cancelled inpaint with an impossible patch radius is still cancelled 2026-11-18 16:09:33 -05:00
Dylan M. Taylor 7ba969d1bc Separate inpaint source-centre collection from completion 2026-11-18 14:54:05 -05:00
Dylan M. Taylor aa3dc9e2b0 Keep inpaint boundary arithmetic and allocation sizes representable 2026-11-18 13:27:31 -05:00
texjer dcb3fcf603 craft-develop: inpaint rejects an impossible patch radius, and one cancelled poll cancels the call
Review fixes. A patch radius near usize::MAX overflowed in 2 * r + 1; an image with no pixels and a
huge height walked every empty row; a cancellation seen only by a worker's poll was dropped, so a
half-finished pass could come back as a result.
2026-11-18 09:33:47 -05:00
texjer 400b2f821d craft-develop: the crate, with inpaint from LightCraft
The first module of the shared develop pipeline (#587): lightcraft-inpaint at
a75497d6, as craft_develop::inpaint. PatchMatch patch completion and the
membrane fill it seeds from, with their tests. Only the paths in two doc
links and two imports changed.

A parity test compares both fills of one scene with what LightCraft's crate
gave at that commit, through craft-render-parity at Tolerance::BASELINE.
2026-11-17 13:00:47 -05:00