Page 1 of 3 1 2 3 >
Topic Options
Rate This Topic
#243461 - 08/12/08 04:45 PM Bundle Orientation library
Ffelagund Offline
Regular Contributor
*****

Registered: 03/31/03
Posts: 257
Loc: Spain
Hello,

I'm trying to write an optical flow application, but I need to compute the relative orientation between images (webcam stream) Writting that from the scratch is out of my math skills, so I thought that there should be any library that performs that. After looking up for the web I didn't find anything, but perhaps anyone here knows a good one. If it is the case I really appreciate any suggestion.

Thanks.
_________________________
"I don't know... with a casual fly"

Top
#243471 - 08/12/08 05:59 PM Re: Bundle Orientation library [Re: Ffelagund]
ZbuffeR Offline
OpenGL Guru
*****

Registered: 12/01/03
Posts: 3752
Loc: Grenoble - France
Check OpenCV.

Top
#243539 - 08/13/08 03:59 AM Re: Bundle Orientation library [Re: ZbuffeR]
Ffelagund Offline
Regular Contributor
*****

Registered: 03/31/03
Posts: 257
Loc: Spain
I already checked that (in fact, I'm using it for webcam access and optical flow calculations (later I'll replace that part with a GPU'ized KLT algorithm), but OpenCV lacks of a bundle adjustment method. (what I really need, at the end, are the camera matrices their rotations and translations. 3D features' positions are easy to compute and I already has that part done)


Edited by Ffelagund (08/13/08 07:08 AM)
_________________________
"I don't know... with a casual fly"

Top
#243552 - 08/13/08 06:35 AM Re: Bundle Orientation library [Re: Ffelagund]
ZbuffeR Offline
OpenGL Guru
*****

Registered: 12/01/03
Posts: 3752
Loc: Grenoble - France
I (almost) understand.
There is some interesting developments detailed here, you need to add stuff to the cvaux.h to have access to these features (still in dev) :
http://opencvlibrary.sourceforge.net/EffortFor3dReconstruction

"All this functions are not declared extern so you can not use them. To make this work you have to put the definitions in the cvaux.h"

EDIT : oh and by the way, I would be very interested too, please tell me if you find anything.


Edited by ZbuffeR (08/13/08 06:35 AM)

Top
#243868 - 08/15/08 03:09 PM Re: Bundle Orientation library [Re: ZbuffeR]
ZbuffeR Offline
OpenGL Guru
*****

Registered: 12/01/03
Posts: 3752
Loc: Grenoble - France
I just stumbled upon this, GPL package for bundle adjustment (I did not test it yet) :
http://www.ifp.uni-stuttgart.de/publications/software/openbundle/index.en.html

Top
#244311 - 08/20/08 01:47 PM Re: Bundle Orientation library [Re: ZbuffeR]
Ffelagund Offline
Regular Contributor
*****

Registered: 03/31/03
Posts: 257
Loc: Spain
I'll test it. If it works will serve me for prototyping, many thanks \:\)

Edit: After playing for a while I can see that the lib depends on LAPACK, BLAS and Fortran. Well, I dont like that very much, but will be fine for prototyping, and that's what I was looking for \:\)

ZBuffer, are you interested, when I get my first orientation with this library, in the sample application? you pointed me to that lib, so you deserve it \:\)


Edited by Ffelagund (08/20/08 02:31 PM)
_________________________
"I don't know... with a casual fly"

Top
#244335 - 08/20/08 07:57 PM Re: Bundle Orientation library [Re: Ffelagund]
ZbuffeR Offline
OpenGL Guru
*****

Registered: 12/01/03
Posts: 3752
Loc: Grenoble - France
Yes please ! \:\)

In fact I have a pet project on the backburner right now, it is a small turtle robot with a wide angle camera, controlled via parallel port, and I am toying with doing SLAM only using the monocular vision :
- when moving forward, I track points using OpenCV, estimating distances by measuring relative displacement... Currently the reconstructed world is not really recognizable (euphemism) as I assume "perfectly linear movement with fixed speed" ... The "bundle adjustment" techniques would seem adequate to have more robust results.

