0.3.4
Chiaro 0.3.4 Night-Mode Processing
This release adds a complete experimental processing path for night-mode captures, and includes motion-aware temporal stacking, calibrated multi-camera fusion, Gallery integration, and several demosaicing methods.
Night-mode stacking
New processing pipeline and command-line application for L16 night captures.
Unlike standard captures, night-mode LRIs contain bursts of repeated exposures from each physical camera. Chiaro Stack now uses these frames to create a denoised image for each module before combining the modules through the existing calibrated fusion pipeline.
The temporal pipeline includes:
- gyro-seeded motion alignment using the L16's row-indexed gyroscope data;
- rolling-shutter-aware initial motion estimates;
- image-correlation refinement of the gyro estimate;
- shared rig motion projected between modules according to focal length;
- per-pixel rejection of inconsistent or moving samples;
- automatic fallback to the selected sharp reference frame where temporal samples cannot be aligned reliably;
- calibrated geometry and colour correction for final multi-camera synthesis.
The same temporal reference is maintained across the physical camera modules to keep the final reconstruction consistent.
New chiaro-stack CLI
The release includes the new chiaro-stack application for processing night captures independently of Gallery.
It supports both complete multi-camera night fusion and processing an individual physical camera for inspection or downstream workflows.
Optional diagnostics can output:
- the selected reference frame;
- an effective-frame-count map showing how many exposures contributed to each region;
- alignment and processing information in JSON.
Linear output is also available for further processing in external imaging tools.
Night-stack export in Gallery
Night captures can now be processed directly from Gallery through a new Night stack export pipeline.
Each completed night image is accompanied by a .night-fusion.json diagnostic report (for now).
Gallery now understands which type of capture each export pipeline accepts. Standard export pipelines skip night-mode captures, while Night stack accepts only night-mode captures. Mixed selections clearly show which files will be excluded before processing begins.
Selectable demosaicing
Chiaro now provides five Bayer demosaicing algorithms throughout the processing tools:
- Simple
- AMaZE
- RCD
- LMMSE
- IGV
The choice is available in Gallery, Hotpixel, Fuse, Stack.
AMaZE becomes the default for normal photographic processing.
LMMSE is the default for night stacking, with IGV available as an alternative designed to behave well with noisy or moiré-prone detail.
RCD is available as an alternative particularly suited to individual night-sky exposures.
Shared night-processing library
The new reusable chiaro-stack crate provides the underlying temporal RAW-processing functionality shared by the CLI and Gallery.
The fusion and RAW-processing libraries were also extended so the new demosaicing and night-processing paths use the same correction and synthesis infrastructure as the existing tools.
Current limitations
Temporal rejection operates per pixel, but cross-camera alignment currently uses a single refined homography for each physical module.
Scenes with strong depth-dependent parallax still sucks (in both stack and fuse pipelines) untill depth estimation is implemented.