RecFusion SDK
|
#include <RFSPlayback.h>
Loads RGB-D sequences in RFS format. More...
Loads RGB-D sequences in RFS format.
Public Member Functions | |
RFSPlayback () | |
Create playback object. | |
~RFSPlayback () | |
Destroy playback object. | |
bool | open (const char *filename) |
Open sequence. More... | |
bool | close () |
Close sequence. More... | |
int | frameCount () const |
Get number of frames in sequence. | |
bool | readImage (int frame, DepthImage &imgDepth, ColorImage &imgColor) |
Read image from sequence. More... | |
int | colorWidth () const |
Get Return width of color image. | |
int | colorHeight () const |
Get height of color image. | |
int | depthWidth () const |
Get Return width of depth image. | |
int | depthHeight () const |
Get height of depth image. | |
Mat3 | intrinsics () const |
Get sensor intrinsics. | |
Mat3 | colorIntrinsics () const |
Get color sensor intrinsics. | |
Mat4 | depthToColorT () const |
Get transformation between color and depth camera. | |
bool open | ( | const char * | filename | ) |
Open sequence.
filename | Path to RFS file |
bool close | ( | ) |
Close sequence.
bool readImage | ( | int | frame, |
DepthImage & | imgDepth, | ||
ColorImage & | imgColor | ||
) |
Read image from sequence.
frame | Frame number between 0 and frameCount()-1 |
imgDepth | Depth image of size width() x height(). Contains depth measurements in mm for valid pixels and zero for other pixels upon return. |
imgColor | Color image of size width() x height(). Contains color data in RGB-format upon return. |