Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to process another dataset? #16

Open
lucasa opened this issue Jun 7, 2016 · 4 comments
Open

How to process another dataset? #16

lucasa opened this issue Jun 7, 2016 · 4 comments
Labels

Comments

@lucasa
Copy link

lucasa commented Jun 7, 2016

Hi.
This project is very interesting.
How can i use this do made depth maps to a new image sequence?

Thanks,
Lucas

@pizzoli
Copy link
Collaborator

pizzoli commented Jun 8, 2016

Hi Lucas,
thank you for your interest.
Please refer to the project wiki.
If you want to process a dataset containing images and poses, then have a look at the file test/publish_dataset.cpp. You just need to adapt the input format according to your dataset syntax.

If you want to run REMODE on a live camera stream, the easiest is to

  • calibrate your camera
  • use SVO to generate synchronized pairs <image, pose>

@ydirey
Copy link

ydirey commented Jun 13, 2016

Hi Mattia,

as a follow-up on your statement regarding running REMODE on a live camera stream.
I'm trying to run your REMODE code using SVO and live camera stream.

Which tool should I use to calibrate the camera for REMODE?
The calibration procedure from here
http://docs.opencv.org/2.4/doc/tutorials/calib3d/camera_calibration/camera_calibration.html
is not understandable for me. It presents a lot of code, but I cannot figure out how to get the calibration parameters by running it.
I was able to perform the camera calibration for ATAM model using PTAM as described here:
https://github.com/uzh-rpg/rpg_svo/wiki/Camera-Calibration
However it provides less or different parameters then those needed in REMODE launch file.

Do you have any recommendation regarding camera settings, e.g. white-balance, focus, brightness, contrast etc?

Thank you,
Yaroslav

@pizzoli
Copy link
Collaborator

pizzoli commented Jun 14, 2016

Hi,
REMODE needs the OpenCV camera calibration format. It is a pinhole camera model with radial/tangential distortion model.
I would strongly recommend the use of a global shutter camera with fixed focus. It is definitely worth to put some effort in calibrating it properly ;)
You can refer to the sample in https://github.com/Itseez/opencv/blob/master/samples/cpp/calibration.cpp, build it and running specifying a list of images. If you use ROS, then the camera calibrator is a practical tool.

@Woking-34
Copy link

Hi,

I would like to setup remode to process the "Fast motion" sequence instead of the default "Over table - remode_test_data.zip" sequence. I'm using the Fast motion sequence downloaded from https://github.com/BigRedT/DTAM/tree/master/Trajectory_30_seconds. Obviously, I've altered the input parsing publish_dataset.cpp according to the new format. I've also changed the depth range. Unfortunately, I could not get any meaningful ouptut from the new setup. The camera parameters and the image size is the same as the original input.

Does anyone succeed with different dataset other than the default? Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants