Class: Align

Align(stream)

This class can be used to perform alignment between a depth frame and another frame.

Constructor

new Align(stream)

Parameters:
Name Type Description
stream Integer | String the stream type to be aligned to. see stream for avaiable values. To perform alignment of a depth frame to the other frame, set the stream argument to the other stream type. To perform alignment of a non depth frame to a depth frame, set the stream argument to stream type of depth.
Source:

Methods

destroy()

Destroy resources associated with the object
Source:

process(frameSet) → {FrameSet}

Run the alignment process on the given frameset to get an aligned set of frames
Parameters:
Name Type Description
frameSet FrameSet the frames which at least has a depth frame
Source:
Returns:
Type
FrameSet