nightly update 20200808

This commit is contained in:
jomjol
2020-08-08 18:26:50 +02:00
parent c9119deaea
commit 13b5d93190
9 changed files with 36 additions and 19 deletions

View File

@@ -1,5 +1,6 @@
#include "CFindTemplate.h"
#include "Helper.h"
#include "ClassLogFile.h"
#define _USE_MATH_DEFINES
#include <math.h>
@@ -453,6 +454,9 @@ void CAlignAndCutImage::Align(std::string _template0, int ref0_x, int ref0_y, st
delete imgzw;
}
string zw = "dx: " + to_string(dx) + "dy: " + to_string(dy) + "d_winkel: " + to_string(d_winkel);
LogFile.WriteToDedicatedFile("/sdcard/alignment.txt", zw);
CRotate rt(this->rgb_image, this->channels, this->width, this->height, this->bpp);
rt.Translate(dx, dy);
rt.Rotate(d_winkel, ref0_x, ref0_y);