Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Example OpenCV sample "calibration.cpp" does not build

I cannot figure out why the calibration.cpp from the doku does not build inside the binary folder. I did set the flag for examples on via ccmake . and what I end up with is the following list. What I want to calibrate my kinect camera from a few chessboard samples I have taken earlier. The file calibration.cpp is existent under opencv/samples/cpp/calibration.cpp. How do I proceed?

/src_3party/opencv/mybuild$ tree bin/
bin/
├── opencv_annotation
├── opencv_createsamples
├── opencv_haartraining
├── opencv_perf_calib3d
├── opencv_perf_core
├── opencv_perf_features2d
├── opencv_perf_gpu
├── opencv_perf_highgui
├── opencv_perf_imgcodecs
├── opencv_perf_imgproc
├── opencv_perf_nonfree
├── opencv_perf_objdetect
├── opencv_perf_ocl
├── opencv_performance
├── opencv_perf_photo
├── opencv_perf_stitching
├── opencv_perf_superres
├── opencv_perf_video
├── opencv_perf_videoio
├── opencv_test_calib3d
├── opencv_test_contrib
├── opencv_test_core
├── opencv_test_features2d
├── opencv_test_flann
├── opencv_test_gpu
├── opencv_test_highgui
├── opencv_test_imgcodecs
├── opencv_test_imgproc
├── opencv_test_legacy
├── opencv_test_ml
├── opencv_test_nonfree
├── opencv_test_objdetect
├── opencv_test_ocl
├── opencv_test_photo
├── opencv_test_shape
├── opencv_test_stitching
├── opencv_test_superres
├── opencv_test_video
├── opencv_test_videoio
├── opencv_test_viz
└── opencv_traincascade

INFO on system:
OpenCV version: 2.4.12.2 OpenCV VCS version: 2.4.12.3 Build type: release CPU features: sse sse2 sse3

Example OpenCV sample "calibration.cpp" does not buildopencv_source_code/samples/cpp/calibration.cpp

I cannot figure out why the calibration.cpp from the doku does not build inside the binary folder. I did set the flag for examples on via ccmake . and what I end up with is the following list. What I want to calibrate my kinect camera from a few chessboard samples camera. The RGB-Images work fine but what do I have taken earlier. The file calibration.cpp is existent under opencv/samples/cpp/calibration.cpp. do with the depth information. How do I proceed?

calibrate these pictures or can i at all? Because the cv::mat is filled with depth information and not with RGB-Pixels. What sample to use with it? This is an example:
/src_3party/opencv/mybuild$ tree bin/
bin/
├── opencv_annotation
├── opencv_createsamples
├── opencv_haartraining
├── opencv_perf_calib3d
├── opencv_perf_core
├── opencv_perf_features2d
├── opencv_perf_gpu
├── opencv_perf_highgui
├── opencv_perf_imgcodecs
├── opencv_perf_imgproc
├── opencv_perf_nonfree
├── opencv_perf_objdetect
├── opencv_perf_ocl
├── opencv_performance
├── opencv_perf_photo
├── opencv_perf_stitching
├── opencv_perf_superres
├── opencv_perf_video
├── opencv_perf_videoio
├── opencv_test_calib3d
├── opencv_test_contrib
├── opencv_test_core
├── opencv_test_features2d
├── opencv_test_flann
├── opencv_test_gpu
├── opencv_test_highgui
├── opencv_test_imgcodecs
├── opencv_test_imgproc
├── opencv_test_legacy
├── opencv_test_ml
├── opencv_test_nonfree
├── opencv_test_objdetect
├── opencv_test_ocl
├── opencv_test_photo
├── opencv_test_shape
├── opencv_test_stitching
├── opencv_test_superres
├── opencv_test_video
├── opencv_test_videoio
├── opencv_test_viz
└── opencv_traincascade

INFO on system:
OpenCV version: 2.4.12.2 OpenCV VCS version: 2.4.12.3 Build type: release CPU features: sse sse2 sse3image description

opencv_source_code/samples/cpp/calibration.cppCalibrate depth images from Kinect with given examples.

I want to calibrate my kinect camera. The RGB-Images work fine with ./cpp-example-calibration but what do I do with the depth information. How do I calibrate these pictures or can i at all? Because the cv::mat is filled with depth information and not with RGB-Pixels. What sample to use with it? This is an example:
image description