diff options
author | Stefan Klug <stefan.klug@ideasonboard.com> | 2025-01-23 12:41:04 +0100 |
---|---|---|
committer | Stefan Klug <stefan.klug@ideasonboard.com> | 2025-02-21 17:51:10 +0100 |
commit | ce9d547aff826d46344fd9d5e0be33112e6faeff (patch) | |
tree | 670257ab2c77a66d2971bfa598150d19a28dc96f /src/ipa/libipa/lux.h | |
parent | 92bb16b68edc820fde9a2f740f1ab14ed69b93d4 (diff) |
libipa: lux: Normalize referenceY to 1
By normalizing the referenceY value to 1 (which is the usual range for
Y) in the tuning file, the bins_ value is no longer needed. Remove it.
Signed-off-by: Stefan Klug <stefan.klug@ideasonboard.com>
Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
Reviewed-by: Daniel Scally <dan.scally@ideasonboard.com>
Reviewed-by: Daniel Scally <dan.scally@ideasonboard.com>
Diffstat (limited to 'src/ipa/libipa/lux.h')
-rw-r--r-- | src/ipa/libipa/lux.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ipa/libipa/lux.h b/src/ipa/libipa/lux.h index 93ca6479..d95bcdaf 100644 --- a/src/ipa/libipa/lux.h +++ b/src/ipa/libipa/lux.h @@ -21,7 +21,7 @@ class Histogram; class Lux { public: - Lux(unsigned int binSize); + Lux(); int parseTuningData(const YamlObject &tuningData); double estimateLux(utils::Duration exposureTime, @@ -29,7 +29,6 @@ public: const Histogram &yHist) const; private: - unsigned int binSize_; utils::Duration referenceExposureTime_; double referenceAnalogueGain_; double referenceDigitalGain_; |