camsim 0.1.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- camsim-0.1.0/.gitignore +39 -0
- camsim-0.1.0/CHANGELOG.md +116 -0
- camsim-0.1.0/CITATION.cff +30 -0
- camsim-0.1.0/LICENSE +202 -0
- camsim-0.1.0/NOTICE +22 -0
- camsim-0.1.0/PKG-INFO +412 -0
- camsim-0.1.0/README.md +341 -0
- camsim-0.1.0/THIRD_PARTY.md +169 -0
- camsim-0.1.0/docs/api.md +249 -0
- camsim-0.1.0/docs/architecture.md +171 -0
- camsim-0.1.0/docs/concepts.md +86 -0
- camsim-0.1.0/docs/datasheet_mapping.md +252 -0
- camsim-0.1.0/docs/images/02_isp_awb_gains.png +0 -0
- camsim-0.1.0/docs/images/02_isp_colorchecker_delta_e.png +0 -0
- camsim-0.1.0/docs/images/02_isp_demosaic_comparison.png +0 -0
- camsim-0.1.0/docs/images/02_isp_rccc_baseline.png +0 -0
- camsim-0.1.0/docs/images/02_isp_stage_contact_sheet.png +0 -0
- camsim-0.1.0/docs/images/02_isp_stage_zoom.png +0 -0
- camsim-0.1.0/docs/images/03_acutance_vs_blur.png +0 -0
- camsim-0.1.0/docs/images/03_delta_e_heatmap.png +0 -0
- camsim-0.1.0/docs/images/03_mtf_curves.png +0 -0
- camsim-0.1.0/docs/images/03_snr_vs_lux.png +0 -0
- camsim-0.1.0/docs/images/g1_lux_normalization.png +0 -0
- camsim-0.1.0/docs/images/g1_psf_mtf.png +0 -0
- camsim-0.1.0/docs/images/g2_ptc.png +0 -0
- camsim-0.1.0/docs/images/g2_snr_vs_irradiance.png +0 -0
- camsim-0.1.0/docs/images/g3_check_summary.png +0 -0
- camsim-0.1.0/docs/images/g4_check_summary.png +0 -0
- camsim-0.1.0/docs/images/g5_evidence.png +0 -0
- camsim-0.1.0/docs/images/g5_gate_summary.png +0 -0
- camsim-0.1.0/docs/index.md +107 -0
- camsim-0.1.0/docs/isp_stages.md +247 -0
- camsim-0.1.0/docs/metrics.md +260 -0
- camsim-0.1.0/docs/reference/Only for reference - iq_for_machine_vision_project_plan_revised.md +168 -0
- camsim-0.1.0/docs/release.md +134 -0
- camsim-0.1.0/docs/superpowers/plans/2026-10-26-camsim-core-pipeline.md +2461 -0
- camsim-0.1.0/docs/superpowers/specs/2026-10-26-camsim-design.md +1003 -0
- camsim-0.1.0/docs/validation.md +594 -0
- camsim-0.1.0/examples/.gitkeep +0 -0
- camsim-0.1.0/examples/01_spectral_scene_to_raw.py +463 -0
- camsim-0.1.0/examples/02_isp_stage_gallery.py +391 -0
- camsim-0.1.0/examples/03_measure_iq.py +472 -0
- camsim-0.1.0/examples/04_emva_characterization.py +615 -0
- camsim-0.1.0/notebooks/.gitkeep +0 -0
- camsim-0.1.0/notebooks/01_optics_and_sensor.py +621 -0
- camsim-0.1.0/notebooks/02_isp_color_fundamentals.py +373 -0
- camsim-0.1.0/notebooks/03_measuring_iq.py +323 -0
- camsim-0.1.0/pyproject.toml +168 -0
- camsim-0.1.0/src/camsim/__init__.py +65 -0
- camsim-0.1.0/src/camsim/_version.py +7 -0
- camsim-0.1.0/src/camsim/camera/__init__.py +24 -0
- camsim-0.1.0/src/camsim/camera/camera.py +831 -0
- camsim-0.1.0/src/camsim/characterization/__init__.py +32 -0
- camsim-0.1.0/src/camsim/characterization/emva.py +1559 -0
- camsim-0.1.0/src/camsim/characterization/isp.py +1860 -0
- camsim-0.1.0/src/camsim/characterization/metrics.py +1514 -0
- camsim-0.1.0/src/camsim/characterization/report.py +1533 -0
- camsim-0.1.0/src/camsim/cli.py +850 -0
- camsim-0.1.0/src/camsim/config/__init__.py +1 -0
- camsim-0.1.0/src/camsim/config/io.py +249 -0
- camsim-0.1.0/src/camsim/config/presets/isp/default.json +70 -0
- camsim-0.1.0/src/camsim/config/presets/sensors/flagship_phone_50mp.json +103 -0
- camsim-0.1.0/src/camsim/config/schema.py +809 -0
- camsim-0.1.0/src/camsim/core/__init__.py +1 -0
- camsim-0.1.0/src/camsim/core/color.py +164 -0
- camsim-0.1.0/src/camsim/core/constants.py +41 -0
- camsim-0.1.0/src/camsim/core/frames.py +606 -0
- camsim-0.1.0/src/camsim/core/memory.py +190 -0
- camsim-0.1.0/src/camsim/core/spectral.py +385 -0
- camsim-0.1.0/src/camsim/core/units.py +84 -0
- camsim-0.1.0/src/camsim/data/__init__.py +67 -0
- camsim-0.1.0/src/camsim/data/spectra/cfa_rggb.csv +61 -0
- camsim-0.1.0/src/camsim/data/spectra/ir_cut.csv +56 -0
- camsim-0.1.0/src/camsim/data/spectra/qe_flagship.csv +57 -0
- camsim-0.1.0/src/camsim/io/__init__.py +34 -0
- camsim-0.1.0/src/camsim/io/images.py +424 -0
- camsim-0.1.0/src/camsim/io/raw.py +469 -0
- camsim-0.1.0/src/camsim/isp/__init__.py +16 -0
- camsim-0.1.0/src/camsim/isp/awb.py +563 -0
- camsim-0.1.0/src/camsim/isp/blc.py +194 -0
- camsim-0.1.0/src/camsim/isp/ccm.py +563 -0
- camsim-0.1.0/src/camsim/isp/colorspace.py +290 -0
- camsim-0.1.0/src/camsim/isp/demosaic.py +615 -0
- camsim-0.1.0/src/camsim/isp/denoise.py +640 -0
- camsim-0.1.0/src/camsim/isp/dpc.py +181 -0
- camsim-0.1.0/src/camsim/isp/lsc.py +339 -0
- camsim-0.1.0/src/camsim/isp/pipeline.py +615 -0
- camsim-0.1.0/src/camsim/isp/sharpen.py +184 -0
- camsim-0.1.0/src/camsim/isp/tone.py +437 -0
- camsim-0.1.0/src/camsim/metrics/__init__.py +82 -0
- camsim-0.1.0/src/camsim/metrics/acutance.py +187 -0
- camsim-0.1.0/src/camsim/metrics/chart.py +395 -0
- camsim-0.1.0/src/camsim/metrics/color.py +885 -0
- camsim-0.1.0/src/camsim/metrics/mtf.py +859 -0
- camsim-0.1.0/src/camsim/metrics/snr.py +617 -0
- camsim-0.1.0/src/camsim/metrics/summary.py +617 -0
- camsim-0.1.0/src/camsim/optics/__init__.py +1 -0
- camsim-0.1.0/src/camsim/optics/lens.py +140 -0
- camsim-0.1.0/src/camsim/optics/propagation.py +228 -0
- camsim-0.1.0/src/camsim/optics/psf.py +346 -0
- camsim-0.1.0/src/camsim/optics/vignetting.py +137 -0
- camsim-0.1.0/src/camsim/py.typed +0 -0
- camsim-0.1.0/src/camsim/scene/__init__.py +1 -0
- camsim-0.1.0/src/camsim/scene/charts.py +301 -0
- camsim-0.1.0/src/camsim/scene/glyphs.py +751 -0
- camsim-0.1.0/src/camsim/scene/illuminants.py +458 -0
- camsim-0.1.0/src/camsim/scene/spectral_data.py +416 -0
- camsim-0.1.0/src/camsim/scene/targets.py +899 -0
- camsim-0.1.0/src/camsim/sensor/__init__.py +50 -0
- camsim-0.1.0/src/camsim/sensor/adc.py +188 -0
- camsim-0.1.0/src/camsim/sensor/binning.py +252 -0
- camsim-0.1.0/src/camsim/sensor/cfa.py +622 -0
- camsim-0.1.0/src/camsim/sensor/defects.py +363 -0
- camsim-0.1.0/src/camsim/sensor/gain.py +221 -0
- camsim-0.1.0/src/camsim/sensor/noise.py +488 -0
- camsim-0.1.0/src/camsim/sensor/sensor.py +1204 -0
- camsim-0.1.0/src/camsim/tasks/__init__.py +1 -0
- camsim-0.1.0/src/camsim/viz/__init__.py +83 -0
- camsim-0.1.0/src/camsim/viz/metrics.py +452 -0
- camsim-0.1.0/src/camsim/viz/pipeline.py +493 -0
- camsim-0.1.0/src/camsim/viz/sensor.py +537 -0
- camsim-0.1.0/src/camsim/viz/spectra.py +737 -0
- camsim-0.1.0/src/camsim/viz/style.py +116 -0
- camsim-0.1.0/tests/conftest.py +164 -0
- camsim-0.1.0/tests/test_adc.py +173 -0
- camsim-0.1.0/tests/test_binning.py +173 -0
- camsim-0.1.0/tests/test_camera.py +616 -0
- camsim-0.1.0/tests/test_cfa.py +811 -0
- camsim-0.1.0/tests/test_characterization.py +325 -0
- camsim-0.1.0/tests/test_chart.py +641 -0
- camsim-0.1.0/tests/test_ci_config.py +76 -0
- camsim-0.1.0/tests/test_cli.py +102 -0
- camsim-0.1.0/tests/test_cli_commands.py +760 -0
- camsim-0.1.0/tests/test_color_reference.py +130 -0
- camsim-0.1.0/tests/test_config.py +444 -0
- camsim-0.1.0/tests/test_defects.py +371 -0
- camsim-0.1.0/tests/test_docs_smoke.py +184 -0
- camsim-0.1.0/tests/test_example_01.py +51 -0
- camsim-0.1.0/tests/test_example_02.py +458 -0
- camsim-0.1.0/tests/test_example_03.py +661 -0
- camsim-0.1.0/tests/test_example_04.py +73 -0
- camsim-0.1.0/tests/test_frames.py +321 -0
- camsim-0.1.0/tests/test_g5_signoff.py +451 -0
- camsim-0.1.0/tests/test_gain.py +160 -0
- camsim-0.1.0/tests/test_glyphs.py +298 -0
- camsim-0.1.0/tests/test_io.py +789 -0
- camsim-0.1.0/tests/test_isp_awb.py +522 -0
- camsim-0.1.0/tests/test_isp_blc.py +179 -0
- camsim-0.1.0/tests/test_isp_ccm.py +464 -0
- camsim-0.1.0/tests/test_isp_colorspace.py +275 -0
- camsim-0.1.0/tests/test_isp_demosaic.py +440 -0
- camsim-0.1.0/tests/test_isp_denoise.py +422 -0
- camsim-0.1.0/tests/test_isp_dpc.py +284 -0
- camsim-0.1.0/tests/test_isp_lsc.py +237 -0
- camsim-0.1.0/tests/test_isp_pipeline.py +590 -0
- camsim-0.1.0/tests/test_isp_sharpen.py +281 -0
- camsim-0.1.0/tests/test_isp_tone.py +473 -0
- camsim-0.1.0/tests/test_lens.py +140 -0
- camsim-0.1.0/tests/test_metrics_color.py +872 -0
- camsim-0.1.0/tests/test_metrics_independence.py +20 -0
- camsim-0.1.0/tests/test_metrics_mtf.py +676 -0
- camsim-0.1.0/tests/test_metrics_snr.py +732 -0
- camsim-0.1.0/tests/test_metrics_summary.py +796 -0
- camsim-0.1.0/tests/test_noise.py +400 -0
- camsim-0.1.0/tests/test_package.py +152 -0
- camsim-0.1.0/tests/test_preset_validation.py +189 -0
- camsim-0.1.0/tests/test_propagation.py +194 -0
- camsim-0.1.0/tests/test_psf.py +203 -0
- camsim-0.1.0/tests/test_sensor.py +866 -0
- camsim-0.1.0/tests/test_spectral.py +309 -0
- camsim-0.1.0/tests/test_spectral_data.py +306 -0
- camsim-0.1.0/tests/test_targets.py +644 -0
- camsim-0.1.0/tests/test_units.py +107 -0
- camsim-0.1.0/tests/test_validation_g1.py +308 -0
camsim-0.1.0/.gitignore
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# macOS
|
|
2
|
+
.DS_Store
|
|
3
|
+
|
|
4
|
+
# Virtual environments
|
|
5
|
+
.venv/
|
|
6
|
+
venv/
|
|
7
|
+
env/
|
|
8
|
+
|
|
9
|
+
# Python caches and test/lint artefacts
|
|
10
|
+
__pycache__/
|
|
11
|
+
*.py[cod]
|
|
12
|
+
.pytest_cache/
|
|
13
|
+
.mypy_cache/
|
|
14
|
+
.ruff_cache/
|
|
15
|
+
.hypothesis/
|
|
16
|
+
.coverage
|
|
17
|
+
.coverage.*
|
|
18
|
+
coverage.xml
|
|
19
|
+
htmlcov/
|
|
20
|
+
|
|
21
|
+
# Jupyter / Jupytext
|
|
22
|
+
.ipynb
|
|
23
|
+
*.ipynb
|
|
24
|
+
.ipynb_checkpoints/
|
|
25
|
+
.jupyter_cache/
|
|
26
|
+
|
|
27
|
+
# Build artefacts
|
|
28
|
+
build/
|
|
29
|
+
dist/
|
|
30
|
+
site/
|
|
31
|
+
*.egg-info/
|
|
32
|
+
.eggs/
|
|
33
|
+
|
|
34
|
+
# Generated results and local caches
|
|
35
|
+
results/cache/
|
|
36
|
+
|
|
37
|
+
# Repository-internal process material and superseded archives
|
|
38
|
+
.superpowers/
|
|
39
|
+
archives/
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to this project are documented in this file.
|
|
4
|
+
|
|
5
|
+
The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
6
|
+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
|
+
The `[0.1.0]` release was approved by the project owner on 2026-10-27 after
|
|
8
|
+
the G5 review recorded in `results/reports/validation_report.md`. The
|
|
9
|
+
distribution version is `0.1.0`. A fresh `Unreleased` section opens for future
|
|
10
|
+
changes.
|
|
11
|
+
|
|
12
|
+
## [0.1.0] - 2026-10-27
|
|
13
|
+
|
|
14
|
+
**Status: released.** G1-G4 are PASS and the G5 candidate was signed off. The
|
|
15
|
+
tag `v0.1.0` and the GitHub/PyPI publication are the release steps recorded in
|
|
16
|
+
the validation report and the release checklist.
|
|
17
|
+
|
|
18
|
+
### Added
|
|
19
|
+
|
|
20
|
+
#### Phase 0 — Foundation
|
|
21
|
+
|
|
22
|
+
- Installable `camsim` package with a `src/` layout, a single version source
|
|
23
|
+
(`0.1.0`), lazy (PEP 562) public exports, and a `camsim` console entry
|
|
24
|
+
point with `info`, `schema`, `validate`, `render`, `characterize`, `measure`,
|
|
25
|
+
and `figures` subcommands.
|
|
26
|
+
- Radiometric unit conversions and validated spectral types: `WavelengthGrid`,
|
|
27
|
+
`SpectralIrradiance`, photon-energy helpers, area-conserving spatial
|
|
28
|
+
resampling, and overlap-weighted wavelength integration.
|
|
29
|
+
- Frame and colour contracts: `RawFrame` with self-describing metadata,
|
|
30
|
+
`RenderedImage`, `CFAPattern`, `ColorSpace`, and `ColorReference`.
|
|
31
|
+
- Versioned Pydantic v2 configuration schema for sensors and ISPs with
|
|
32
|
+
unit-bearing field names, `extra="forbid"`, cross-field physical validation,
|
|
33
|
+
JSON Schema export, and provenance metadata.
|
|
34
|
+
- Representative sensor and ISP presets (`flagship_phone_50mp`, default ISP).
|
|
35
|
+
- MkDocs Material documentation site with concepts, architecture, validation,
|
|
36
|
+
and datasheet-mapping pages, including a Mermaid imaging-chain diagram.
|
|
37
|
+
- Continuous integration on Ubuntu and macOS across Python 3.11, 3.12, and
|
|
38
|
+
3.13: ruff lint and format check, strict mypy, pytest with coverage, strict
|
|
39
|
+
documentation build, and wheel/sdist build.
|
|
40
|
+
- Documentation workflow that builds with warnings as errors on pull requests
|
|
41
|
+
and deploys the site to GitHub Pages from `main`.
|
|
42
|
+
- Contribution guide, Contributor Covenant code of conduct, changelog,
|
|
43
|
+
citation metadata, third-party notices, and Apache-2.0 licence.
|
|
44
|
+
- Pre-commit hooks, Jupytext notebook pairing, Makefile targets (`setup`,
|
|
45
|
+
`test`, `lint`, `format`, `typecheck`, `coverage`, `docs`, `build`,
|
|
46
|
+
`notebooks`, `figures`, `gate`, `clean`), and the executable G0 gate test.
|
|
47
|
+
|
|
48
|
+
#### Phase 1 — Scene and optics
|
|
49
|
+
|
|
50
|
+
- Spectral scene rendering with photometric lux normalization, D65/3000 K/4000 K
|
|
51
|
+
illuminants, ColorChecker reflectance, slanted-edge, flat-patch, Siemens-star,
|
|
52
|
+
and glyph targets, and explicit energy-conserving spatial resampling.
|
|
53
|
+
- Gaussian, Airy, and box point-spread functions with analytic MTF helpers,
|
|
54
|
+
lens geometry, and vignetting (uniform for the reference lens).
|
|
55
|
+
- G1 validation report and figures covering photometry, PSF MTF, energy
|
|
56
|
+
conservation, edge-angle recovery, the spectral-cube contract, and the
|
|
57
|
+
reference lens.
|
|
58
|
+
|
|
59
|
+
#### Phase 2 — Sensor
|
|
60
|
+
|
|
61
|
+
- Spectral projection through QE, CFA, and IR-cut curves; shot, read, dark, and
|
|
62
|
+
fixed-pattern noise; full-well and ADC saturation with clipping masks; LCG/HCG
|
|
63
|
+
dual conversion gain; defects; binning; and the self-describing `RawFrame`.
|
|
64
|
+
- EMVA 1288-style characterization recovering read noise, DSNU, PRNU, full well,
|
|
65
|
+
linearity, dynamic range, system gain, and dark current within stated
|
|
66
|
+
tolerances.
|
|
67
|
+
- G2 validation report, machine-readable results, and six figures.
|
|
68
|
+
|
|
69
|
+
#### Phase 3 — ISP
|
|
70
|
+
|
|
71
|
+
- Fixed-order ISP: DPC, BLC, LSC, AWB, bilinear/MHC demosaicing, ridge CCM,
|
|
72
|
+
linear-light denoise, thresholded unsharp mask, tone/OETF, and output
|
|
73
|
+
primaries. Every stage before tone is linear float32.
|
|
74
|
+
- RCCC baseline reconstruction (shape/linearity/smoke only) and a documented
|
|
75
|
+
Bayer-only colour and MTF caveat.
|
|
76
|
+
- G3 validation report, machine-readable results, and the ISP stage gallery,
|
|
77
|
+
including ColorChecker ΔE2000, AWB, demosaic reference cross-checks, LSC,
|
|
78
|
+
denoise, sharpen, and RCCC evidence.
|
|
79
|
+
|
|
80
|
+
#### Phase 4 — Metrics
|
|
81
|
+
|
|
82
|
+
- Import-independent metrics harness: ISO 12233-style slanted-edge e-SFR/MTF,
|
|
83
|
+
spatial and temporal SNR, CIEDE2000/CIEDE76, acutance, chart layouts, and the
|
|
84
|
+
unified `measure_all` report with strict JSON serialization.
|
|
85
|
+
- G4 validation report, machine-readable results, and analytic-reference
|
|
86
|
+
figures for MTF, SNR, colour, and acutance.
|
|
87
|
+
|
|
88
|
+
#### Phase 5 — Consolidation
|
|
89
|
+
|
|
90
|
+
- `Camera` orchestration with fixed exposure and opt-in auto-exposure
|
|
91
|
+
(`Camera.auto_expose`) that probes the real sensor, respects the preset's
|
|
92
|
+
physical windows, and reports every decision.
|
|
93
|
+
- RAW and image IO, layout/report serialization, and the `render`,
|
|
94
|
+
`characterize`, `measure`, and `figures` CLI commands.
|
|
95
|
+
- Deterministic pipeline benchmark with quick and full modes.
|
|
96
|
+
- Consolidated G5 validation report (`results/reports/validation_report.md`),
|
|
97
|
+
cross-cutting denoise/sharpen/auto-exposure/RCCC checks, determinism and
|
|
98
|
+
import-independence evidence, and the `g5_*` summary figures.
|
|
99
|
+
- G5 sign-off tests, documentation updates, citation metadata, and the release
|
|
100
|
+
candidate metadata.
|
|
101
|
+
|
|
102
|
+
### Validation
|
|
103
|
+
|
|
104
|
+
- G0: quality-gate commands pass locally; CI workflows (including examples
|
|
105
|
+
and notebooks) were added but execution is pending a push.
|
|
106
|
+
- G1: 7/7 checks; G2: 16/16; G3: 21/21; G4: 31/31; G5 cross-cutting: 16/16.
|
|
107
|
+
- Test suite: all tests pass; subject-module coverage is 91.73% against the
|
|
108
|
+
90% gate with the documented `*/camsim/viz/*` omission, and whole-package
|
|
109
|
+
coverage including viz is 83.55% (reviewed exception).
|
|
110
|
+
- The validation is simulated: it is not a certified ISO 12233 or EMVA 1288
|
|
111
|
+
measurement, and the flagship preset is a representative engineering design
|
|
112
|
+
point, not a measurement of a specific commercial part.
|
|
113
|
+
- **No machine-vision code or claim is included.** `camsim.tasks` remains a
|
|
114
|
+
gated docstring-only namespace.
|
|
115
|
+
|
|
116
|
+
[0.1.0]: https://github.com/pengzhao-ai/camsim/releases/tag/v0.1.0
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
cff-version: 1.2.0
|
|
2
|
+
message: "If you use camsim in your work, please cite it using the metadata below."
|
|
3
|
+
type: software
|
|
4
|
+
title: "camsim: deterministic camera sensor, ISP, and image-quality simulation"
|
|
5
|
+
abstract: >-
|
|
6
|
+
camsim is a deterministic Python library that simulates a camera from spectral
|
|
7
|
+
scene irradiance through a lens and sensor model to a RAW frame, processes the
|
|
8
|
+
RAW frame through a modular image signal processor, and measures image quality
|
|
9
|
+
with standard metrics. This 0.1.0 release validates the scene/optics helpers,
|
|
10
|
+
sensor, ISP, metrics, camera orchestration, IO, and CLI. It is a simulated,
|
|
11
|
+
EMVA 1288-style and ISO 12233-style validation, not a certified measurement of
|
|
12
|
+
physical hardware. Machine-vision experiments are gated behind the G5 human
|
|
13
|
+
sign-off and are not included in 0.1.0.
|
|
14
|
+
version: 0.1.0
|
|
15
|
+
date-released: "2026-10-27"
|
|
16
|
+
authors:
|
|
17
|
+
- family-names: Zhao
|
|
18
|
+
given-names: Peng
|
|
19
|
+
license: Apache-2.0
|
|
20
|
+
repository-code: "https://github.com/pengzhao-ai/camsim"
|
|
21
|
+
url: "https://github.com/pengzhao-ai/camsim"
|
|
22
|
+
keywords:
|
|
23
|
+
- camera simulation
|
|
24
|
+
- image quality
|
|
25
|
+
- image quality metrics
|
|
26
|
+
- image signal processor
|
|
27
|
+
- sensor modelling
|
|
28
|
+
- radiometry
|
|
29
|
+
- colorimetry
|
|
30
|
+
- reproducible research
|
camsim-0.1.0/LICENSE
ADDED
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
|
|
2
|
+
Apache License
|
|
3
|
+
Version 2.0, January 2004
|
|
4
|
+
http://www.apache.org/licenses/
|
|
5
|
+
|
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
7
|
+
|
|
8
|
+
1. Definitions.
|
|
9
|
+
|
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
12
|
+
|
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
14
|
+
the copyright owner that is granting the License.
|
|
15
|
+
|
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
17
|
+
other entities that control, are controlled by, or are under common
|
|
18
|
+
control with that entity. For the purposes of this definition,
|
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
20
|
+
direction or management of such entity, whether by contract or
|
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
23
|
+
|
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
25
|
+
exercising permissions granted by this License.
|
|
26
|
+
|
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
28
|
+
including but not limited to software source code, documentation
|
|
29
|
+
source, and configuration files.
|
|
30
|
+
|
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
|
32
|
+
transformation or translation of a Source form, including but
|
|
33
|
+
not limited to compiled object code, generated documentation,
|
|
34
|
+
and conversions to other media types.
|
|
35
|
+
|
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
37
|
+
Object form, made available under the License, as indicated by a
|
|
38
|
+
copyright notice that is included in or attached to the work
|
|
39
|
+
(an example is provided in the Appendix below).
|
|
40
|
+
|
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
47
|
+
the Work and Derivative Works thereof.
|
|
48
|
+
|
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
|
50
|
+
the original version of the Work and any modifications or additions
|
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
62
|
+
|
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
65
|
+
subsequently incorporated within the Work.
|
|
66
|
+
|
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
|
73
|
+
|
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
79
|
+
where such license applies only to those patent claims licensable
|
|
80
|
+
by such Contributor that are necessarily infringed by their
|
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
83
|
+
institute patent litigation against any entity (including a
|
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
86
|
+
or contributory patent infringement, then any patent licenses
|
|
87
|
+
granted to You under this License for that Work shall terminate
|
|
88
|
+
as of the date such litigation is filed.
|
|
89
|
+
|
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
92
|
+
modifications, and in Source or Object form, provided that You
|
|
93
|
+
meet the following conditions:
|
|
94
|
+
|
|
95
|
+
(a) You must give any other recipients of the Work or
|
|
96
|
+
Derivative Works a copy of this License; and
|
|
97
|
+
|
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
|
99
|
+
stating that You changed the files; and
|
|
100
|
+
|
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
|
103
|
+
attribution notices from the Source form of the Work,
|
|
104
|
+
excluding those notices that do not pertain to any part of
|
|
105
|
+
the Derivative Works; and
|
|
106
|
+
|
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
|
109
|
+
include a readable copy of the attribution notices contained
|
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
|
112
|
+
of the following places: within a NOTICE text file distributed
|
|
113
|
+
as part of the Derivative Works; within the Source form or
|
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
|
115
|
+
within a display generated by the Derivative Works, if and
|
|
116
|
+
wherever such third-party notices normally appear. The contents
|
|
117
|
+
of the NOTICE file are for informational purposes only and
|
|
118
|
+
do not modify the License. You may add Your own attribution
|
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
121
|
+
that such additional attribution notices cannot be construed
|
|
122
|
+
as modifying the License.
|
|
123
|
+
|
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
|
125
|
+
may provide additional or different license terms and conditions
|
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
129
|
+
the conditions stated in this License.
|
|
130
|
+
|
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
134
|
+
this License, without any additional terms or conditions.
|
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
136
|
+
the terms of any separate license agreement you may have executed
|
|
137
|
+
with Licensor regarding such Contributions.
|
|
138
|
+
|
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
141
|
+
except as required for reasonable and customary use in describing the
|
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
143
|
+
|
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
|
153
|
+
|
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
|
159
|
+
incidental, or consequential damages of any character arising as a
|
|
160
|
+
result of this License or out of the use or inability to use the
|
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
163
|
+
other commercial damages or losses), even if such Contributor
|
|
164
|
+
has been advised of the possibility of such damages.
|
|
165
|
+
|
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
169
|
+
or other liability obligations and/or rights consistent with this
|
|
170
|
+
License. However, in accepting such obligations, You may act only
|
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
175
|
+
of your accepting any such warranty or additional liability.
|
|
176
|
+
|
|
177
|
+
END OF TERMS AND CONDITIONS
|
|
178
|
+
|
|
179
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
180
|
+
|
|
181
|
+
To apply the Apache License to your work, attach the following
|
|
182
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
183
|
+
replaced with your own identifying information. (Don't include
|
|
184
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
185
|
+
comment syntax for the file format. We also recommend that a
|
|
186
|
+
file or class name and description of purpose be included on the
|
|
187
|
+
same "printed page" as the copyright notice for easier
|
|
188
|
+
identification within third-party archives.
|
|
189
|
+
|
|
190
|
+
Copyright [yyyy] [name of copyright owner]
|
|
191
|
+
|
|
192
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
193
|
+
you may not use this file except in compliance with the License.
|
|
194
|
+
You may obtain a copy of the License at
|
|
195
|
+
|
|
196
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
197
|
+
|
|
198
|
+
Unless required by applicable law or agreed to in writing, software
|
|
199
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
200
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
201
|
+
See the License for the specific language governing permissions and
|
|
202
|
+
limitations under the License.
|
camsim-0.1.0/NOTICE
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
camsim
|
|
2
|
+
Copyright 2026 Peng Zhao
|
|
3
|
+
|
|
4
|
+
This product includes software, data, and fonts developed by third parties.
|
|
5
|
+
The complete inventory, with copyright notices, licence names, and links to
|
|
6
|
+
the full licence texts, is in THIRD_PARTY.md. The camsim source code itself is
|
|
7
|
+
licensed under the Apache License, Version 2.0; see LICENSE.
|
|
8
|
+
|
|
9
|
+
Material redistributed with, or embedded in output produced by, this project
|
|
10
|
+
includes:
|
|
11
|
+
|
|
12
|
+
- DejaVu fonts, bundled with Matplotlib and used for documentation and figure
|
|
13
|
+
text. Copyright (c) 2003 Bitstream, Inc.; DejaVu changes are in the public
|
|
14
|
+
domain.
|
|
15
|
+
- ColorChecker 2005 spectral data, distributed by colour-science with the
|
|
16
|
+
notice "BabelColor ColorChecker data: Copyright (C) 2004-2012 Danny Pascale
|
|
17
|
+
(www.babelcolor.com); used by permission." The exact dataset used by camsim
|
|
18
|
+
is finalized in Phase 1 (Task 6).
|
|
19
|
+
|
|
20
|
+
colour-science is a runtime dependency and is not modified or redistributed by
|
|
21
|
+
this repository; its BSD-3-Clause licence and copyright are reproduced in
|
|
22
|
+
THIRD_PARTY.md for attribution.
|