dispmap/svkernelv1.h

24 lines
401 B
C
Raw Normal View History

2014-07-11 20:35:48 +04:00
#ifndef SVKERNELV1_H
#define SVKERNELV1_H
#include "svabstractkernel.h"
class SvKernelV1: public SvAbstractKernel
{
protected:
int m_windowSize = 90;
public:
void exec(int line) override;
SvKernelV1();
virtual ~SvKernelV1();
protected:
int getPixelColor(int cursor);
int diff(int lx, int ly, int rx, int ry);
int match(int x, int y, int i);
};
#endif // SVKERNELV1_H