|
| void | LOOPstartstop (int stage) |
| | startLoop This slot is the target of the timeout on the QTimer tick, and fetches warped images from the thread buffers and stitches them
|
| void | LOOPiterate () |
| | iterateTracker Use the existing feature matches to stitch the images and track the kilobots
|
|
void | SETUPloadCalibration () |
| | loadCalibration Load the calibration matrices from an OpenCV FileStorage format
|
|
bool | RUNcapture () |
|
void | SETUPfindKilobots () |
| | findKilobots Find the locations of Kilobots in the stitched image
|
|
void | identifyKilobots () |
| | identifyKilobots Find out what IDs the Kilobots have
|
|
void | updateCropPoints (QRect cropRect) |
|
QSize | getImageSize () |
|
void | drawCircle (QPointF pos, float r, QColor col, int thickness=2, std::string text="", bool transparent=false) |
|
void | drawLine (std::vector< cv::Point > pos, QColor col, int thickness=2, std::string text="", bool transparent=false) |
|
void | clearDrawings () |
|
void | drawCircleOnRecordedImage (QPointF pos, float r, QColor col, int thickness=2, std::string text="") |
|
void | clearDrawingsOnRecordedImage () |
|
void | saveImage (QString file) |
|
void | saveVideoFrames (QString file, unsigned int numofframes) |
|
void | setSourceType (bool val) |
|
void | setKbMin (int val) |
|
void | setKbMax (int val) |
|
void | setCannyThresh (int val) |
|
void | setHoughAcc (int val) |
|
void | setKbLMin (int val) |
|
void | setKbLMax (int val) |
|
void | setLEDCannyThresh (int val) |
|
void | setLEDHoughAcc (int val) |
|
void | setLowRLED (int val) |
|
void | setLowGLED (int val) |
|
void | setLowBLED (int val) |
|
void | setHiRLED (int val) |
|
void | setHiGLED (int val) |
|
void | setHiBLED (int val) |
|
void | setHeightXSlider (int val) |
|
void | setHeightYSlider (int val) |
|
void | manuallyassignID (QPoint position) |
| void | setVideoDir (QString dir) |
| | setVideoDir
|
|
void | updateKilobotStates () |
|
void | getInitialKilobotStates () |
|
void | setTrackingType (int t_type) |
|
void | updateExperimentBroadcastingState (bool BroadcastingState) |
| void | showIds (bool toggle) |
| | showIds
|
|
void | detectred (bool toggle) |
|
void | detectgreen (bool toggle) |
|
void | detectblue (bool toggle) |
|
void | manualIDassignment (bool toggle) |
|
void | enableRuntimeIdentification (bool toggle) |
|
void | maxIDtoTry (QString maxIdStr) |
|
void | setManualID (QString manID) |
|
void | setFlipangle (double angle) |
|
void | RefreshDisplayedImage () |
| | RefreshDisplayedImage Refresh the displayed image on the GUI.
|
|
void | LOOPstartstop (int stage) |
| | startLoop This slot is the target of the timeout on the QTimer tick, and fetches warped images from the thread buffers and stitches them
|
|
void | LOOPiterate () |
| | iterateTracker Use the existing feature matches to stitch the images and track the kilobots
|
|
void | SETUPloadCalibration () |
| | loadCalibration Load the calibration matrices from an OpenCV FileStorage format
|
|
bool | RUNcapture () |
|
void | SETUPfindKilobots () |
| | findKilobots Find the locations of Kilobots in the stitched image
|
|
void | identifyKilobots () |
| | identifyKilobots Find out what IDs the Kilobots have
|
|
void | updateCropPoints (QRect cropRect) |
|
QSize | getImageSize () |
|
void | drawCircle (QPointF pos, float r, QColor col, int thickness=2, std::string text="", bool transparent=false) |
|
void | drawLine (std::vector< cv::Point > pos, QColor col, int thickness=2, std::string text="", bool transparent=false) |
|
void | clearDrawings () |
|
void | drawCircleOnRecordedImage (QPointF pos, float r, QColor col, int thickness=2, std::string text="") |
|
void | clearDrawingsOnRecordedImage () |
|
void | saveImage (QString file) |
|
void | saveVideoFrames (QString file, unsigned int numofframes) |
|
void | setSourceType (bool val) |
|
void | setKbMin (int val) |
|
void | setKbMax (int val) |
|
void | setCannyThresh (int val) |
|
void | setHoughAcc (int val) |
|
void | setKbLMin (int val) |
|
void | setKbLMax (int val) |
|
void | setLEDCannyThresh (int val) |
|
void | setLEDHoughAcc (int val) |
|
void | setLowRLED (int val) |
|
void | setLowGLED (int val) |
|
void | setLowBLED (int val) |
|
void | setHiRLED (int val) |
|
void | setHiGLED (int val) |
|
void | setHiBLED (int val) |
|
void | setHeightXSlider (int val) |
|
void | setHeightYSlider (int val) |
|
void | manuallyassignID (QPoint position) |
| void | setVideoDir (QString dir) |
| | setVideoDir
|
|
void | updateKilobotStates () |
|
void | getInitialKilobotStates () |
|
void | setTrackingType (int t_type) |
|
void | updateExperimentBroadcastingState (bool BroadcastingState) |
| void | showIds (bool toggle) |
| | showIds
|
|
void | detectred (bool toggle) |
|
void | detectgreen (bool toggle) |
|
void | detectblue (bool toggle) |
|
void | manualIDassignment (bool toggle) |
|
void | enableRuntimeIdentification (bool toggle) |
|
void | maxIDtoTry (QString maxIdStr) |
|
void | setManualID (QString manID) |
|
void | setFlipangle (double angle) |
|
void | RefreshDisplayedImage () |
| | RefreshDisplayedImage Refresh the displayed image on the GUI.
|
The KilobotTracker class.
This class contains the code that tracks Kilobots in the live camera or offline video feeds.