Intel® RealSense™ Cross Platform API  2.13.0
Intel Realsense Cross-platform API
Public Member Functions | Friends | List of all members
rs2::align Class Reference

#include <rs_processing.hpp>

Public Member Functions

 align (rs2_stream align_to)
 
frameset process (frameset frame)
 
void operator() (frame f) const
 

Friends

class context
 

Detailed Description

Auxiliary processing block that performs image alignment using depth data and camera calibration

Constructor & Destructor Documentation

◆ align()

rs2::align::align ( rs2_stream  align_to)
inline

Create align processing block Alignment is performed between a depth image and another image. To perform alignment of a depth image to the other, set the align_to parameter with the other stream type. To perform alignment of a non depth image to a depth image, set the align_to parameter to RS2_STREAM_DEPTH Camera calibration and frame's stream type are determined on the fly, according to the first valid frameset passed to process()

Parameters
[in]align_toThe stream type to which alignment should be made.

Member Function Documentation

◆ operator()()

void rs2::align::operator() ( frame  f) const
inline

◆ process()

frameset rs2::align::process ( frameset  frame)
inline

Run the alignment process on the given frames to get an aligned set of frames

Parameters
[in]frameA pair of images, where at least one of which is a depth frame
Returns
Input frames aligned to one another

Friends And Related Function Documentation

◆ context

friend class context
friend

The documentation for this class was generated from the following file: