Skip to content

Align Color to Depth #858

@mjfoo21

Description

@mjfoo21
Required Info
Camera Model SR300
Firmware Version 3.21.0.0
Operating System & Version Ubuntu 16.04
Kernel Version (Linux Only) 4.8.0.58

Can rs2::align align depth to other streams? The example states that

A rs2::align object always transforms depth images to some target image

When I do

rs2::align align(RS2_STREAM_DEPTH);
frame = pipe.wait_for_frames();
rs2::frameset proccessed = align.proccess(frame);
rs2::video_frame color_processed = proccessed.first(RS2_STREAM_COLOR);

it gives the error Frame of requested stream type was not found!.

Is there any way to generate color_aligned_to_depth stream like librealsense-1 in Version 2?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions