added vignette correction via lensfun

This commit is contained in:
Alberto Griggio
2017-09-07 09:17:28 +02:00
parent dde94bc6d3
commit 18f3bd6f45
2 changed files with 27 additions and 5 deletions

View File

@@ -61,13 +61,13 @@ void LFModifier::correctDistortion(double &x, double &y, int cx, int cy, double
void LFModifier::processVignetteLine(int width, int y, float *line) const
{
// TODO
data_->ApplyColorModification(line, 0, y, width, 1, LF_CR_1(INTENSITY), 0);
}
void LFModifier::processVignetteLine3Channels(int width, int y, float *line) const
{
// TODO
data_->ApplyColorModification(line, 0, y, width, 1, LF_CR_3(RED, GREEN, BLUE), 0);
}