mirror of
https://github.com/jomjol/AI-on-the-edge-device.git
synced 2025-12-06 19:46:54 +03:00
46 lines
1012 B
C++
46 lines
1012 B
C++
#pragma once
|
|
|
|
#include "ClassFlow.h"
|
|
#include "Helper.h"
|
|
#include "CAlignAndCutImage.h"
|
|
#include "CFindTemplate.h"
|
|
|
|
#include <string>
|
|
|
|
using namespace std;
|
|
|
|
class ClassFlowAlignment :
|
|
public ClassFlow
|
|
{
|
|
protected:
|
|
float initalrotate;
|
|
bool initialmirror;
|
|
bool initialflip;
|
|
RefInfo References[2];
|
|
int anz_ref;
|
|
string namerawimage;
|
|
bool SaveAllFiles;
|
|
CAlignAndCutImage *AlignAndCutImage;
|
|
std::string FileStoreRefAlignment;
|
|
float SAD_criteria;
|
|
|
|
void SetInitialParameter(void);
|
|
bool LoadReferenceAlignmentValues(void);
|
|
void SaveReferenceAlignmentValues();
|
|
|
|
public:
|
|
CImageBasis *ImageBasis, *ImageTMP;
|
|
|
|
ClassFlowAlignment(std::vector<ClassFlow*>* lfc);
|
|
|
|
CAlignAndCutImage* GetAlignAndCutImage(){return AlignAndCutImage;};
|
|
|
|
void DrawRef(CImageBasis *_zw);
|
|
|
|
bool ReadParameter(FILE* pfile, string& aktparamgraph);
|
|
bool doFlow(string time);
|
|
string getHTMLSingleStep(string host);
|
|
string name(){return "ClassFlowAlignment";};
|
|
};
|
|
|