when i use sfm::reconstruct to extract the point cloud out of set of images it gives faulty 3D points (i already calibrated my camera and found the camera matrix) could the images be the problem and if so what should be done ?

asked 2018-06-12 02:51:18 -0600

gaber gravatar image

updated 2018-06-12 02:58:09 -0600

Generating point cloud from set of images

edit retag flag offensive close merge delete

Comments

How many images have you got in the set ?

LBerger gravatar imageLBerger ( 2018-06-12 08:44:22 -0600 )edit

6 images..

gaber gravatar imagegaber ( 2018-06-13 02:23:07 -0600 )edit

can you try with images here?

LBerger gravatar imageLBerger ( 2018-06-13 02:30:17 -0600 )edit

thank you so much i will try with them and then tell you the results

gaber gravatar imagegaber ( 2018-06-13 03:57:41 -0600 )edit

still the same problem could be a problem with the build of the library ?! it should give me a point cloud representing the scene , isnt it !? or there is something i miss understand ?

gaber gravatar imagegaber ( 2018-06-13 04:45:37 -0600 )edit

i build ceres without SuiteSparse , would that be the problem !?

gaber gravatar imagegaber ( 2018-06-13 08:15:05 -0600 )edit

I don't think so. Have yo run sample example_sfm_scene_reconstruction.exe ?

LBerger gravatar imageLBerger ( 2018-06-13 08:29:38 -0600 )edit

How to build sfm using cmake and my getbuilinformation it's here

LBerger gravatar imageLBerger ( 2018-06-13 08:52:47 -0600 )edit

i didnt build the examples i will build it again and build examples and show you my build information

gaber gravatar imagegaber ( 2018-06-13 18:16:39 -0600 )edit

thank you so much for your concern i really appreciate it

gaber gravatar imagegaber ( 2018-06-13 18:17:11 -0600 )edit

here are my build informationhere

gaber gravatar imagegaber ( 2018-06-13 18:34:16 -0600 )edit

when i run the example it gives me this errors ERROR: In e:\library\vtk\vtk-8.1.1\rendering\opengl2\vtkwin32openglrenderwindow.cxx, line 685 vtkWin32OpenGLRenderWindow (000001C8D871B360): failed to get wglChoosePixelFormatARB

ERROR: In e:\library\vtk\vtk-8.1.1\rendering\opengl2\vtkwin32openglrenderwindow.cxx, line 769 vtkWin32OpenGLRenderWindow (000001C8D871B360): failed to get valid pixel format.

ERROR: In e:\library\vtk\vtk-8.1.1\rendering\opengl2\vtkopenglrenderwindow.cxx, line 785 vtkWin32OpenGLRenderWindow (000001C8D871B360): GLEW could not be initialized.

gaber gravatar imagegaber ( 2018-06-13 21:16:59 -0600 )edit

Sorry for delay. I think error given is a problem with vtk lib mixed release and debug (you cannot run vtk with opencv releaese and debug you have to choose)

LBerger gravatar imageLBerger ( 2018-06-14 12:17:48 -0600 )edit

it is okay so i have to build vtk lib only with debug or release(lets say release ) then build opencv in release ?

gaber gravatar imagegaber ( 2018-06-14 19:23:47 -0600 )edit

Yes release with release

LBerger gravatar imageLBerger ( 2018-06-15 01:20:07 -0600 )edit

okay i will do so and tell you the updates thank you so much

gaber gravatar imagegaber ( 2018-06-15 10:10:28 -0600 )edit

iam really sorry for bothering you but there is still no resuts here is sample of my code and here are the results i would really appreciate it if you would check them for me and thank you in advance

gaber gravatar imagegaber ( 2018-06-16 18:09:31 -0600 )edit