dispmap/svimage.h
Andrey Tkachenko 772bf4e9ae Migrate to Qt
2014-07-11 20:35:48 +04:00

29 lines
471 B
C++

#ifndef SVIMAGE_H
#define SVIMAGE_H
#include <QImage>
#include <QRgb>
#include <QColor>
class SvImage
{
protected:
QImage* m_image;
public:
int getPixel(int x, int y, int channel);
int getPixelHue(int x, int y);
int getPixelValue(int x, int y);
void putPixel(int x, int y, int val);
unsigned int getHeight();
unsigned int getWidth();
QImage& getImage();
SvImage(QImage& image);
virtual ~SvImage();
};
#endif // SVIMAGE_H