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 658B

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