@photivra/engine 2.2.1 → 2.4.1
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.
- package/CHANGELOG.md +38 -1
- package/CITATION.cff +1 -1
- package/README.md +6 -6
- package/SECURITY.md +1 -1
- package/dist/capture/native-environment-raw.d.ts +18 -0
- package/dist/capture/native-environment-raw.js +17 -1
- package/dist/capture/native-environment-raw.js.map +1 -1
- package/dist/capture/native-raw-dng.d.ts +3 -0
- package/dist/capture/native-raw-dng.js +23 -3
- package/dist/capture/native-raw-dng.js.map +1 -1
- package/dist/capture/native-raw.d.ts +3 -0
- package/dist/capture/native-raw.js +8 -5
- package/dist/capture/native-raw.js.map +1 -1
- package/dist/core/version.d.ts +1 -1
- package/dist/core/version.js +1 -1
- package/dist/core/version.js.map +1 -1
- package/dist/equipment/generic-prime-lenses.d.ts +46 -0
- package/dist/equipment/generic-prime-lenses.js +59 -0
- package/dist/equipment/generic-prime-lenses.js.map +1 -0
- package/dist/facade/chart-scenes.d.ts +270 -1
- package/dist/facade/chart-scenes.js +443 -17
- package/dist/facade/chart-scenes.js.map +1 -1
- package/dist/facade/scene-radiance.d.ts +47 -0
- package/dist/facade/scene-radiance.js +65 -5
- package/dist/facade/scene-radiance.js.map +1 -1
- package/dist/facade/simulate-capture.d.ts +158 -4
- package/dist/facade/simulate-capture.js +324 -56
- package/dist/facade/simulate-capture.js.map +1 -1
- package/dist/facade/subject-framing.d.ts +55 -0
- package/dist/facade/subject-framing.js +66 -0
- package/dist/facade/subject-framing.js.map +1 -0
- package/dist/gpu/chart-radiance-gpu.d.ts +8 -0
- package/dist/gpu/chart-radiance-gpu.js +20 -1
- package/dist/gpu/chart-radiance-gpu.js.map +1 -1
- package/dist/index.d.ts +6 -3
- package/dist/index.js +6 -3
- package/dist/index.js.map +1 -1
- package/dist/output/text-metadata.d.ts +32 -0
- package/dist/output/text-metadata.js +201 -0
- package/dist/output/text-metadata.js.map +1 -0
- package/docs/API_REFERENCE.md +56 -1
- package/docs/QUICK_START.md +325 -4
- package/docs/api/capture-native-raw-dng.md +2 -0
- package/docs/api/core-version.md +1 -1
- package/docs/api/equipment-generic-prime-lenses.md +85 -0
- package/docs/api/exports.json +172 -2
- package/docs/api/facade-chart-scenes.md +280 -4
- package/docs/api/facade-scene-radiance.md +42 -0
- package/docs/api/facade-simulate-capture.md +113 -2
- package/docs/api/facade-subject-framing.md +72 -0
- package/docs/api/output-text-metadata.md +20 -0
- package/package.json +1 -1
package/docs/api/exports.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"packageVersion": "2.
|
|
3
|
-
"engineApiVersion": "2.
|
|
2
|
+
"packageVersion": "2.4.1",
|
|
3
|
+
"engineApiVersion": "2.4.1",
|
|
4
4
|
"exports": [
|
|
5
5
|
{
|
|
6
6
|
"name": "AbsoluteUncertaintyEstimate",
|
|
@@ -202,6 +202,11 @@
|
|
|
202
202
|
"source": "src/motion/camera-rotation.ts",
|
|
203
203
|
"kind": "type"
|
|
204
204
|
},
|
|
205
|
+
{
|
|
206
|
+
"name": "BarGroupsChartScene",
|
|
207
|
+
"source": "src/facade/chart-scenes.ts",
|
|
208
|
+
"kind": "type"
|
|
209
|
+
},
|
|
205
210
|
{
|
|
206
211
|
"name": "BilateralFilterInput",
|
|
207
212
|
"source": "src/processing/denoise.ts",
|
|
@@ -317,6 +322,11 @@
|
|
|
317
322
|
"source": "src/optics/atmospheric-haze.ts",
|
|
318
323
|
"kind": "type"
|
|
319
324
|
},
|
|
325
|
+
{
|
|
326
|
+
"name": "calculateBarGroupTargets",
|
|
327
|
+
"source": "src/facade/chart-scenes.ts",
|
|
328
|
+
"kind": "runtime"
|
|
329
|
+
},
|
|
320
330
|
{
|
|
321
331
|
"name": "calculateBrownConradyDistortionMapping",
|
|
322
332
|
"source": "src/optics/brown-conrady-distortion.ts",
|
|
@@ -682,6 +692,11 @@
|
|
|
682
692
|
"source": "src/color/gamut-mapping.ts",
|
|
683
693
|
"kind": "runtime"
|
|
684
694
|
},
|
|
695
|
+
{
|
|
696
|
+
"name": "calculateGenericPrimeMinimumFocusDistanceM",
|
|
697
|
+
"source": "src/equipment/generic-prime-lenses.ts",
|
|
698
|
+
"kind": "runtime"
|
|
699
|
+
},
|
|
685
700
|
{
|
|
686
701
|
"name": "calculateGeometricFocusBreathing",
|
|
687
702
|
"source": "src/optics/focus-breathing.ts",
|
|
@@ -1287,6 +1302,11 @@
|
|
|
1287
1302
|
"source": "src/sensor/signal-noise.ts",
|
|
1288
1303
|
"kind": "type"
|
|
1289
1304
|
},
|
|
1305
|
+
{
|
|
1306
|
+
"name": "calculateSlantedSquareEdges",
|
|
1307
|
+
"source": "src/facade/chart-scenes.ts",
|
|
1308
|
+
"kind": "runtime"
|
|
1309
|
+
},
|
|
1290
1310
|
{
|
|
1291
1311
|
"name": "calculateStabilizedCaptureTemporalSamples",
|
|
1292
1312
|
"source": "src/stabilization/system.ts",
|
|
@@ -1312,6 +1332,16 @@
|
|
|
1312
1332
|
"source": "src/facade/chart-scenes.ts",
|
|
1313
1333
|
"kind": "runtime"
|
|
1314
1334
|
},
|
|
1335
|
+
{
|
|
1336
|
+
"name": "calculateSubjectDistanceForFraming",
|
|
1337
|
+
"source": "src/facade/subject-framing.ts",
|
|
1338
|
+
"kind": "runtime"
|
|
1339
|
+
},
|
|
1340
|
+
{
|
|
1341
|
+
"name": "CalculateSubjectDistanceForFramingInput",
|
|
1342
|
+
"source": "src/facade/subject-framing.ts",
|
|
1343
|
+
"kind": "type"
|
|
1344
|
+
},
|
|
1315
1345
|
{
|
|
1316
1346
|
"name": "calculateSubjectFramingCrop",
|
|
1317
1347
|
"source": "src/output/subject-framing-crop.ts",
|
|
@@ -1767,6 +1797,11 @@
|
|
|
1767
1797
|
"source": "src/optics/lateral-chromatic-aberration.ts",
|
|
1768
1798
|
"kind": "type"
|
|
1769
1799
|
},
|
|
1800
|
+
{
|
|
1801
|
+
"name": "CHART_CONTINUOUS_LEVELS",
|
|
1802
|
+
"source": "src/facade/chart-scenes.ts",
|
|
1803
|
+
"kind": "runtime"
|
|
1804
|
+
},
|
|
1770
1805
|
{
|
|
1771
1806
|
"name": "CHART_RADIANCE_BATCH_LIMITS",
|
|
1772
1807
|
"source": "src/facade/chart-radiance-batch.ts",
|
|
@@ -1787,11 +1822,26 @@
|
|
|
1787
1822
|
"source": "src/facade/chart-scenes.ts",
|
|
1788
1823
|
"kind": "runtime"
|
|
1789
1824
|
},
|
|
1825
|
+
{
|
|
1826
|
+
"name": "CHART_SIZE_DEFAULT_SURROUND_REFLECTANCE",
|
|
1827
|
+
"source": "src/facade/scene-radiance.ts",
|
|
1828
|
+
"kind": "runtime"
|
|
1829
|
+
},
|
|
1790
1830
|
{
|
|
1791
1831
|
"name": "CHART_SPECTRAL_RANGE_NANOMETERS",
|
|
1792
1832
|
"source": "src/facade/chart-scenes.ts",
|
|
1793
1833
|
"kind": "runtime"
|
|
1794
1834
|
},
|
|
1835
|
+
{
|
|
1836
|
+
"name": "ChartBarGroupTarget",
|
|
1837
|
+
"source": "src/facade/chart-scenes.ts",
|
|
1838
|
+
"kind": "type"
|
|
1839
|
+
},
|
|
1840
|
+
{
|
|
1841
|
+
"name": "ChartElementScene",
|
|
1842
|
+
"source": "src/facade/chart-scenes.ts",
|
|
1843
|
+
"kind": "type"
|
|
1844
|
+
},
|
|
1795
1845
|
{
|
|
1796
1846
|
"name": "ChartRadianceBatchInput",
|
|
1797
1847
|
"source": "src/facade/chart-radiance-batch.ts",
|
|
@@ -1807,6 +1857,11 @@
|
|
|
1807
1857
|
"source": "src/gpu/image-kernel-accelerator.ts",
|
|
1808
1858
|
"kind": "type"
|
|
1809
1859
|
},
|
|
1860
|
+
{
|
|
1861
|
+
"name": "ChartRectangle",
|
|
1862
|
+
"source": "src/facade/chart-scenes.ts",
|
|
1863
|
+
"kind": "type"
|
|
1864
|
+
},
|
|
1810
1865
|
{
|
|
1811
1866
|
"name": "ChartReflectance",
|
|
1812
1867
|
"source": "src/facade/chart-scenes.ts",
|
|
@@ -1822,6 +1877,16 @@
|
|
|
1822
1877
|
"source": "src/facade/chart-scenes.ts",
|
|
1823
1878
|
"kind": "type"
|
|
1824
1879
|
},
|
|
1880
|
+
{
|
|
1881
|
+
"name": "ChartSizeOption",
|
|
1882
|
+
"source": "src/facade/scene-radiance.ts",
|
|
1883
|
+
"kind": "type"
|
|
1884
|
+
},
|
|
1885
|
+
{
|
|
1886
|
+
"name": "ChartSlantedSquare",
|
|
1887
|
+
"source": "src/facade/chart-scenes.ts",
|
|
1888
|
+
"kind": "type"
|
|
1889
|
+
},
|
|
1825
1890
|
{
|
|
1826
1891
|
"name": "CheckerboardChartScene",
|
|
1827
1892
|
"source": "src/facade/chart-scenes.ts",
|
|
@@ -2047,6 +2112,16 @@
|
|
|
2047
2112
|
"source": "src/core/spectral-composition.ts",
|
|
2048
2113
|
"kind": "type"
|
|
2049
2114
|
},
|
|
2115
|
+
{
|
|
2116
|
+
"name": "CompositeChartElement",
|
|
2117
|
+
"source": "src/facade/chart-scenes.ts",
|
|
2118
|
+
"kind": "type"
|
|
2119
|
+
},
|
|
2120
|
+
{
|
|
2121
|
+
"name": "CompositeChartScene",
|
|
2122
|
+
"source": "src/facade/chart-scenes.ts",
|
|
2123
|
+
"kind": "type"
|
|
2124
|
+
},
|
|
2050
2125
|
{
|
|
2051
2126
|
"name": "CorrelatedColorTemperatureResult",
|
|
2052
2127
|
"source": "src/color/illuminants.ts",
|
|
@@ -2427,6 +2502,11 @@
|
|
|
2427
2502
|
"source": "src/optics/zernike-wavefront.ts",
|
|
2428
2503
|
"kind": "type"
|
|
2429
2504
|
},
|
|
2505
|
+
{
|
|
2506
|
+
"name": "DeadLeavesChartScene",
|
|
2507
|
+
"source": "src/facade/chart-scenes.ts",
|
|
2508
|
+
"kind": "type"
|
|
2509
|
+
},
|
|
2430
2510
|
{
|
|
2431
2511
|
"name": "DeclaredEffectiveCaptureSampling",
|
|
2432
2512
|
"source": "src/sensor/capture-mode.ts",
|
|
@@ -2862,6 +2942,11 @@
|
|
|
2862
2942
|
"source": "src/motion/extended-object-projection.ts",
|
|
2863
2943
|
"kind": "type"
|
|
2864
2944
|
},
|
|
2945
|
+
{
|
|
2946
|
+
"name": "FiducialChartScene",
|
|
2947
|
+
"source": "src/facade/chart-scenes.ts",
|
|
2948
|
+
"kind": "type"
|
|
2949
|
+
},
|
|
2865
2950
|
{
|
|
2866
2951
|
"name": "FieldOfView",
|
|
2867
2952
|
"source": "src/camera/field-of-view.ts",
|
|
@@ -3122,6 +3207,21 @@
|
|
|
3122
3207
|
"source": "src/sensor/iso-signal-chain.ts",
|
|
3123
3208
|
"kind": "runtime"
|
|
3124
3209
|
},
|
|
3210
|
+
{
|
|
3211
|
+
"name": "GENERIC_PRIME_EQUIVALENT_FOCAL_LENGTHS_MM",
|
|
3212
|
+
"source": "src/equipment/generic-prime-lenses.ts",
|
|
3213
|
+
"kind": "runtime"
|
|
3214
|
+
},
|
|
3215
|
+
{
|
|
3216
|
+
"name": "GENERIC_PRIME_MINIMUM_FOCUS",
|
|
3217
|
+
"source": "src/equipment/generic-prime-lenses.ts",
|
|
3218
|
+
"kind": "runtime"
|
|
3219
|
+
},
|
|
3220
|
+
{
|
|
3221
|
+
"name": "GENERIC_PRIME_THIRD_STOP_F_NUMBERS",
|
|
3222
|
+
"source": "src/equipment/generic-prime-lenses.ts",
|
|
3223
|
+
"kind": "runtime"
|
|
3224
|
+
},
|
|
3125
3225
|
{
|
|
3126
3226
|
"name": "GENERIC_RELEASE_CAPABILITY_SCHEMA_VERSION",
|
|
3127
3227
|
"source": "src/equipment/release-capabilities.ts",
|
|
@@ -3212,6 +3312,16 @@
|
|
|
3212
3312
|
"source": "src/optics/profile-contract.ts",
|
|
3213
3313
|
"kind": "type"
|
|
3214
3314
|
},
|
|
3315
|
+
{
|
|
3316
|
+
"name": "GenericPrimeEquivalentFocalLengthMm",
|
|
3317
|
+
"source": "src/equipment/generic-prime-lenses.ts",
|
|
3318
|
+
"kind": "type"
|
|
3319
|
+
},
|
|
3320
|
+
{
|
|
3321
|
+
"name": "GenericPrimeLens",
|
|
3322
|
+
"source": "src/equipment/generic-prime-lenses.ts",
|
|
3323
|
+
"kind": "type"
|
|
3324
|
+
},
|
|
3215
3325
|
{
|
|
3216
3326
|
"name": "GenericReleaseCapabilityProfile",
|
|
3217
3327
|
"source": "src/equipment/release-capabilities.ts",
|
|
@@ -3362,6 +3472,11 @@
|
|
|
3362
3472
|
"source": "src/exposure/metering.ts",
|
|
3363
3473
|
"kind": "type"
|
|
3364
3474
|
},
|
|
3475
|
+
{
|
|
3476
|
+
"name": "HyperbolicWedgeChartScene",
|
|
3477
|
+
"source": "src/facade/chart-scenes.ts",
|
|
3478
|
+
"kind": "type"
|
|
3479
|
+
},
|
|
3365
3480
|
{
|
|
3366
3481
|
"name": "IdealApertureGeometry",
|
|
3367
3482
|
"source": "src/optics/aperture.ts",
|
|
@@ -3377,6 +3492,11 @@
|
|
|
3377
3492
|
"source": "src/optics/polygon-diffraction.ts",
|
|
3378
3493
|
"kind": "type"
|
|
3379
3494
|
},
|
|
3495
|
+
{
|
|
3496
|
+
"name": "IdealReferenceResult",
|
|
3497
|
+
"source": "src/facade/simulate-capture.ts",
|
|
3498
|
+
"kind": "type"
|
|
3499
|
+
},
|
|
3380
3500
|
{
|
|
3381
3501
|
"name": "IlluminationLensCorrection",
|
|
3382
3502
|
"source": "src/output/lens-corrections.ts",
|
|
@@ -3967,6 +4087,11 @@
|
|
|
3967
4087
|
"source": "src/optics/front-of-lens-filter.ts",
|
|
3968
4088
|
"kind": "type"
|
|
3969
4089
|
},
|
|
4090
|
+
{
|
|
4091
|
+
"name": "LineGridChartScene",
|
|
4092
|
+
"source": "src/facade/chart-scenes.ts",
|
|
4093
|
+
"kind": "type"
|
|
4094
|
+
},
|
|
3970
4095
|
{
|
|
3971
4096
|
"name": "LongitudinalChromaticDispersion",
|
|
3972
4097
|
"source": "src/optics/longitudinal-chromatic-aberration.ts",
|
|
@@ -4487,6 +4612,11 @@
|
|
|
4487
4612
|
"source": "src/output/capture-geometry.ts",
|
|
4488
4613
|
"kind": "type"
|
|
4489
4614
|
},
|
|
4615
|
+
{
|
|
4616
|
+
"name": "OutputTextMetadata",
|
|
4617
|
+
"source": "src/output/text-metadata.ts",
|
|
4618
|
+
"kind": "type"
|
|
4619
|
+
},
|
|
4490
4620
|
{
|
|
4491
4621
|
"name": "PACKED_SENSOR_RAW_LIMITS",
|
|
4492
4622
|
"source": "src/capture/packed-sensor-raw.ts",
|
|
@@ -6277,6 +6407,11 @@
|
|
|
6277
6407
|
"source": "src/sensor/iso-signal-chain.ts",
|
|
6278
6408
|
"kind": "runtime"
|
|
6279
6409
|
},
|
|
6410
|
+
{
|
|
6411
|
+
"name": "resolveGenericPrimeLens",
|
|
6412
|
+
"source": "src/equipment/generic-prime-lenses.ts",
|
|
6413
|
+
"kind": "runtime"
|
|
6414
|
+
},
|
|
6280
6415
|
{
|
|
6281
6416
|
"name": "resolveHighSpeedFlashSync",
|
|
6282
6417
|
"source": "src/exposure/flash.ts",
|
|
@@ -7737,6 +7872,11 @@
|
|
|
7737
7872
|
"source": "src/sensor/signal-noise.ts",
|
|
7738
7873
|
"kind": "type"
|
|
7739
7874
|
},
|
|
7875
|
+
{
|
|
7876
|
+
"name": "SIMULATE_CAPTURE_BOX_APERTURE_DEFAULT_SAMPLES",
|
|
7877
|
+
"source": "src/facade/simulate-capture.ts",
|
|
7878
|
+
"kind": "runtime"
|
|
7879
|
+
},
|
|
7740
7880
|
{
|
|
7741
7881
|
"name": "SIMULATE_CAPTURE_COST_OPTIONS",
|
|
7742
7882
|
"source": "src/facade/simulate-capture.ts",
|
|
@@ -7807,6 +7947,11 @@
|
|
|
7807
7947
|
"source": "src/facade/simulate-capture.ts",
|
|
7808
7948
|
"kind": "type"
|
|
7809
7949
|
},
|
|
7950
|
+
{
|
|
7951
|
+
"name": "SimulateCapturePixelAperture",
|
|
7952
|
+
"source": "src/facade/simulate-capture.ts",
|
|
7953
|
+
"kind": "type"
|
|
7954
|
+
},
|
|
7810
7955
|
{
|
|
7811
7956
|
"name": "SimulateCaptureProgress",
|
|
7812
7957
|
"source": "src/facade/simulate-capture.ts",
|
|
@@ -7852,6 +7997,11 @@
|
|
|
7852
7997
|
"source": "src/capture/environment-raw-producer.ts",
|
|
7853
7998
|
"kind": "type"
|
|
7854
7999
|
},
|
|
8000
|
+
{
|
|
8001
|
+
"name": "simulateIdealReference",
|
|
8002
|
+
"source": "src/facade/simulate-capture.ts",
|
|
8003
|
+
"kind": "runtime"
|
|
8004
|
+
},
|
|
7855
8005
|
{
|
|
7856
8006
|
"name": "simulatePackedSensorRaw",
|
|
7857
8007
|
"source": "src/capture/packed-sensor-raw.ts",
|
|
@@ -7902,6 +8052,11 @@
|
|
|
7902
8052
|
"source": "src/facade/chart-scenes.ts",
|
|
7903
8053
|
"kind": "type"
|
|
7904
8054
|
},
|
|
8055
|
+
{
|
|
8056
|
+
"name": "SlantedSquaresChartScene",
|
|
8057
|
+
"source": "src/facade/chart-scenes.ts",
|
|
8058
|
+
"kind": "type"
|
|
8059
|
+
},
|
|
7905
8060
|
{
|
|
7906
8061
|
"name": "SourcedAirPhaseRefractiveIndex",
|
|
7907
8062
|
"source": "src/sensor/photon-energy.ts",
|
|
@@ -8112,11 +8267,21 @@
|
|
|
8112
8267
|
"source": "src/optics/stray-light.ts",
|
|
8113
8268
|
"kind": "type"
|
|
8114
8269
|
},
|
|
8270
|
+
{
|
|
8271
|
+
"name": "SubjectFraming",
|
|
8272
|
+
"source": "src/facade/subject-framing.ts",
|
|
8273
|
+
"kind": "type"
|
|
8274
|
+
},
|
|
8115
8275
|
{
|
|
8116
8276
|
"name": "SubjectFramingCrop",
|
|
8117
8277
|
"source": "src/output/subject-framing-crop.ts",
|
|
8118
8278
|
"kind": "type"
|
|
8119
8279
|
},
|
|
8280
|
+
{
|
|
8281
|
+
"name": "SubjectFramingFit",
|
|
8282
|
+
"source": "src/facade/subject-framing.ts",
|
|
8283
|
+
"kind": "type"
|
|
8284
|
+
},
|
|
8120
8285
|
{
|
|
8121
8286
|
"name": "SYNTHETIC_FILM_GRAIN_STREAM_ID",
|
|
8122
8287
|
"source": "src/processing/denoise.ts",
|
|
@@ -8401,6 +8566,11 @@
|
|
|
8401
8566
|
"name": "ZernikeOrder",
|
|
8402
8567
|
"source": "src/optics/zernike-wavefront.ts",
|
|
8403
8568
|
"kind": "type"
|
|
8569
|
+
},
|
|
8570
|
+
{
|
|
8571
|
+
"name": "ZonePlateChartScene",
|
|
8572
|
+
"source": "src/facade/chart-scenes.ts",
|
|
8573
|
+
"kind": "type"
|
|
8404
8574
|
}
|
|
8405
8575
|
]
|
|
8406
8576
|
}
|