#include <rgbd_image.h>
List of all members.
Detailed Description
Stores RGB+Depth data.
RGBDImage also stores a pointer on calibration data, and caches postprocessed data such as normals. The rawXXX accessors are the raw data extracted by a grabber. The other accessors refers to postprocessed data, e.g. after RGBDProcessor::processImage .
Constructor & Destructor Documentation
ntk::RGBDImage::RGBDImage |
( |
|
) |
[inline] |
Initialize from an viewXXXX directory.
Member Function Documentation
const cv::Mat1f& ntk::RGBDImage::amplitude |
( |
|
) |
const [inline] |
cv::Mat1f& ntk::RGBDImage::amplitudeRef |
( |
|
) |
[inline] |
Accessors to the amplitude image. Ignored with Kinect.
Associated optional calibration data.
void ntk::RGBDImage::copyTo |
( |
RGBDImage & |
other |
) |
const |
const cv::Mat1f& ntk::RGBDImage::depth |
( |
|
) |
const [inline] |
int ntk::RGBDImage::depthHeight |
( |
|
) |
const [inline] |
const cv::Mat1b& ntk::RGBDImage::depthMask |
( |
|
) |
const [inline] |
cv::Mat1b& ntk::RGBDImage::depthMaskRef |
( |
|
) |
[inline] |
Accessors to depth mask. This can be used to mark and filter out unreliable depth values.
cv::Mat1f& ntk::RGBDImage::depthRef |
( |
|
) |
[inline] |
Accessors to the postprocessed depth channel.
int ntk::RGBDImage::depthWidth |
( |
|
) |
const [inline] |
Size of the depth channel.
const std::string& ntk::RGBDImage::directory |
( |
|
) |
const [inline] |
Directory path if loaded from disk.
bool ntk::RGBDImage::hasDirectory |
( |
|
) |
const [inline] |
Whether the image was loaded from disk.
const cv::Mat1f& ntk::RGBDImage::intensity |
( |
|
) |
const [inline] |
cv::Mat1f& ntk::RGBDImage::intensityRef |
( |
|
) |
[inline] |
Accessors to the intensity image. Ignored with Kinect.
Load from a viewXXXX directory.
Load from a single color image. No depth data.
const cv::Mat1f& ntk::RGBDImage::mappedDepth |
( |
|
) |
const [inline] |
cv::Mat1f& ntk::RGBDImage::mappedDepthRef |
( |
|
) |
[inline] |
Accessors to the depth image aligned with the rgb camera. Has the same size as the rgb channel.
const cv::Mat3b& ntk::RGBDImage::mappedRgb |
( |
|
) |
const [inline] |
cv::Mat3b& ntk::RGBDImage::mappedRgbRef |
( |
|
) |
[inline] |
Accessors to the color image aligned with the depth camera. Has the same size as the depth channel.
const cv::Mat3f& ntk::RGBDImage::normal |
( |
|
) |
const [inline] |
cv::Mat3f& ntk::RGBDImage::normalRef |
( |
|
) |
[inline] |
const cv::Mat1f& ntk::RGBDImage::rawAmplitude |
( |
|
) |
const [inline] |
cv::Mat1f& ntk::RGBDImage::rawAmplitudeRef |
( |
|
) |
[inline] |
Accessors to the raw depth channel (ignored with Kinect).
const cv::Mat1f& ntk::RGBDImage::rawDepth |
( |
|
) |
const [inline] |
cv::Mat1f& ntk::RGBDImage::rawDepthRef |
( |
|
) |
[inline] |
Accessors to the raw depth channel.
const cv::Mat1f& ntk::RGBDImage::rawIntensity |
( |
|
) |
const [inline] |
cv::Mat1f& ntk::RGBDImage::rawIntensityRef |
( |
|
) |
[inline] |
Accessors to the raw intensity channel (ignored with Kinect).
const cv::Mat3b& ntk::RGBDImage::rawRgb |
( |
|
) |
const [inline] |
cv::Mat3b& ntk::RGBDImage::rawRgbRef |
( |
|
) |
[inline] |
Accessors to the raw rgb channel.
const cv::Mat3b& ntk::RGBDImage::rgb |
( |
|
) |
const [inline] |
const cv::Mat1b& ntk::RGBDImage::rgbAsGray |
( |
|
) |
const [inline] |
cv::Mat1b& ntk::RGBDImage::rgbAsGrayRef |
( |
|
) |
[inline] |
Accessors to the postprocessed color channel, as a gray image.
int ntk::RGBDImage::rgbHeight |
( |
|
) |
const [inline] |
bool ntk::RGBDImage::rgbPixelHasDepth |
( |
int |
r, |
|
|
int |
c | |
|
) |
| | const [inline] |
Whether this particular pixel has valid depth information
cv::Mat3b& ntk::RGBDImage::rgbRef |
( |
|
) |
[inline] |
Accessors to the postprocessed color channel.
int ntk::RGBDImage::rgbWidth |
( |
|
) |
const [inline] |
Size of the color channel.
void ntk::RGBDImage::setCalibration |
( |
const RGBDCalibration * |
calibration |
) |
[inline] |
Set an associated calibration data.
void ntk::RGBDImage::setDirectory |
( |
const std::string & |
dir |
) |
[inline] |
Set an associated viewXXXX directory.
The documentation for this class was generated from the following files:
- /home/hauberg/Dokumenter/Capture/humim-tracker-0.1/src/ntk/camera/rgbd_image.h
- /home/hauberg/Dokumenter/Capture/humim-tracker-0.1/src/ntk/camera/rgbd_image.cpp