copy constructor for labimage, further cleanup for locallab periphery

This commit is contained in:
Ingo Weyrich
2020-06-27 16:52:53 +02:00
parent f02c4e1fd1
commit 3bab9ec688
5 changed files with 23 additions and 32 deletions

View File

@@ -36,11 +36,12 @@ public:
float** b;
LabImage (int w, int h, bool initZero = false, bool multiThread = true);
LabImage (const LabImage& source, bool multiThread);
~LabImage ();
//Copies image data in Img into this instance.
void CopyFrom(LabImage *Img, bool multiThread = true);
void getPipetteData (float &L, float &a, float &b, int posX, int posY, int squareSize);
void CopyFrom(const LabImage *Img, bool multiThread = true);
void getPipetteData (float &L, float &a, float &b, int posX, int posY, int squareSize) const;
void deleteLab();
void reallocLab();
void clear(bool multiThread = false);