I can put some pictures online if you are interested.



EDIT: this guy has some impressive results on 3D slam, but no source code alas : http://www.robots.ox.ac.uk/~gk/


Edited by ZbuffeR (08/20/08 08:02 PM)

Top
#244366 - 08/21/08 04:53 AM Re: Bundle Orientation library [Re: ZbuffeR]
Ffelagund Offline
Regular Contributor
*****

Registered: 03/31/03
Posts: 257
Loc: Spain
That stuff is really impressive. I really liked the oclussion examples \:\)

I work now in a digital photogrametric company. We are developing an application oriented to produce true ortophotos, but the process passes throught the digital reconstruction of the building, so I am familiar with photogrammetry algorithms (RANSAC, KLT(GPU), SWIFT, Bundle Adjustment, etc), but I'm not an expert in that area.

Now, as a personal project (perhaps for gaming, or for marketing) I'm developing an augmented reality system (without oclussions, thats what I liked that part of your link \:\) ) that should work with a middle quality webcam. What I want to achieve now is a very-low density 3D reconstruction of an object seen by the camera and the camera's relative positions. My goal is getting a realistic composition of 3D syntetic objects with the video stream.

Now I'm in a prototype phase, where I test algorithms and try to realize its performance and which ones must (and can) be gpu'ized (please OpenCL, come soon...)

So, well, when I have a test project, rightly oriented with this library, I'll send it to you.

P.D: It would be nice see those pictures of your project \:\)
_________________________
"I don't know... with a casual fly"

Top
#244761 - 08/25/08 02:36 PM Re: Bundle Orientation library [Re: Ffelagund]
Ffelagund Offline
Regular Contributor
*****

Registered: 03/31/03
Posts: 257
Loc: Spain
I managed to compile dgap in my Debian. It took to me some days because standard Debian lapack packages are broken and have linker errors. Curiously, it compiled perfectly in my Yellow Dog 6 linux (PS3) but for Debian I had to use the Tuned Version of lapack&blas (libatlas3) and change accordingly the Makefile (ah, and the Makefile that comes with dgap was incorrect, I had to fix it)

Now I'll try to create and orientate a project, I'll send you (ZBuffer) my results when I got them.
_________________________
"I don't know... with a casual fly"

Top
#244764 - 08/25/08 03:02 PM Re: Bundle Orientation library [Re: Ffelagund]
ZbuffeR Offline
OpenGL Guru
*****

Registered: 12/01/03
Posts: 3752
Loc: Grenoble - France
That would be great, thanks !
And here are some pictures of my toy : http://www.chez.com/dedebuffer/robotics.html

Feel free to comment/ask more.

Of course, having now a really autonomous toddler eager to "slam" prevented me to do much progress in the last months...

Top
Page 1 of 3 1 2 3 >


Moderator:  Khronos_webmaster 
Who's Online
4 registered (Werty, bdude, AGL_Music, pixelwrangler), 38 Guests and 94 Spiders online.
Key: Admin, Global Mod, Mod
Newest Members
Nonozor, Maire Nicolas, minakshee, Koter, pixelwrangler
24934 Registered Users
Top Posters (30 Days)
Alfonse Reinheart 152
ZbuffeR 92
Dark Photon 73
marshats 47
Brolingstanz 44
Ilian Dinev 41
Iulian B 38
Stephen A 37
Kip Warner 28
devdept 26
DarkShadow44 23
Pierre 23
igorgiv 23
skynet 23
Yann LE PETITCORPS 22
Abdallah DIB 21
scratt 21
Aleksandar 20
mikeynovemberoscar 19
Pierre Boudier 19
Forum Stats
24934 Members
12 Forums
52392 Topics
271545 Posts

Max Online: 482 @ 08/11/08 06:19 PM