added automatic adaptive green equilibration to the PDAF lines filter

This commit is contained in:
Alberto Griggio
2018-03-08 16:12:34 +01:00
parent 06bd387d52
commit 24edd97dca
5 changed files with 150 additions and 14 deletions

View File

@@ -28,17 +28,21 @@ namespace rtengine {
class PDAFLinesFilter {
public:
PDAFLinesFilter(RawImage *ri);
~PDAFLinesFilter();
int mark(array2D<float> &rawData, PixelsMap &bpMap);
RawImageSource::GreenEqulibrateThreshold &greenEqThreshold();
private:
int markLine(array2D<float> &rawData, PixelsMap &bpMap, int y);
RawImage *ri_;
int W_;
int H_;
std::vector<int> pattern_;
int offset_;
std::vector<bool> rowmap_;
RawImageSource::GreenEqulibrateThreshold *gthresh_;
};
} // namespace rtengine