TofImageGrabber class providing OpenCV images.
More...
#include <mitkToFOpenCVImageGrabber.h>
TofImageGrabber class providing OpenCV images.
Definition at line 33 of file mitkToFOpenCVImageGrabber.h.
◆ ToFOpenCVImageGrabber()
mitk::ToFOpenCVImageGrabber::ToFOpenCVImageGrabber |
( |
| ) |
|
◆ ~ToFOpenCVImageGrabber()
mitk::ToFOpenCVImageGrabber::~ToFOpenCVImageGrabber |
( |
| ) |
|
|
override |
◆ Clone()
Pointer mitk::ToFOpenCVImageGrabber::Clone |
( |
| ) |
const |
◆ GetImage()
cv::Mat mitk::ToFOpenCVImageGrabber::GetImage |
( |
| ) |
|
|
overridevirtual |
◆ GetToFImageGrabber()
get the ImageGrabber used for fetching image data from the camera
◆ MapScalars()
void mitk::ToFOpenCVImageGrabber::MapScalars |
( |
mitk::Image::Pointer |
mitkImage, |
|
|
IplImage * |
openCVImage |
|
) |
| |
|
protected |
map scalars through lookup table
- Parameters
-
mitkImage | current MITK image |
openCVImage | |
◆ mitkClassMacro()
◆ New()
static Pointer mitk::ToFOpenCVImageGrabber::New |
( |
| ) |
|
|
static |
◆ SetImageDepth()
void mitk::ToFOpenCVImageGrabber::SetImageDepth |
( |
unsigned int |
imageDepth | ) |
|
set the depth of the image. Some functions of OpenCV do not support IPL_DEPTH_32F. Warning: changing from default results in a mapping of the pixel value through a lookup table IPL_DEPTH_1U 1 IPL_DEPTH_8U 8 IPL_DEPTH_16U 16 IPL_DEPTH_32F 32 (Default)
◆ SetImageType()
void mitk::ToFOpenCVImageGrabber::SetImageType |
( |
unsigned int |
imageType | ) |
|
set type of image you want to grab. 0: Distance image (Default) 1: Amplitude image 2: Intensity image
◆ SetToFImageGrabber()
set the ImageGrabber used for fetching image data from the camera
◆ StartCapturing()
void mitk::ToFOpenCVImageGrabber::StartCapturing |
( |
| ) |
|
◆ StopCapturing()
void mitk::ToFOpenCVImageGrabber::StopCapturing |
( |
| ) |
|
◆ m_CurrentOpenCVAmplitudeImage
IplImage* mitk::ToFOpenCVImageGrabber::m_CurrentOpenCVAmplitudeImage |
|
protected |
◆ m_CurrentOpenCVDistanceImage
IplImage* mitk::ToFOpenCVImageGrabber::m_CurrentOpenCVDistanceImage |
|
protected |
◆ m_CurrentOpenCVIntensityImage
IplImage* mitk::ToFOpenCVImageGrabber::m_CurrentOpenCVIntensityImage |
|
protected |
◆ m_ImageDepth
unsigned int mitk::ToFOpenCVImageGrabber::m_ImageDepth |
|
protected |
image depth currently used by this image source. Warning: Changing from default (IPL_DEPTH_32F) results in a mapping of the pixel value through a lookup table
Definition at line 95 of file mitkToFOpenCVImageGrabber.h.
◆ m_ImageGrabber
◆ m_ImageType
unsigned int mitk::ToFOpenCVImageGrabber::m_ImageType |
|
protected |
The documentation for this class was generated from the following file: