ClassFlowAnalog.h 876 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. #pragma once
  2. #include "ClassFlow.h"
  3. // #include "CTfLiteClass.h"
  4. struct roianalog {
  5. int posx, posy, deltax, deltay;
  6. float result;
  7. string name;
  8. };
  9. class ClassFlowAnalog :
  10. public ClassFlow
  11. {
  12. protected:
  13. string LogImageLocation;
  14. bool isLogImage;
  15. std::vector<roianalog*> ROI;
  16. string cnnmodelfile;
  17. int modelxsize, modelysize;
  18. int ZeigerEval(float zahl, int ziffer_vorgaenger);
  19. public:
  20. ClassFlowAnalog();
  21. ClassFlowAnalog(std::vector<ClassFlow*>* lfc);
  22. bool ReadParameter(FILE* pfile, string& aktparamgraph);
  23. bool doFlow(string time);
  24. string getHTMLSingleStep(string host);
  25. string getReadout();
  26. bool doNeuralNetwork(string time);
  27. bool doAlignAndCut(string time);
  28. std::vector<HTMLInfo*> GetHTMLInfo();
  29. int AnzahlROIs(){return ROI.size();};
  30. string name(){return "ClassFlowAnalog";};
  31. };