Home How can i align in D435 by using opencv?
Reply: 0

How can i align in D435 by using opencv?

user792
1#
user792 Published in July 21, 2018, 11:29 pm

Intel gives example to align RGB camera and Depth(IR) camera, but i need adapt to opencv. the example show only "align in render", so i can't use them because i will use below function.

Mat color(Size(640, 480), CV_8UC3, (void*)color_frame.get_data(), Mat::AUTO_STEP);

i need align frame like below sentences form.

rs2::frameset frames = pipe.wait_for_frames();
rs2::frame color_frame = frames.get_color_frame();
rs2::frame depth_frame = color_map(frames.get_depth_frame());

So, is it possible that i can use align function like below ex) sentence?

ex) rs2:: frameset align_frame = ...... allocate_composite_frame......

OR, is there any function like "depth_aligned_to_color" in D435 like SR300?

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.310244 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO