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
too many key frames!!! #276
Comments
the kinect2 input code:
} void callback(const sensor_msgs::Image::ConstPtr imageColor, const sensor_msgs::Image::ConstPtr imageDepth,
} |
And when it's running, there will be some warning: |
Camera Parameters:
ORB Extractor Parameters:
Depth Threshold (Close/Far Points): 2.80001 |
it's because of the output of cameraMatrixColor and cameraMatrixDepth in kinect2_bridge of iai_kinect2 is different from calibration data! and I used the original calibration data as parameters! this cause too many keyframes! |
but |
this is probably the main issue here. Other issues come from that. Are you sure your RGB resolution is 1080p? It does not look like this on the screenshot you provided, but the calibration data is obviously for this resolution (1080p) |
@mtee kinect2 provide hd(1080p),qhd(540×960),sd(smaller). I used qhd. |
@EXing then as I said, you have to use other calibration data, since yours is not suitable at all. Your principal point (cx, cy) is supposed to be somewhat in the centre of the image, but in your case it's actually outside the image: It simply cannot work like that. You have to use camera parameters that were acquired with the resolution you use the algorithm with. Good luck! |
@mtee code-iai/iai_kinect2#385 .will it affect camera.bf? |
sure, since qhd-calibration data will most likely have another value for camera.fx. camera.bf is just camera.fx * baseline. |
@mtee it helps a lot! thank you! |
I'm using a calibratied kinect2 with orbslam2. but when I using it, even with a small move of 4cm, it produce so many keyframes(about 14). why? BTW, the dense point cloud is ugly.
The text was updated successfully, but these errors were encountered: