Projektarbeit Line Following Robot bei Prof. Chowanetz im WS22/23
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

processing.h 761B

12345678910111213141516171819202122232425
  1. #include <iostream>
  2. #include <opencv2/opencv.hpp>
  3. #include <utils.h>
  4. #include <vector>
  5. using namespace cv;
  6. using namespace std;
  7. class Processing
  8. {
  9. private:
  10. /* data */
  11. public:
  12. Processing(/* args */);
  13. // To do:
  14. // Binärbild
  15. // Linien finden (HoughLinesP())
  16. // Entscheidung über wie viele Linien und welche Art von Linien erkannt werden (abknickende Linien)
  17. // End und Anfangspunkt analysieren und Winkel und Ausrichtung der Linie extrahieren (Abstand des untersten Punktes von der Mitte)
  18. ~Processing();
  19. void processImage(Mat& inputPicture, int thresholdBinary, int gaussKernelSize, int thresholdCanny1, int thresholdCanny2, int apertureSizeCanny);
  20. std::vector<Vec4i> calculateLineSegments(const Mat& inputPicture);
  21. };