ClassFlowAnalog.h 833 B

12345678910111213141516171819202122232425262728293031323334353637
  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 getReadout();
  25. bool doNeuralNetwork(string time);
  26. bool doAlignAndCut(string time);
  27. std::vector<HTMLInfo*> GetHTMLInfo();
  28. int AnzahlROIs(){return ROI.size();};
  29. string name(){return "ClassFlowAnalog";};
  30. };