Commit Graph
12 Commits
Author SHA1 Message Date
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
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
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
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. 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