lens profile: report availability of distortion and vignetting
Beside CA, report also distortion and vignetting availability. Rename is${CORRECTION}Available methods to has${CORRECTION}.
This commit is contained in:
@@ -53,9 +53,12 @@ public:
|
||||
|
||||
explicit operator bool() const;
|
||||
|
||||
bool hasDistortionCorrection() const override;
|
||||
bool hasCACorrection() const override;
|
||||
bool hasVignettingCorrection() const override;
|
||||
|
||||
void correctDistortionAndCA(double &x, double &y, int cx, int cy, int channel) const override;
|
||||
void correctDistortion(double &x, double &y, int cx, int cy) const override;
|
||||
bool isCACorrectionAvailable() const override;
|
||||
void correctCA(double &x, double &y, int cx, int cy, int channel) const override;
|
||||
void processVignette(int width, int height, float** rawData) const override;
|
||||
void processVignette3Channels(int width, int height, float** rawData) const override;
|
||||
|
Reference in New Issue
Block a user