#include <ProcessImage.h>
Public Member Functions | |
| int | Load_config (int argc, char **argv) |
| void | ProcessImage (Mat &raw_mat, ofstream *outputFile, int index, clock_t *elapsedTime) |
| bool | ReadLines (const char *filename, vector< string > *lines) |
Private Attributes | |
| CameraInfo | cameraInfo |
| LaneDetectorConf | lanesConf |
| gengetopt_args_info | options |
| LaneDetectorConf | stoplinesConf |
Definition at line 70 of file ProcessImage.h.
| int Procecess::Load_config | ( | int | argc, | |
| char ** | argv | |||
| ) | [inline] |
Definition at line 83 of file ProcessImage.h.
| void Procecess::ProcessImage | ( | Mat & | raw_mat, | |
| ofstream * | outputFile, | |||
| int | index, | |||
| clock_t * | elapsedTime | |||
| ) | [inline] |
This function processes an input image and detects lanes/stoplines based on the passed in command line arguments
| outputFile | the output file stream to write output lanes to | |
| index | the image index (used for saving output files) | |
| elapsedTime | if NOT NULL, it is accumulated with clock ticks for the detection operation |
Definition at line 124 of file ProcessImage.h.
| bool Procecess::ReadLines | ( | const char * | filename, | |
| vector< string > * | lines | |||
| ) | [inline] |
This function reads lines from the input file into a vector of strings
| filename | the input file name | |
| lines | the output vector of lines |
Definition at line 395 of file ProcessImage.h.
CameraInfo Procecess::cameraInfo [private] |
Definition at line 76 of file ProcessImage.h.
LaneDetectorConf Procecess::lanesConf [private] |
Definition at line 78 of file ProcessImage.h.
gengetopt_args_info Procecess::options [private] |
Definition at line 74 of file ProcessImage.h.
LaneDetectorConf Procecess::stoplinesConf [private] |
Definition at line 78 of file ProcessImage.h.