Ask Your Question
1

Problems while including headers in OpenCV 2.4.9

asked 2013-03-19 19:03:05 -0600

RaulPL gravatar image

Hi, I am looking an implementation of the five points algorithm in order to determine the essential matrix for a real-time application. The present version of OpenCV (2.4.4) does not include that algorithm. However, looking information about that in Google I discover that OpenCV 2.4.9 (available on github) has an implementation of the five point algorithm opencv/modules/calib3d/src/five-point.cpp. So I downloaded the source, compile it, and install it without any problem using cmake and a sudo make install.

My cmake configuration using cmake-gui:

General configuration for OpenCV 2.4.9 =====================================
Version control:               2.4.4-687-g87563c6

Platform:
Host:                        Linux 3.5.0-26-generic x86_64
CMake:                       2.8.9
CMake generator:             Unix Makefiles
CMake build tool:            /usr/bin/make
Configuration:               Release

C/C++:
Built as dynamic libs?:      YES
C++ Compiler:                /usr/bin/c++  (ver 4.7.2)
C++ flags (Release):         -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-unnamed-type-template-args -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -msse -msse2 -mavx -ffunction-sections -O3 -DNDEBUG  -DNDEBUG
C++ flags (Debug):           -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-unnamed-type-template-args -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -msse -msse2 -mavx -ffunction-sections -g  -O0 -DDEBUG -D_DEBUG -ggdb3
C Compiler:                  /usr/bin/gcc
C flags (Release):           -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-unnamed-type-template-args -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -msse -msse2 -mavx -ffunction-sections -O3 -DNDEBUG  -DNDEBUG
C flags (Debug):             -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-unnamed-type-template-args -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -msse -msse2 -mavx -ffunction-sections -g  -O0 -DDEBUG -D_DEBUG -ggdb3
Linker flags (Release):      
Linker flags (Debug):        
Precompiled headers:         YES

OpenCV modules:
To be built:                 core imgproc flann highgui features2d calib3d ml video objdetect contrib legacy nonfree photo ts videostab
Disabled:                    gpu java softcascade stitching world
Disabled by dependency:      python(deps: softcascade)
Unavailable:                 androidcamera ocl

GUI: 
QT 4.x:                      YES (ver 4.8.3 EDITION = OpenSource)
QT OpenGL support:           YES (/usr/lib/x86_64-linux-gnu/libQtOpenGL.so)
OpenGL support:              YES (/usr/lib/x86_64-linux-gnu/libGLU.so /usr/lib/x86_64-linux-gnu/libGL.so /usr/lib/x86_64-linux-gnu/libSM.so /usr/lib/x86_64-linux-gnu/libICE.so /usr/lib/x86_64-linux-gnu/libX11.so /usr/lib/x86_64-linux-gnu/libXext.so)

Media I/O: 
ZLib:                        /usr/lib/x86_64-linux-gnu/libz.so (ver 1.2.7)
JPEG:                        /usr/lib/x86_64-linux-gnu/libjpeg.so (ver )
WEBP:                        build (ver 0.2.1)
PNG:                         /usr/lib/x86_64-linux-gnu/libpng.so (ver 1.2.49)
TIFF:                        /usr/lib/x86_64-linux-gnu/libtiff.so (ver 42 - 4.0.2)
JPEG 2000:                   /usr/lib/x86_64-linux-gnu/libjasper.so (ver 1.900.1)
OpenEXR:                     /usr/lib/libImath.so /usr/lib/libIlmImf.so /usr/lib/libIex.so /usr/lib/libHalf.so /usr/lib/libIlmThread.so (ver 1.6.1)

Video I/O:
DC1394 1.x:                  NO
DC1394 2.x:                  YES (ver 2.2.0)
FFMPEG:                      YES ...
(more)
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2013-03-20 00:56:25 -0600

  1. master branch of OpenCV is branch for next generation of OpenCV. 2.4 is stable branch and all 2.4.x releases are made from it. I recommend you to use 2.4 if it is possible.

  2. There is known issue in master branch.

You can wait for fixing issue or port five-point implementation to 2.4 branch and contribute it to OpenCV. I recommend you to contact with feature author. Implementation for 2.4 branch may be already ready.

edit flag offensive delete link more

Comments

i think it is a duplcate of this question and it was solved ( got the signature wrong )

berak gravatar imageberak ( 2013-03-20 04:28:49 -0600 )edit

Thanks, that's the reason. Now, I will try your recommendations

RaulPL gravatar imageRaulPL ( 2013-03-20 16:23:53 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2013-03-19 19:03:05 -0600

Seen: 3,052 times

Last updated: Mar 20 '13