[v3,0/2] CameraSensorHelper measurement tool and guide
mbox series

Message ID 20260825130816.2305405-1-john.cronin@opcenter.com
Headers show
Series
  • CameraSensorHelper measurement tool and guide
Related show

Message

John Cronin Aug. 25, 2026, 1:08 p.m. UTC
Hi,

Thanks Barnabás for the v2 review. This v3 addresses the two points
from that thread; still a source-tree developer tool (not installed).

Changes since v2:

- Add a cam --script path as Barnabás suggested. The sweep still sets
  V4L2 analogue_gain *codes* with v4l2-ctl (required to bring up a
  helper that does not exist yet: cam AnalogueGain is linear and is not
  available until a helper loads). After a helper exists,
  --emit-cam-script writes a YAML that steps the same points as linear
  AnalogueGain; a sweep also writes cam-script.yaml next to the CSV.
  Example: utils/measure-analogue-gain-cam.yaml.

- Document that the fitter only targets
  AnalogueGainLinear { m0=0, c0=k, m1=-1, c1=k } i.e. G = k/(k-code).
  Other linear or exponential families stay out of scope.

Thanks Laurent for the v1 review; this v3 is ready whenever you have
time.

Thanks,
John Cronin

John Cronin (2):
  utils: Add measure-analogue-gain helper
  Documentation: Add Camera Sensor Helper guide

 Documentation/guides/camera-sensor-helper.rst | 174 ++++++
 Documentation/index.rst                       |   1 +
 Documentation/meson.build                     |   1 +
 utils/measure-analogue-gain-cam.yaml          |  28 +
 utils/measure-analogue-gain.py                | 546 ++++++++++++++++++
 5 files changed, 750 insertions(+)
 create mode 100644 Documentation/guides/camera-sensor-helper.rst
 create mode 100644 utils/measure-analogue-gain-cam.yaml
 create mode 100755 utils/measure-analogue-gain.py