Improved LCP error correction

see issue 1408
This commit is contained in:
Oliver Duis
2012-06-12 22:48:34 +02:00
parent 639042ab56
commit fa39d8bf2a
2 changed files with 55 additions and 17 deletions

View File

@@ -71,6 +71,8 @@ namespace rtengine {
static void XMLCALL XmlTextHandler (void *pLCPProfile, const XML_Char *s, int len);
static void XMLCALL XmlEndHandler (void *pLCPProfile, const char *el);
int filterBadFrames(double maxAvgDevFac, int minFramesLeft);
public:
// Common data
Glib::ustring profileName, lensPrettyName, cameraPrettyName, lens, camera; // lens/camera(=model) can be auto-matched with DNG
@@ -79,7 +81,8 @@ namespace rtengine {
int persModelCount;
// The correction frames
LCPPersModel* aPersModel[2000]; // Do NOT use std::list or something, it's buggy in GCC!
static const int MaxPersModelCount=3000;
LCPPersModel* aPersModel[MaxPersModelCount]; // Do NOT use std::list or something, it's buggy in GCC!
LCPProfile(Glib::ustring fname);