Subversion Repositories seema-scanner

Rev

Rev 107 | Rev 128 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 107 Rev 123
Line 1... Line 1...
1
#include "SMReconstructionWorker.h"
1
#include "SMReconstructionWorker.h"
2
 
2
 
3
#include "AlgorithmGrayCode.h"
3
#include "AlgorithmGrayCode.h"
4
#include "AlgorithmGrayCodeHorzVert.h"
4
#include "AlgorithmGrayCodeHorzVert.h"
5
#include "AlgorithmPhaseShift.h"
5
#include "AlgorithmPhaseShift.h"
-
 
6
#include "AlgorithmLineShift.h"
6
 
7
 
7
#include <QCoreApplication>
8
#include <QCoreApplication>
8
#include <QSettings>
9
#include <QSettings>
9
 
10
 
10
#include <iostream>
11
#include <iostream>
Line 32... Line 33...
32
        algorithm = new AlgorithmGrayCode(resX, resY);
33
        algorithm = new AlgorithmGrayCode(resX, resY);
33
    else if(codec == "GrayCodeHorzVert")
34
    else if(codec == "GrayCodeHorzVert")
34
        algorithm = new AlgorithmGrayCodeHorzVert(resX, resY);
35
        algorithm = new AlgorithmGrayCodeHorzVert(resX, resY);
35
    else if(codec == "PhaseShift")
36
    else if(codec == "PhaseShift")
36
        algorithm = new AlgorithmPhaseShift(resX, resY);
37
        algorithm = new AlgorithmPhaseShift(resX, resY);
-
 
38
    else if(codec == "LineShift")
-
 
39
        algorithm = new AlgorithmLineShift(resX, resY);
37
    else
40
    else
38
        std::cerr << "SLScanWorker: invalid codec " << codec.toStdString() << std::endl;
41
        std::cerr << "SLScanWorker: invalid codec " << codec.toStdString() << std::endl;
39
 
42
 
40
 
43
 
41
//    // Precompute lens correction maps
44
//    // Precompute lens correction maps