Commit 36636e5f authored by baisheng lai's avatar baisheng lai

rename sample dir

link bug fix
parent 2ac00324
...@@ -150,7 +150,7 @@ B. Li, L. Heng, K. Kevin and M. Pollefeys, "A Multiple-Camera System ...@@ -150,7 +150,7 @@ B. Li, L. Heng, K. Kevin and M. Pollefeys, "A Multiple-Camera System
Calibration Toolbox Using A Feature Descriptor-Based Calibration Calibration Toolbox Using A Feature Descriptor-Based Calibration
Pattern", in IROS 2013. Pattern", in IROS 2013.
*/ */
class RandomPatternGenerator class CV_EXPORTS RandomPatternGenerator
{ {
public: public:
/* @brief Construct RandomPatternGenerator /* @brief Construct RandomPatternGenerator
......
...@@ -114,7 +114,7 @@ static void saveCameraParams( const string & filename, Size imageSize, Size boar ...@@ -114,7 +114,7 @@ static void saveCameraParams( const string & filename, Size imageSize, Size boar
if ( flags != 0) if ( flags != 0)
{ {
sprintf( buf, "flags: %s%s%s%s%s", sprintf( buf, "flags: %s%s%s%s%s%s%s%s%s",
flags & omnidir::CALIB_USE_GUESS ? "+use_intrinsic_guess" : "", flags & omnidir::CALIB_USE_GUESS ? "+use_intrinsic_guess" : "",
flags & omnidir::CALIB_FIX_SKEW ? "+fix_skew" : "", flags & omnidir::CALIB_FIX_SKEW ? "+fix_skew" : "",
flags & omnidir::CALIB_FIX_K1 ? "+fix_k1" : "", flags & omnidir::CALIB_FIX_K1 ? "+fix_k1" : "",
......
...@@ -129,7 +129,7 @@ static void saveCameraParams( const string & filename, const int flags, const Ma ...@@ -129,7 +129,7 @@ static void saveCameraParams( const string & filename, const int flags, const Ma
if ( flags != 0) if ( flags != 0)
{ {
sprintf( buf, "flags: %s%s%s%s%s", sprintf( buf, "flags: %s%s%s%s%s%s%s%s%s",
flags & omnidir::CALIB_USE_GUESS ? "+use_intrinsic_guess" : "", flags & omnidir::CALIB_USE_GUESS ? "+use_intrinsic_guess" : "",
flags & omnidir::CALIB_FIX_SKEW ? "+fix_skew" : "", flags & omnidir::CALIB_FIX_SKEW ? "+fix_skew" : "",
flags & omnidir::CALIB_FIX_K1 ? "+fix_k1" : "", flags & omnidir::CALIB_FIX_K1 ? "+fix_k1" : "",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment