00001 /************************************************************************************************** 00002 Software License Agreement (BSD License) 00003 00004 Copyright (c) 2011-2013, LAR toolkit developers - University of Aveiro - http://lars.mec.ua.pt 00005 All rights reserved. 00006 00007 Redistribution and use in source and binary forms, with or without modification, are permitted 00008 provided that the following conditions are met: 00009 00010 *Redistributions of source code must retain the above copyright notice, this list of 00011 conditions and the following disclaimer. 00012 *Redistributions in binary form must reproduce the above copyright notice, this list of 00013 conditions and the following disclaimer in the documentation and/or other materials provided 00014 with the distribution. 00015 *Neither the name of the University of Aveiro nor the names of its contributors may be used to 00016 endorse or promote products derived from this software without specific prior written permission. 00017 00018 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR 00019 IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND 00020 FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR 00021 CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 00022 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 00023 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER 00024 IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT 00025 OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 00026 ***************************************************************************************************/ 00027 /* LaneDetectorOpt.h */ 00028 00029 /* File autogenerated by gengetopt version 2.18 */ 00030 00031 #ifndef LANEDETECTOROPT_H 00032 #define LANEDETECTOROPT_H 00033 00034 /* If we use autoconf. */ 00035 #ifdef HAVE_CONFIG_H 00036 #include "config.h" 00037 #endif 00038 00039 #ifdef __cplusplus 00040 extern "C" { 00041 #endif /* __cplusplus */ 00042 00043 #ifndef LANEDETECTORPARSER_PACKAGE 00044 #define LANEDETECTORPARSER_PACKAGE "LaneDetector" 00045 #endif 00046 00047 #ifndef LANEDETECTORPARSER_VERSION 00048 #define LANEDETECTORPARSER_VERSION "0.1" 00049 #endif 00050 00051 struct LaneDetectorParserInfo 00052 { 00053 const char *help_help; /* Print help and exit help description. */ 00054 const char *version_help; /* Print version and exit help description. */ 00055 int ipmWidth_arg; /* width of IPM image to use. */ 00056 char * ipmWidth_orig; /* width of IPM image to use original value given at command line. */ 00057 const char *ipmWidth_help; /* width of IPM image to use help description. */ 00058 int ipmHeight_arg; /* height of IPM image to use. */ 00059 char * ipmHeight_orig; /* height of IPM image to use original value given at command line. */ 00060 const char *ipmHeight_help; /* height of IPM image to use help description. */ 00061 int ipmTop_arg; /* Top point in original image of region to make IPM for. */ 00062 char * ipmTop_orig; /* Top point in original image of region to make IPM for original value given at command line. */ 00063 const char *ipmTop_help; /* Top point in original image of region to make IPM for help description. */ 00064 int ipmLeft_arg; /* Left point in original image of region to make IPM for. */ 00065 char * ipmLeft_orig; /* Left point in original image of region to make IPM for original value given at command line. */ 00066 const char *ipmLeft_help; /* Left point in original image of region to make IPM for help description. */ 00067 int ipmRight_arg; /* Right point in original image region to make IPM for. */ 00068 char * ipmRight_orig; /* Right point in original image region to make IPM for original value given at command line. */ 00069 const char *ipmRight_help; /* Right point in original image region to make IPM for help description. */ 00070 int ipmBottom_arg; /* Bottom point in original image region to make IPM for. */ 00071 char * ipmBottom_orig; /* Bottom point in original image region to make IPM for original value given at command line. */ 00072 const char *ipmBottom_help; /* Bottom point in original image region to make IPM for help description. */ 00073 int ipmInterpolation_arg; /* The method to use for IPM interpolation. */ 00074 char * ipmInterpolation_orig; /* The method to use for IPM interpolation original value given at command line. */ 00075 const char *ipmInterpolation_help; /* The method to use for IPM interpolation help description. */ 00076 double lineWidth_arg; /* width of line to detect in mm (in the world). */ 00077 char * lineWidth_orig; /* width of line to detect in mm (in the world) original value given at command line. */ 00078 const char *lineWidth_help; /* width of line to detect in mm (in the world) help description. */ 00079 double lineHeight_arg; /* height of line to detect in mm (in the world). */ 00080 char * lineHeight_orig; /* height of line to detect in mm (in the world) original value given at command line. */ 00081 const char *lineHeight_help; /* height of line to detect in mm (in the world) help description. */ 00082 int kernelWidth_arg; /* widht of kernel to use for filtering. */ 00083 char * kernelWidth_orig; /* widht of kernel to use for filtering original value given at command line. */ 00084 const char *kernelWidth_help; /* widht of kernel to use for filtering help description. */ 00085 int kernelHeight_arg; /* Height of kernel to use for filtering. */ 00086 char * kernelHeight_orig; /* Height of kernel to use for filtering original value given at command line. */ 00087 const char *kernelHeight_help; /* Height of kernel to use for filtering help description. */ 00088 double lowerQuantile_arg; /* lower quantile to use for thresholding the filtered image. */ 00089 char * lowerQuantile_orig; /* lower quantile to use for thresholding the filtered image original value given at command line. */ 00090 const char *lowerQuantile_help; /* lower quantile to use for thresholding the filtered image help description. */ 00091 int localMaxima_arg; /* whether to return local maxima or just the maximum. */ 00092 char * localMaxima_orig; /* whether to return local maxima or just the maximum original value given at command line. */ 00093 const char *localMaxima_help; /* whether to return local maxima or just the maximum help description. */ 00094 int groupingType_arg; /* type of grouping to use (default 0: HV lines). */ 00095 char * groupingType_orig; /* type of grouping to use (default 0: HV lines) original value given at command line. */ 00096 const char *groupingType_help; /* type of grouping to use (default 0: HV lines) help description. */ 00097 double binarize_arg; /* whether to binarize the thresholded image or use the raw values. */ 00098 char * binarize_orig; /* whether to binarize the thresholded image or use the raw values original value given at command line. */ 00099 const char *binarize_help; /* whether to binarize the thresholded image or use the raw values help description. */ 00100 double detectionThreshold_arg; /* threshold for line scores to declare as line. */ 00101 char * detectionThreshold_orig; /* threshold for line scores to declare as line original value given at command line. */ 00102 const char *detectionThreshold_help; /* threshold for line scores to declare as line help description. */ 00103 int smoothScores_arg; /* whether to smooth scores of lines detected or not. */ 00104 char * smoothScores_orig; /* whether to smooth scores of lines detected or not original value given at command line. */ 00105 const char *smoothScores_help; /* whether to smooth scores of lines detected or not help description. */ 00106 double rMin_arg; /* rMin for Hough transform (in pixels). */ 00107 char * rMin_orig; /* rMin for Hough transform (in pixels) original value given at command line. */ 00108 const char *rMin_help; /* rMin for Hough transform (in pixels) help description. */ 00109 double rMax_arg; /* rMax for Hough transform (in pixels). */ 00110 char * rMax_orig; /* rMax for Hough transform (in pixels) original value given at command line. */ 00111 const char *rMax_help; /* rMax for Hough transform (in pixels) help description. */ 00112 double rStep_arg; /* rStep for Hough transform (in pixels). */ 00113 char * rStep_orig; /* rStep for Hough transform (in pixels) original value given at command line. */ 00114 const char *rStep_help; /* rStep for Hough transform (in pixels) help description. */ 00115 double thetaMin_arg; /* thetaMin for Hough transform (in degrees). */ 00116 char * thetaMin_orig; /* thetaMin for Hough transform (in degrees) original value given at command line. */ 00117 const char *thetaMin_help; /* thetaMin for Hough transform (in degrees) help description. */ 00118 double thetaMax_arg; /* thetaMax for Hough transform (in degrees). */ 00119 char * thetaMax_orig; /* thetaMax for Hough transform (in degrees) original value given at command line. */ 00120 const char *thetaMax_help; /* thetaMax for Hough transform (in degrees) help description. */ 00121 double thetaStep_arg; /* thetaStep for Hough transform (in degrees). */ 00122 char * thetaStep_orig; /* thetaStep for Hough transform (in degrees) original value given at command line. */ 00123 const char *thetaStep_help; /* thetaStep for Hough transform (in degrees) help description. */ 00124 double ipmVpPortion_arg; /* Portion of IPM image height to add to y-coordinate of VP. */ 00125 char * ipmVpPortion_orig; /* Portion of IPM image height to add to y-coordinate of VP original value given at command line. */ 00126 const char *ipmVpPortion_help; /* Portion of IPM image height to add to y-coordinate of VP help description. */ 00127 int getEndPoints_arg; /* Get the endpoints of the line. */ 00128 char * getEndPoints_orig; /* Get the endpoints of the line original value given at command line. */ 00129 const char *getEndPoints_help; /* Get the endpoints of the line help description. */ 00130 int group_arg; /* group nearby lines or not (default 1: group). */ 00131 char * group_orig; /* group nearby lines or not (default 1: group) original value given at command line. */ 00132 const char *group_help; /* group nearby lines or not (default 1: group) help description. */ 00133 double groupThreshold_arg; /* Threshold for grouping nearby lines (default 10). */ 00134 char * groupThreshold_orig; /* Threshold for grouping nearby lines (default 10) original value given at command line. */ 00135 const char *groupThreshold_help; /* Threshold for grouping nearby lines (default 10) help description. */ 00136 int ransac_arg; /* use RANSAC (1) or not (0). */ 00137 char * ransac_orig; /* use RANSAC (1) or not (0) original value given at command line. */ 00138 const char *ransac_help; /* use RANSAC (1) or not (0) help description. */ 00139 int ransacLineNumSamples_arg; /* Number of samples to use for RANSAC. */ 00140 char * ransacLineNumSamples_orig; /* Number of samples to use for RANSAC original value given at command line. */ 00141 const char *ransacLineNumSamples_help; /* Number of samples to use for RANSAC help description. */ 00142 int ransacLineNumIterations_arg; /* Number of iterations to use for RANSAC. */ 00143 char * ransacLineNumIterations_orig; /* Number of iterations to use for RANSAC original value given at command line. */ 00144 const char *ransacLineNumIterations_help; /* Number of iterations to use for RANSAC help description. */ 00145 int ransacLineNumGoodFit_arg; /* Number of close points to consider a good line fit. */ 00146 char * ransacLineNumGoodFit_orig; /* Number of close points to consider a good line fit original value given at command line. */ 00147 const char *ransacLineNumGoodFit_help; /* Number of close points to consider a good line fit help description. */ 00148 double ransacLineThreshold_arg; /* Threshold to consider a point close. */ 00149 char * ransacLineThreshold_orig; /* Threshold to consider a point close original value given at command line. */ 00150 const char *ransacLineThreshold_help; /* Threshold to consider a point close help description. */ 00151 double ransacLineScoreThreshold_arg; /* Threshold for detected line scores. */ 00152 char * ransacLineScoreThreshold_orig; /* Threshold for detected line scores original value given at command line. */ 00153 const char *ransacLineScoreThreshold_help; /* Threshold for detected line scores help description. */ 00154 int ransacLineBinarize_arg; /* Whether to binarize image for RANSAC or not. */ 00155 char * ransacLineBinarize_orig; /* Whether to binarize image for RANSAC or not original value given at command line. */ 00156 const char *ransacLineBinarize_help; /* Whether to binarize image for RANSAC or not help description. */ 00157 int ransacLineWindow_arg; /* Half width to use for ransac window. */ 00158 char * ransacLineWindow_orig; /* Half width to use for ransac window original value given at command line. */ 00159 const char *ransacLineWindow_help; /* Half width to use for ransac window help description. */ 00160 int ransacSplineNumSamples_arg; /* Number of samples to use for RANSAC. */ 00161 char * ransacSplineNumSamples_orig; /* Number of samples to use for RANSAC original value given at command line. */ 00162 const char *ransacSplineNumSamples_help; /* Number of samples to use for RANSAC help description. */ 00163 int ransacSplineNumIterations_arg; /* Number of iterations to use for RANSAC. */ 00164 char * ransacSplineNumIterations_orig; /* Number of iterations to use for RANSAC original value given at command line. */ 00165 const char *ransacSplineNumIterations_help; /* Number of iterations to use for RANSAC help description. */ 00166 int ransacSplineNumGoodFit_arg; /* Number of close points to consider a good line fit. */ 00167 char * ransacSplineNumGoodFit_orig; /* Number of close points to consider a good line fit original value given at command line. */ 00168 const char *ransacSplineNumGoodFit_help; /* Number of close points to consider a good line fit help description. */ 00169 double ransacSplineThreshold_arg; /* Threshold to consider a point close. */ 00170 char * ransacSplineThreshold_orig; /* Threshold to consider a point close original value given at command line. */ 00171 const char *ransacSplineThreshold_help; /* Threshold to consider a point close help description. */ 00172 double ransacSplineScoreThreshold_arg; /* Threshold for detected line scores. */ 00173 char * ransacSplineScoreThreshold_orig; /* Threshold for detected line scores original value given at command line. */ 00174 const char *ransacSplineScoreThreshold_help; /* Threshold for detected line scores help description. */ 00175 int ransacSplineBinarize_arg; /* Whether to binarize image for RANSAC or not. */ 00176 char * ransacSplineBinarize_orig; /* Whether to binarize image for RANSAC or not original value given at command line. */ 00177 const char *ransacSplineBinarize_help; /* Whether to binarize image for RANSAC or not help description. */ 00178 int ransacSplineWindow_arg; /* Half width to use for ransac window. */ 00179 char * ransacSplineWindow_orig; /* Half width to use for ransac window original value given at command line. */ 00180 const char *ransacSplineWindow_help; /* Half width to use for ransac window help description. */ 00181 int ransacSplineDegree_arg; /* Degree of spline to use. */ 00182 char * ransacSplineDegree_orig; /* Degree of spline to use original value given at command line. */ 00183 const char *ransacSplineDegree_help; /* Degree of spline to use help description. */ 00184 int ransacSpline_arg; /* Whether to use splines. */ 00185 char * ransacSpline_orig; /* Whether to use splines original value given at command line. */ 00186 const char *ransacSpline_help; /* Whether to use splines help description. */ 00187 int ransacLine_arg; /* Whether to use lines. */ 00188 char * ransacLine_orig; /* Whether to use lines original value given at command line. */ 00189 const char *ransacLine_help; /* Whether to use lines help description. */ 00190 float ransacSplineStep_arg; /* Step to use when pixelzing spline in ransac. */ 00191 char * ransacSplineStep_orig; /* Step to use when pixelzing spline in ransac original value given at command line. */ 00192 const char *ransacSplineStep_help; /* Step to use when pixelzing spline in ransac help description. */ 00193 float overlapThreshold_arg; /* Overlap threshold to use for grouping of bounding boxes. */ 00194 char * overlapThreshold_orig; /* Overlap threshold to use for grouping of bounding boxes original value given at command line. */ 00195 const char *overlapThreshold_help; /* Overlap threshold to use for grouping of bounding boxes help description. */ 00196 float localizeAngleThreshold_arg; /* Angle threshold used for localization (cosine, 1: most restrictive, 0: most liberal). */ 00197 char * localizeAngleThreshold_orig; /* Angle threshold used for localization (cosine, 1: most restrictive, 0: most liberal) original value given at command line. */ 00198 const char *localizeAngleThreshold_help; /* Angle threshold used for localization (cosine, 1: most restrictive, 0: most liberal) help description. */ 00199 int localizeNumLinePixels_arg; /* Number of pixels to go in normal direction for localization. */ 00200 char * localizeNumLinePixels_orig; /* Number of pixels to go in normal direction for localization original value given at command line. */ 00201 const char *localizeNumLinePixels_help; /* Number of pixels to go in normal direction for localization help description. */ 00202 float extendAngleThreshold_arg; /* Angle threshold used for extending (cosine, 1: most restrictive, 0: most liberal). */ 00203 char * extendAngleThreshold_orig; /* Angle threshold used for extending (cosine, 1: most restrictive, 0: most liberal) original value given at command line. */ 00204 const char *extendAngleThreshold_help; /* Angle threshold used for extending (cosine, 1: most restrictive, 0: most liberal) help description. */ 00205 float extendMeanDirAngleThreshold_arg; /* Angle threshold from mean direction used for extending (cosine, 1: most restrictive, 0: most liberal). */ 00206 char * extendMeanDirAngleThreshold_orig; /* Angle threshold from mean direction used for extending (cosine, 1: most restrictive, 0: most liberal) original value given at command line. */ 00207 const char *extendMeanDirAngleThreshold_help; /* Angle threshold from mean direction used for extending (cosine, 1: most restrictive, 0: most liberal) help description. */ 00208 int extendLinePixelsTangent_arg; /* Number of pixels to go in tangent direction for extending. */ 00209 char * extendLinePixelsTangent_orig; /* Number of pixels to go in tangent direction for extending original value given at command line. */ 00210 const char *extendLinePixelsTangent_help; /* Number of pixels to go in tangent direction for extending help description. */ 00211 int extendLinePixelsNormal_arg; /* Number of pixels to go in tangent direction for extending. */ 00212 char * extendLinePixelsNormal_orig; /* Number of pixels to go in tangent direction for extending original value given at command line. */ 00213 const char *extendLinePixelsNormal_help; /* Number of pixels to go in tangent direction for extending help description. */ 00214 float extendContThreshold_arg; /* Threhsold used for stopping the extending process (higher -> less extending). */ 00215 char * extendContThreshold_orig; /* Threhsold used for stopping the extending process (higher -> less extending) original value given at command line. */ 00216 const char *extendContThreshold_help; /* Threhsold used for stopping the extending process (higher -> less extending) help description. */ 00217 int extendDeviationThreshold_arg; /* Stop extending when number of deviating points exceeds this threshold. */ 00218 char * extendDeviationThreshold_orig; /* Stop extending when number of deviating points exceeds this threshold original value given at command line. */ 00219 const char *extendDeviationThreshold_help; /* Stop extending when number of deviating points exceeds this threshold help description. */ 00220 int extendRectTop_arg; /* Top point for extension bounding box. */ 00221 char * extendRectTop_orig; /* Top point for extension bounding box original value given at command line. */ 00222 const char *extendRectTop_help; /* Top point for extension bounding box help description. */ 00223 int extendRectBottom_arg; /* Bottom point for extension bounding box. */ 00224 char * extendRectBottom_orig; /* Bottom point for extension bounding box original value given at command line. */ 00225 const char *extendRectBottom_help; /* Bottom point for extension bounding box help description. */ 00226 float extendIPMAngleThreshold_arg; /* Angle threshold used for extending (cosine, 1: most restrictive, 0: most liberal). */ 00227 char * extendIPMAngleThreshold_orig; /* Angle threshold used for extending (cosine, 1: most restrictive, 0: most liberal) original value given at command line. */ 00228 const char *extendIPMAngleThreshold_help; /* Angle threshold used for extending (cosine, 1: most restrictive, 0: most liberal) help description. */ 00229 float extendIPMMeanDirAngleThreshold_arg; /* Angle threshold from mean direction used for extending (cosine, 1: most restrictive, 0: most liberal). */ 00230 char * extendIPMMeanDirAngleThreshold_orig; /* Angle threshold from mean direction used for extending (cosine, 1: most restrictive, 0: most liberal) original value given at command line. */ 00231 const char *extendIPMMeanDirAngleThreshold_help; /* Angle threshold from mean direction used for extending (cosine, 1: most restrictive, 0: most liberal) help description. */ 00232 int extendIPMLinePixelsTangent_arg; /* Number of pixels to go in tangent direction for extending. */ 00233 char * extendIPMLinePixelsTangent_orig; /* Number of pixels to go in tangent direction for extending original value given at command line. */ 00234 const char *extendIPMLinePixelsTangent_help; /* Number of pixels to go in tangent direction for extending help description. */ 00235 int extendIPMLinePixelsNormal_arg; /* Number of pixels to go in tangent direction for extending. */ 00236 char * extendIPMLinePixelsNormal_orig; /* Number of pixels to go in tangent direction for extending original value given at command line. */ 00237 const char *extendIPMLinePixelsNormal_help; /* Number of pixels to go in tangent direction for extending help description. */ 00238 float extendIPMContThreshold_arg; /* Threhsold used for stopping the extending process (higher -> less extending). */ 00239 char * extendIPMContThreshold_orig; /* Threhsold used for stopping the extending process (higher -> less extending) original value given at command line. */ 00240 const char *extendIPMContThreshold_help; /* Threhsold used for stopping the extending process (higher -> less extending) help description. */ 00241 int extendIPMDeviationThreshold_arg; /* Stop extending when number of deviating points exceeds this threshold. */ 00242 char * extendIPMDeviationThreshold_orig; /* Stop extending when number of deviating points exceeds this threshold original value given at command line. */ 00243 const char *extendIPMDeviationThreshold_help; /* Stop extending when number of deviating points exceeds this threshold help description. */ 00244 int extendIPMRectTop_arg; /* Top point for extension bounding box. */ 00245 char * extendIPMRectTop_orig; /* Top point for extension bounding box original value given at command line. */ 00246 const char *extendIPMRectTop_help; /* Top point for extension bounding box help description. */ 00247 int extendIPMRectBottom_arg; /* Bottom point for extension bounding box. */ 00248 char * extendIPMRectBottom_orig; /* Bottom point for extension bounding box original value given at command line. */ 00249 const char *extendIPMRectBottom_help; /* Bottom point for extension bounding box help description. */ 00250 int splineScoreJitter_arg; /* Number of pixels to go around the spline to compute score. */ 00251 char * splineScoreJitter_orig; /* Number of pixels to go around the spline to compute score original value given at command line. */ 00252 const char *splineScoreJitter_help; /* Number of pixels to go around the spline to compute score help description. */ 00253 float splineScoreLengthRatio_arg; /* Ratio of spline length to use. */ 00254 char * splineScoreLengthRatio_orig; /* Ratio of spline length to use original value given at command line. */ 00255 const char *splineScoreLengthRatio_help; /* Ratio of spline length to use help description. */ 00256 float splineScoreAngleRatio_arg; /* Ratio of spline angle to use. */ 00257 char * splineScoreAngleRatio_orig; /* Ratio of spline angle to use original value given at command line. */ 00258 const char *splineScoreAngleRatio_help; /* Ratio of spline angle to use help description. */ 00259 float splineScoreStep_arg; /* Step to use for spline score computation. */ 00260 char * splineScoreStep_orig; /* Step to use for spline score computation original value given at command line. */ 00261 const char *splineScoreStep_help; /* Step to use for spline score computation help description. */ 00262 int splineTrackingNumAbsentFrames_arg; /* number of frames the track is allowed to be absent before deleting it. */ 00263 char * splineTrackingNumAbsentFrames_orig; /* number of frames the track is allowed to be absent before deleting it original value given at command line. */ 00264 const char *splineTrackingNumAbsentFrames_help; /* number of frames the track is allowed to be absent before deleting it help description. */ 00265 int splineTrackingNumSeenFrames_arg; /* number of frames before considering the track good. */ 00266 char * splineTrackingNumSeenFrames_orig; /* number of frames before considering the track good original value given at command line. */ 00267 const char *splineTrackingNumSeenFrames_help; /* number of frames before considering the track good help description. */ 00268 float mergeSplineThetaThreshold_arg; /* Angle threshold for merging splines (radians). */ 00269 char * mergeSplineThetaThreshold_orig; /* Angle threshold for merging splines (radians) original value given at command line. */ 00270 const char *mergeSplineThetaThreshold_help; /* Angle threshold for merging splines (radians) help description. */ 00271 float mergeSplineRThreshold_arg; /* R threshold (distance from origin) for merginn splines. */ 00272 char * mergeSplineRThreshold_orig; /* R threshold (distance from origin) for merginn splines original value given at command line. */ 00273 const char *mergeSplineRThreshold_help; /* R threshold (distance from origin) for merginn splines help description. */ 00274 float mergeSplineMeanThetaThreshold_arg; /* Mean Angle threshold for merging splines (radians). */ 00275 char * mergeSplineMeanThetaThreshold_orig; /* Mean Angle threshold for merging splines (radians) original value given at command line. */ 00276 const char *mergeSplineMeanThetaThreshold_help; /* Mean Angle threshold for merging splines (radians) help description. */ 00277 float mergeSplineMeanRThreshold_arg; /* Mean R threshold (distance from origin) for merginn splines. */ 00278 char * mergeSplineMeanRThreshold_orig; /* Mean R threshold (distance from origin) for merginn splines original value given at command line. */ 00279 const char *mergeSplineMeanRThreshold_help; /* Mean R threshold (distance from origin) for merginn splines help description. */ 00280 float mergeSplineCentroidThreshold_arg; /* Distance threshold between spline cetroids for merging. */ 00281 char * mergeSplineCentroidThreshold_orig; /* Distance threshold between spline cetroids for merging original value given at command line. */ 00282 const char *mergeSplineCentroidThreshold_help; /* Distance threshold between spline cetroids for merging help description. */ 00283 int lineTrackingNumAbsentFrames_arg; /* number of frames the track is allowed to be absent before deleting it. */ 00284 char * lineTrackingNumAbsentFrames_orig; /* number of frames the track is allowed to be absent before deleting it original value given at command line. */ 00285 const char *lineTrackingNumAbsentFrames_help; /* number of frames the track is allowed to be absent before deleting it help description. */ 00286 int lineTrackingNumSeenFrames_arg; /* number of frames before considering the track good. */ 00287 char * lineTrackingNumSeenFrames_orig; /* number of frames before considering the track good original value given at command line. */ 00288 const char *lineTrackingNumSeenFrames_help; /* number of frames before considering the track good help description. */ 00289 float mergeLineThetaThreshold_arg; /* Angle threshold for merging lines (radians). */ 00290 char * mergeLineThetaThreshold_orig; /* Angle threshold for merging lines (radians) original value given at command line. */ 00291 const char *mergeLineThetaThreshold_help; /* Angle threshold for merging lines (radians) help description. */ 00292 float mergeLineRThreshold_arg; /* R threshold (distance from origin) for merging lines. */ 00293 char * mergeLineRThreshold_orig; /* R threshold (distance from origin) for merging lines original value given at command line. */ 00294 const char *mergeLineRThreshold_help; /* R threshold (distance from origin) for merging lines help description. */ 00295 int numStrips_arg; /* Number of horizontal strips to divide the image to. */ 00296 char * numStrips_orig; /* Number of horizontal strips to divide the image to original value given at command line. */ 00297 const char *numStrips_help; /* Number of horizontal strips to divide the image to help description. */ 00298 int checkSplines_arg; /* Whtethet to check splines or not. */ 00299 char * checkSplines_orig; /* Whtethet to check splines or not original value given at command line. */ 00300 const char *checkSplines_help; /* Whtethet to check splines or not help description. */ 00301 float checkSplinesCurvenessThreshold_arg; /* Curveness Threshold for checking splines. */ 00302 char * checkSplinesCurvenessThreshold_orig; /* Curveness Threshold for checking splines original value given at command line. */ 00303 const char *checkSplinesCurvenessThreshold_help; /* Curveness Threshold for checking splines help description. */ 00304 float checkSplinesLengthThreshold_arg; /* Length Threshold for checking splines. */ 00305 char * checkSplinesLengthThreshold_orig; /* Length Threshold for checking splines original value given at command line. */ 00306 const char *checkSplinesLengthThreshold_help; /* Length Threshold for checking splines help description. */ 00307 float checkSplinesThetaDiffThreshold_arg; /* ThetaDiff Threshold for checking splines. */ 00308 char * checkSplinesThetaDiffThreshold_orig; /* ThetaDiff Threshold for checking splines original value given at command line. */ 00309 const char *checkSplinesThetaDiffThreshold_help; /* ThetaDiff Threshold for checking splines help description. */ 00310 float checkSplinesThetaThreshold_arg; /* ThetaThreshold Threshold for checking splines. */ 00311 char * checkSplinesThetaThreshold_orig; /* ThetaThreshold Threshold for checking splines original value given at command line. */ 00312 const char *checkSplinesThetaThreshold_help; /* ThetaThreshold Threshold for checking splines help description. */ 00313 int checkIPMSplines_arg; /* Whtethet to check IPM splines or not. */ 00314 char * checkIPMSplines_orig; /* Whtethet to check IPM splines or not original value given at command line. */ 00315 const char *checkIPMSplines_help; /* Whtethet to check IPM splines or not help description. */ 00316 float checkIPMSplinesCurvenessThreshold_arg; /* Curveness Threshold for checking splines. */ 00317 char * checkIPMSplinesCurvenessThreshold_orig; /* Curveness Threshold for checking splines original value given at command line. */ 00318 const char *checkIPMSplinesCurvenessThreshold_help; /* Curveness Threshold for checking splines help description. */ 00319 float checkIPMSplinesLengthThreshold_arg; /* Length Threshold for checking splines. */ 00320 char * checkIPMSplinesLengthThreshold_orig; /* Length Threshold for checking splines original value given at command line. */ 00321 const char *checkIPMSplinesLengthThreshold_help; /* Length Threshold for checking splines help description. */ 00322 float checkIPMSplinesThetaDiffThreshold_arg; /* ThetaDiff Threshold for checking splines. */ 00323 char * checkIPMSplinesThetaDiffThreshold_orig; /* ThetaDiff Threshold for checking splines original value given at command line. */ 00324 const char *checkIPMSplinesThetaDiffThreshold_help; /* ThetaDiff Threshold for checking splines help description. */ 00325 float checkIPMSplinesThetaThreshold_arg; /* ThetaThreshold Threshold for checking splines. */ 00326 char * checkIPMSplinesThetaThreshold_orig; /* ThetaThreshold Threshold for checking splines original value given at command line. */ 00327 const char *checkIPMSplinesThetaThreshold_help; /* ThetaThreshold Threshold for checking splines help description. */ 00328 float finalSplineScoreThreshold_arg; /* Final Threshold for declaring a valid spline. */ 00329 char * finalSplineScoreThreshold_orig; /* Final Threshold for declaring a valid spline original value given at command line. */ 00330 const char *finalSplineScoreThreshold_help; /* Final Threshold for declaring a valid spline help description. */ 00331 int useGroundPlane_arg; /* Use groudn plane or not when sending to map. */ 00332 char * useGroundPlane_orig; /* Use groudn plane or not when sending to map original value given at command line. */ 00333 const char *useGroundPlane_help; /* Use groudn plane or not when sending to map help description. */ 00334 int checkColor_arg; /* Whether to check colors or not. */ 00335 char * checkColor_orig; /* Whether to check colors or not original value given at command line. */ 00336 const char *checkColor_help; /* Whether to check colors or not help description. */ 00337 int checkColorWindow_arg; /* Size of window to use. */ 00338 char * checkColorWindow_orig; /* Size of window to use original value given at command line. */ 00339 const char *checkColorWindow_help; /* Size of window to use help description. */ 00340 int checkColorNumBins_arg; /* Number of bins to use. */ 00341 char * checkColorNumBins_orig; /* Number of bins to use original value given at command line. */ 00342 const char *checkColorNumBins_help; /* Number of bins to use help description. */ 00343 float checkColorNumYellowMin_arg; /* Min ratio of yellow points. */ 00344 char * checkColorNumYellowMin_orig; /* Min ratio of yellow points original value given at command line. */ 00345 const char *checkColorNumYellowMin_help; /* Min ratio of yellow points help description. */ 00346 float checkColorRGMin_arg; /* Min RG diff. */ 00347 char * checkColorRGMin_orig; /* Min RG diff original value given at command line. */ 00348 const char *checkColorRGMin_help; /* Min RG diff help description. */ 00349 float checkColorRGMax_arg; /* Max RG diff. */ 00350 char * checkColorRGMax_orig; /* Max RG diff original value given at command line. */ 00351 const char *checkColorRGMax_help; /* Max RG diff help description. */ 00352 float checkColorGBMin_arg; /* Min GB diff. */ 00353 char * checkColorGBMin_orig; /* Min GB diff original value given at command line. */ 00354 const char *checkColorGBMin_help; /* Min GB diff help description. */ 00355 float checkColorRBMin_arg; /* Min RB diff. */ 00356 char * checkColorRBMin_orig; /* Min RB diff original value given at command line. */ 00357 const char *checkColorRBMin_help; /* Min RB diff help description. */ 00358 float checkColorRBFThreshold_arg; /* RBF Threshold. */ 00359 char * checkColorRBFThreshold_orig; /* RBF Threshold original value given at command line. */ 00360 const char *checkColorRBFThreshold_help; /* RBF Threshold help description. */ 00361 int checkColorRBF_arg; /* Whether to use RBF or not. */ 00362 char * checkColorRBF_orig; /* Whether to use RBF or not original value given at command line. */ 00363 const char *checkColorRBF_help; /* Whether to use RBF or not help description. */ 00364 int ipmWindowClear_arg; /* Whether to clear part of the IPM image. */ 00365 char * ipmWindowClear_orig; /* Whether to clear part of the IPM image original value given at command line. */ 00366 const char *ipmWindowClear_help; /* Whether to clear part of the IPM image help description. */ 00367 int ipmWindowLeft_arg; /* Left corrdinate of window to keep in IPM. */ 00368 char * ipmWindowLeft_orig; /* Left corrdinate of window to keep in IPM original value given at command line. */ 00369 const char *ipmWindowLeft_help; /* Left corrdinate of window to keep in IPM help description. */ 00370 int ipmWindowRight_arg; /* Left corrdinate of window to keep in IPM. */ 00371 char * ipmWindowRight_orig; /* Left corrdinate of window to keep in IPM original value given at command line. */ 00372 const char *ipmWindowRight_help; /* Left corrdinate of window to keep in IPM help description. */ 00373 int checkLaneWidth_arg; /* Whether to check lane width or not. */ 00374 char * checkLaneWidth_orig; /* Whether to check lane width or not original value given at command line. */ 00375 const char *checkLaneWidth_help; /* Whether to check lane width or not help description. */ 00376 float checkLaneWidthMean_arg; /* Mean of lane width to look for. */ 00377 char * checkLaneWidthMean_orig; /* Mean of lane width to look for original value given at command line. */ 00378 const char *checkLaneWidthMean_help; /* Mean of lane width to look for help description. */ 00379 float checkLaneWidthStd_arg; /* Std deviation of lane width to look for. */ 00380 char * checkLaneWidthStd_orig; /* Std deviation of lane width to look for original value given at command line. */ 00381 const char *checkLaneWidthStd_help; /* Std deviation of lane width to look for help description. */ 00382 00383 int help_given ; /* Whether help was given. */ 00384 int version_given ; /* Whether version was given. */ 00385 int ipmWidth_given ; /* Whether ipmWidth was given. */ 00386 int ipmHeight_given ; /* Whether ipmHeight was given. */ 00387 int ipmTop_given ; /* Whether ipmTop was given. */ 00388 int ipmLeft_given ; /* Whether ipmLeft was given. */ 00389 int ipmRight_given ; /* Whether ipmRight was given. */ 00390 int ipmBottom_given ; /* Whether ipmBottom was given. */ 00391 int ipmInterpolation_given ; /* Whether ipmInterpolation was given. */ 00392 int lineWidth_given ; /* Whether lineWidth was given. */ 00393 int lineHeight_given ; /* Whether lineHeight was given. */ 00394 int kernelWidth_given ; /* Whether kernelWidth was given. */ 00395 int kernelHeight_given ; /* Whether kernelHeight was given. */ 00396 int lowerQuantile_given ; /* Whether lowerQuantile was given. */ 00397 int localMaxima_given ; /* Whether localMaxima was given. */ 00398 int groupingType_given ; /* Whether groupingType was given. */ 00399 int binarize_given ; /* Whether binarize was given. */ 00400 int detectionThreshold_given ; /* Whether detectionThreshold was given. */ 00401 int smoothScores_given ; /* Whether smoothScores was given. */ 00402 int rMin_given ; /* Whether rMin was given. */ 00403 int rMax_given ; /* Whether rMax was given. */ 00404 int rStep_given ; /* Whether rStep was given. */ 00405 int thetaMin_given ; /* Whether thetaMin was given. */ 00406 int thetaMax_given ; /* Whether thetaMax was given. */ 00407 int thetaStep_given ; /* Whether thetaStep was given. */ 00408 int ipmVpPortion_given ; /* Whether ipmVpPortion was given. */ 00409 int getEndPoints_given ; /* Whether getEndPoints was given. */ 00410 int group_given ; /* Whether group was given. */ 00411 int groupThreshold_given ; /* Whether groupThreshold was given. */ 00412 int ransac_given ; /* Whether ransac was given. */ 00413 int ransacLineNumSamples_given ; /* Whether ransacLineNumSamples was given. */ 00414 int ransacLineNumIterations_given ; /* Whether ransacLineNumIterations was given. */ 00415 int ransacLineNumGoodFit_given ; /* Whether ransacLineNumGoodFit was given. */ 00416 int ransacLineThreshold_given ; /* Whether ransacLineThreshold was given. */ 00417 int ransacLineScoreThreshold_given ; /* Whether ransacLineScoreThreshold was given. */ 00418 int ransacLineBinarize_given ; /* Whether ransacLineBinarize was given. */ 00419 int ransacLineWindow_given ; /* Whether ransacLineWindow was given. */ 00420 int ransacSplineNumSamples_given ; /* Whether ransacSplineNumSamples was given. */ 00421 int ransacSplineNumIterations_given ; /* Whether ransacSplineNumIterations was given. */ 00422 int ransacSplineNumGoodFit_given ; /* Whether ransacSplineNumGoodFit was given. */ 00423 int ransacSplineThreshold_given ; /* Whether ransacSplineThreshold was given. */ 00424 int ransacSplineScoreThreshold_given ; /* Whether ransacSplineScoreThreshold was given. */ 00425 int ransacSplineBinarize_given ; /* Whether ransacSplineBinarize was given. */ 00426 int ransacSplineWindow_given ; /* Whether ransacSplineWindow was given. */ 00427 int ransacSplineDegree_given ; /* Whether ransacSplineDegree was given. */ 00428 int ransacSpline_given ; /* Whether ransacSpline was given. */ 00429 int ransacLine_given ; /* Whether ransacLine was given. */ 00430 int ransacSplineStep_given ; /* Whether ransacSplineStep was given. */ 00431 int overlapThreshold_given ; /* Whether overlapThreshold was given. */ 00432 int localizeAngleThreshold_given ; /* Whether localizeAngleThreshold was given. */ 00433 int localizeNumLinePixels_given ; /* Whether localizeNumLinePixels was given. */ 00434 int extendAngleThreshold_given ; /* Whether extendAngleThreshold was given. */ 00435 int extendMeanDirAngleThreshold_given ; /* Whether extendMeanDirAngleThreshold was given. */ 00436 int extendLinePixelsTangent_given ; /* Whether extendLinePixelsTangent was given. */ 00437 int extendLinePixelsNormal_given ; /* Whether extendLinePixelsNormal was given. */ 00438 int extendContThreshold_given ; /* Whether extendContThreshold was given. */ 00439 int extendDeviationThreshold_given ; /* Whether extendDeviationThreshold was given. */ 00440 int extendRectTop_given ; /* Whether extendRectTop was given. */ 00441 int extendRectBottom_given ; /* Whether extendRectBottom was given. */ 00442 int extendIPMAngleThreshold_given ; /* Whether extendIPMAngleThreshold was given. */ 00443 int extendIPMMeanDirAngleThreshold_given ; /* Whether extendIPMMeanDirAngleThreshold was given. */ 00444 int extendIPMLinePixelsTangent_given ; /* Whether extendIPMLinePixelsTangent was given. */ 00445 int extendIPMLinePixelsNormal_given ; /* Whether extendIPMLinePixelsNormal was given. */ 00446 int extendIPMContThreshold_given ; /* Whether extendIPMContThreshold was given. */ 00447 int extendIPMDeviationThreshold_given ; /* Whether extendIPMDeviationThreshold was given. */ 00448 int extendIPMRectTop_given ; /* Whether extendIPMRectTop was given. */ 00449 int extendIPMRectBottom_given ; /* Whether extendIPMRectBottom was given. */ 00450 int splineScoreJitter_given ; /* Whether splineScoreJitter was given. */ 00451 int splineScoreLengthRatio_given ; /* Whether splineScoreLengthRatio was given. */ 00452 int splineScoreAngleRatio_given ; /* Whether splineScoreAngleRatio was given. */ 00453 int splineScoreStep_given ; /* Whether splineScoreStep was given. */ 00454 int splineTrackingNumAbsentFrames_given ; /* Whether splineTrackingNumAbsentFrames was given. */ 00455 int splineTrackingNumSeenFrames_given ; /* Whether splineTrackingNumSeenFrames was given. */ 00456 int mergeSplineThetaThreshold_given ; /* Whether mergeSplineThetaThreshold was given. */ 00457 int mergeSplineRThreshold_given ; /* Whether mergeSplineRThreshold was given. */ 00458 int mergeSplineMeanThetaThreshold_given ; /* Whether mergeSplineMeanThetaThreshold was given. */ 00459 int mergeSplineMeanRThreshold_given ; /* Whether mergeSplineMeanRThreshold was given. */ 00460 int mergeSplineCentroidThreshold_given ; /* Whether mergeSplineCentroidThreshold was given. */ 00461 int lineTrackingNumAbsentFrames_given ; /* Whether lineTrackingNumAbsentFrames was given. */ 00462 int lineTrackingNumSeenFrames_given ; /* Whether lineTrackingNumSeenFrames was given. */ 00463 int mergeLineThetaThreshold_given ; /* Whether mergeLineThetaThreshold was given. */ 00464 int mergeLineRThreshold_given ; /* Whether mergeLineRThreshold was given. */ 00465 int numStrips_given ; /* Whether numStrips was given. */ 00466 int checkSplines_given ; /* Whether checkSplines was given. */ 00467 int checkSplinesCurvenessThreshold_given ; /* Whether checkSplinesCurvenessThreshold was given. */ 00468 int checkSplinesLengthThreshold_given ; /* Whether checkSplinesLengthThreshold was given. */ 00469 int checkSplinesThetaDiffThreshold_given ; /* Whether checkSplinesThetaDiffThreshold was given. */ 00470 int checkSplinesThetaThreshold_given ; /* Whether checkSplinesThetaThreshold was given. */ 00471 int checkIPMSplines_given ; /* Whether checkIPMSplines was given. */ 00472 int checkIPMSplinesCurvenessThreshold_given ; /* Whether checkIPMSplinesCurvenessThreshold was given. */ 00473 int checkIPMSplinesLengthThreshold_given ; /* Whether checkIPMSplinesLengthThreshold was given. */ 00474 int checkIPMSplinesThetaDiffThreshold_given ; /* Whether checkIPMSplinesThetaDiffThreshold was given. */ 00475 int checkIPMSplinesThetaThreshold_given ; /* Whether checkIPMSplinesThetaThreshold was given. */ 00476 int finalSplineScoreThreshold_given ; /* Whether finalSplineScoreThreshold was given. */ 00477 int useGroundPlane_given ; /* Whether useGroundPlane was given. */ 00478 int checkColor_given ; /* Whether checkColor was given. */ 00479 int checkColorWindow_given ; /* Whether checkColorWindow was given. */ 00480 int checkColorNumBins_given ; /* Whether checkColorNumBins was given. */ 00481 int checkColorNumYellowMin_given ; /* Whether checkColorNumYellowMin was given. */ 00482 int checkColorRGMin_given ; /* Whether checkColorRGMin was given. */ 00483 int checkColorRGMax_given ; /* Whether checkColorRGMax was given. */ 00484 int checkColorGBMin_given ; /* Whether checkColorGBMin was given. */ 00485 int checkColorRBMin_given ; /* Whether checkColorRBMin was given. */ 00486 int checkColorRBFThreshold_given ; /* Whether checkColorRBFThreshold was given. */ 00487 int checkColorRBF_given ; /* Whether checkColorRBF was given. */ 00488 int ipmWindowClear_given ; /* Whether ipmWindowClear was given. */ 00489 int ipmWindowLeft_given ; /* Whether ipmWindowLeft was given. */ 00490 int ipmWindowRight_given ; /* Whether ipmWindowRight was given. */ 00491 int checkLaneWidth_given ; /* Whether checkLaneWidth was given. */ 00492 int checkLaneWidthMean_given ; /* Whether checkLaneWidthMean was given. */ 00493 int checkLaneWidthStd_given ; /* Whether checkLaneWidthStd was given. */ 00494 00495 } ; 00496 00497 extern const char *LaneDetectorParserInfo_purpose; 00498 extern const char *LaneDetectorParserInfo_usage; 00499 extern const char *LaneDetectorParserInfo_help[]; 00500 00501 int LaneDetectorParser (int argc, char * const *argv, 00502 struct LaneDetectorParserInfo *args_info); 00503 int LaneDetectorParser2 (int argc, char * const *argv, 00504 struct LaneDetectorParserInfo *args_info, 00505 int override, int initialize, int check_required); 00506 int LaneDetectorParser_file_save(const char *filename, 00507 struct LaneDetectorParserInfo *args_info); 00508 00509 void LaneDetectorParser_print_help(void); 00510 void LaneDetectorParser_print_version(void); 00511 00512 void LaneDetectorParser_init (struct LaneDetectorParserInfo *args_info); 00513 void LaneDetectorParser_free (struct LaneDetectorParserInfo *args_info); 00514 00515 int LaneDetectorParser_configfile (char * const filename, 00516 struct LaneDetectorParserInfo *args_info, 00517 int override, int initialize, int check_required); 00518 00519 int LaneDetectorParser_required (struct LaneDetectorParserInfo *args_info, 00520 const char *prog_name); 00521 00522 00523 #ifdef __cplusplus 00524 } 00525 #endif /* __cplusplus */ 00526 #endif /* LANEDETECTOROPT_H */