Skip to content

How to integrate PosedImage to HashedWaveletOctree? #53

Closed Answered by victorreijgwart
Divelix asked this question in Q&A
Discussion options

You must be logged in to vote

The main issue is that you need to share the same image between the measurement model and the integrator. In your case, the measurement model computes its updates using an uninitialized image.
Also, be careful to initialize the class members in the right order and avoid passing uninitialized members as a constructor argument to other members.

Here's your code with minimal changes to make it work:

#include <Eigen/Dense>
#include <iostream>

#include "wavemap/utils/print/eigen.h"

#include "wavemap/integrator/measurement_model/continuous_ray.h"
#include "wavemap/integrator/projection_model/pinhole_camera_projector.h"
#include "wavemap/integrator/projective/coarse_to_fine/hashed_wavelet_inte…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by victorreijgwart
Comment options

You must be logged in to vote
1 reply
@victorreijgwart
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants