camconst.cc/h : code review

This commit is contained in:
Ingo Weyrich
2020-03-08 14:12:23 +01:00
parent 245e097f9c
commit b2165aedd9
5 changed files with 109 additions and 260 deletions

View File

@@ -177,7 +177,7 @@ PDAFLinesFilter::PDAFLinesFilter(RawImage *ri):
gthresh_ = new PDAFGreenEqulibrateThreshold(W_, H_);
CameraConstantsStore* ccs = CameraConstantsStore::getInstance();
CameraConst *cc = ccs->get(ri_->get_maker().c_str(), ri_->get_model().c_str());
const CameraConst *cc = ccs->get(ri_->get_maker().c_str(), ri_->get_model().c_str());
if (cc) {
pattern_ = cc->get_pdafPattern();