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. |
Methods
destroy()
Destroy resources associated with the object
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 |
Returns:
- Type
- FrameSet