Raytrix Light Field SDK  5.0
Logo
Rx::LFR::Net Namespace Reference

Namespaces

 AreaDetection
 
 Interfaces
 
 Params
 
 ParticleDetection
 

Classes

class  ApiLF
 API LF class. More...
 
class  Calibration
 Defines a single camera or ray image calibration, including a possible gray image. More...
 
class  CalibrationManager
 Provides methods for managing camera calibrations. This includes creating, loading and saving. More...
 
class  Camera
 A camera. More...
 
class  CameraServer
 A camera server. More...
 
class  CancelFlag
 
class  Cuda
 Provides information about the CUDA hardware in your system and enables access to available CUDA devices. More...
 
class  CudaCompute
 Provides methods for using a CUDA device as the computation unit of the LFR. More...
 
class  CudaDevice
 Provides methods for interacting with a certain CUDA device. More...
 
class  CudaHostImage
 An image implementation which is optimized to be used to transfer images from the host to a Cuda device. More...
 
class  Export
 Defines a single camera or ray image calibration, including a possible gray image. More...
 
class  ExtrinsicCalibration
 The extrinsic calibration class. More...
 
class  HighResolutionParticleDetector
 
class  ImageQueue
 Defines an image queue. More...
 
class  ImageStacking
 Provides information about the CUDA hardware in your system and enables access to available CUDA devices. More...
 
interface  IParameters
 Interface for accessing (setting and getting) parameter values of a certain class. More...
 
class  IPCamera
 The IP Camera. More...
 
class  LightFieldRuntime
 Provides methods for authenticating with the Light Field Runtime and for querying LFR parameters. More...
 
class  MetaData
 Extends the default image class by a set of meta data and a calibration. More...
 
class  NativeExceptionDelegate
 
class  NativeFailReportDelegate
 
class  NativeProgressDelegate
 
class  NativeStatusDelegate
 
class  OpenGlInterop
 Provides methods for using OpenGL contexts and textures. More...
 
class  RayFileReader
 Provides methods for reading a ray image from a ray file. More...
 
class  RayFileWriter
 Provides methods for writing a ray image to a ray file. More...
 
class  RayImage
 Extends the default image class by a set of meta data and a calibration. More...
 
class  SeqFileReader
 Provides methods for reading a ray sequence from a rays file. More...
 
class  SeqFileWriter
 Provides methods for writing frames into a sequence in a rays file. More...
 
class  SuperResolution
 
class  WavefrontCalibration
 Provides methods to perform the wavefront calibration. In general a calibration would comprise: More...
 

Enumerations

enum  EAreaDetectionMatchingMethod
 Enumeratives describing the template matching method. More...
 
enum  EImage
 Values that represent EImage. More...
 
enum  EImgStack
 Values that represent EImgStack. More...
 
enum  EMetricCalibPointFilter
 Values that represent EMetricCalibPointFilter. More...
 
enum  EMetricCalibPointType
 Values that represent EMetricCalibPointType. More...
 
enum  EMetricCalibResult
 Values that represent EMetricCalibResult. More...
 
enum  EMetricCalibType
 Values that represent EMetricCalibType. More...
 
enum  EParticleTrackingProgress
 Enumeratives indicating stage of progress report. I.e. 2D image processing, 3D estimation etc. More...
 
enum  ERaySeqMode
 Ray sequence file modes. These enums can be used as a bit mask to combine various modes. More...
 
enum  ESpace
 Possible spaces used in the projection system. More...
 
enum  EStatusMsg
 Values that represent EStatusMsg. More...
 
enum  EStatusMsgGrp
 Values that represent EStatusMsgGrp. More...
 
enum  EStatusMsgSrc
 Values that represent EStatusMsgSrc. More...
 

Functions

private delegate void _ImageCapturedHandlerNative (const CRxImage &xImage, unsigned uCamIdx, void *pvContext)
 Native handler of image captured events. More...
 
public delegate void CamImageAvailableHandler (unsigned uCamIdx)
 Handler of image captured events. More...
 
public delegate void ExceptionReportHandler (Rx::Net::RxException^ xExc)
 Particle tracking callbacks. More...
 
public delegate void FailReportHandler (Rx::Net::RxException^ xExc, System::UInt64 nTaskUID)
 
public delegate void NativeExceptionHandler (const Rx::CRxException &xExc, void *pvContext)
 
public delegate void NativeFailReportHandler (const Rx::CRxException &xExc, size_t nTaskUID, void *pvContext)
 
public delegate void NativeProgressReportHandler (EParticleTrackingProgress eProgressType, int iValue, size_t nTaskUID, bool &bCancelTask, void *pvContext)
 
private delegate void NativeStatusMessageHandler (Rx::LFR::EStatusMsgSrc::ID eSource, Rx::LFR::EStatusMsg::ID eMsg, const char *pcSourceName, const char *pcMessage, int iValue, void *pvContext)
 
public delegate void ProgressReportHandler (EParticleTrackingProgress eProgressType, System::Int32 iValue, System::UInt64 nTaskUID, CancelFlag^ xCancelFlag)
 
public delegate void StatusMessageHandler (Rx::LFR::Net::EStatusMsgSrc eSource, Rx::LFR::Net::EStatusMsg eMsg, System::String^ sSourceName, System::String^ sMessage, int iValue)
 

Enumeration Type Documentation

◆ EAreaDetectionMatchingMethod

Enumeratives describing the template matching method.

Enumerator
CV_TM_SQDIFF 

OpenCV SQDIFF template matching. Small values represent better matches.

CV_TM_SQDIFF_NORMED 

OpenCV SQDIFF template matching, normed between 0 and 1. Small values represent better matches.

CV_TM_CCORR 

OpenCV CCORR template matching. High values represent better matches.

CV_TM_CCORR_NORMED 

OpenCV CCORR template matching, normed between 0 and 1. High values represent better matches.

CV_TM_CCOEFF 

OpenCV CCOEFF template matching. High values represent better matches.

CV_TM_CCOEFF_NORMED 

OpenCV CCOEFF template matching. High values represent better matches.

◆ EImage

enum Rx::LFR::Net::EImage
strong

Values that represent EImage.

Enumerator
None 

No image.

Raw 

Raw image captured by camera.

Gray 

Gray image generated by MLI calibration.

Processed_Normalized 

Processed ray image. Raw image after applying all pre process algorithms such as debayer etc.

Grid 

Raw image containing the MLI/MLA calibration as a drawn overlay.

GridData 

Processed ray image.

RefocusBasic 

Basic refocus image. This is the output of the basic refocus algorithm and always from the perspective of the orthographic virtual view.

DepthRay 

Raw depth image without fusion.

DepthRayColored 

Colored Raw depth image.

TotalFocus_View_Virtual 

Total Focus image of virtual space.

TotalFocus_View_Object_Orthographic 

Total Focus result image.

DepthMap_View_Virtual 

Depth image in virtual space.

DepthMap_View_Object_Orthographic 

Depth result image.

DepthMapColored_View_Virtual 

Depth color result image for virtual space.

DepthMapColored_View_Object_Orthographic 

Depth color result image for view camera.

Multiview 

Multiview image. This is the output of the multi view algorithm and always from the perspective of the pinhole object view.

Depth3D_ViewVirtualUndistorted_To_Virtual 

3D Depth map. (R,G,B) represents (X,Y,Z) in MM mapped from ESpace::View_VirtualUndistorted to ESpace::Virtual. Alpha is Z in virtual depths of virtual space.

Depth3D_ViewVirtualUndistorted_To_Object 

3D Depth map. (R,G,B) represents (X,Y,Z) in MM mapped from ESpace::View_VirtualUndistorted to ESpace::Object. Alpha is Z in virtual depths of virtual space.

Depth3D_ViewVirtualUndistorted_To_Reference 

The 3D Depth map. (R,G,B) represents (X,Y,Z) in MM mapped from ESpace::View_VirtualUndistorted to ESpace::Reference. Alpha is Z in virtual depths of virtual space.

Depth3D_ViewObjectOrthographic_To_Virtual 

3D Depth map. (R,G,B) represents (X,Y,Z) in MM mapped from ESpace::View_Object_Orthographic to ESpace::Virtual. Alpha is Z in virtual depths of virtual space.

Depth3D_ViewObjectOrthographic_To_Object 

3D Depth map. (R,G,B) represents (X,Y,Z) in MM mapped from ESpace::View_Object_Orthographic to ESpace::Object. Alpha is Z in virtual depths of virtual space.

Depth3D_ViewObjectOrthographic_To_Reference 

The 3D Depth map. (R,G,B) represents (X,Y,Z) in MM mapped from ESpace::View_Object_Orthographic to ESpace::Reference. Alpha is Z in virtual depths of virtual space.

PointCloud_Virtual 

The point cloud image. (R,G,B) represents a 3D point (X,Y,Z) in MM in sensor coordinates of virtual space. Alpha is the 8 bit RGBA color of the point.

PointCloud_Object 

The point cloud image. (R,G,B) represents a 3D point (X,Y,Z) in MM in global coordinates of object space. Alpha is the 8 bit RGBA color of the point.

PointCloud_Reference 

The point cloud image. (R,G,B) represents a 3D point (X,Y,Z) in MM in global coordinates of reference space. Alpha is the 8 bit RGBA color of the point.

Mesh_Virtual 

The mesh image. (R,G,B) represents a 3D point (X,Y,Z) in MM in sensor coordinates of virtual space. Alpha is the 8 bit RGBA color of the point.

Mesh_Object 

The mesh image. (R,G,B) represents a 3D point (X,Y,Z) in MM in global coordinates of object space. Alpha is the 8 bit RGBA color of the point.

Mesh_Reference 

The mesh image. (R,G,B) represents a 3D point (X,Y,Z) in MM in global coordinates of reference space. Alpha is the 8 bit RGBA color of the point.

◆ EImgStack

Values that represent EImgStack.

Enumerator
None 

No stacking.

Mean 

Noise reduction by averaging the input images.

Add 

Increases the exposure rate by adding all images and clamp them on maximum intensity values.

◆ EMetricCalibPointFilter

Values that represent EMetricCalibPointFilter.

These enums are to be used as a filter when getting points from the metric calibration.

Enumerator
PlanarModelAll 

All points from the planar model.

PlanarModelWithDepth 

All points from the planar model with an accomplished depth calculation.

TestModelAll 

All points from the test model.

TestModelAllButAxes 

All points from the test model but those that lie on the axes.

TestModelAxisX 

All points from the test model that lie on the x-axis.

TestModelAxisY 

All points from the test model that lie on the y-axis.

◆ EMetricCalibPointType

Values that represent EMetricCalibPointType.

Enumerator
Model2dIX 

Index of points.

Model3dMM_m 

3D Point placed in the sensor coordinate system in mm.

Space2MM_s 

2D Point placed in the sensor coordinate system in mm.

Space2MM_g 

2D Point placed in the global coordinate system in mm.

Space4MM_g 

Point placed in the object coordinate system in mm.

Space4PlaneMM_g 

Point projected on the plane.

Model3dSpace4MM_g 

Model point in object space.

Space2VD_s 

2D Point placed in the sensor coordinate system and z in virtual depth.

ErrorByDepth 

The first entry is the virtual depth, the second is the mm depth in space 4 in the global coordinate system and the last value in the vector is the euclidean distance of the test model point to the ground truth model point after calibration.

◆ EMetricCalibResult

Values that represent EMetricCalibResult.

Enumerator
None 

None.

Converged 

The calibration has successfully converged.

Diverged 

The calibration diverged.

TooManyIterations 

The calibration aborted after too many iteration. This threshold can be set via: EMetricCalib::CalibrationIterationCount.

InsufficientData 

The calibration aborted because the data was insufficient.

UserInterrupt 

The calibration aborted because an user interrupt.

Error 

The calibration aborted because an error occurred.

InitialValues 

The calibration has been set to its initial values.

◆ EMetricCalibType

Values that represent EMetricCalibType.

Enumerator
None 

None.

PlaneBased 

The calibration based on a calibration setup that demands tilted dot target images that reach over a large part of the depth range.

BoxBased 

The calibration based on a calibration setup that demands straight dot target images that are moved along the z-axis with known steps.

◆ EParticleTrackingProgress

Enumeratives indicating stage of progress report. I.e. 2D image processing, 3D estimation etc.

Enumerator
ImageProcessing 
DepthMatching 
Grouping 
Estimation3D 
BGImage 
GRID 

◆ ERaySeqMode

Ray sequence file modes. These enums can be used as a bit mask to combine various modes.

Enumerator
None 

Empty ray sequence mode.

Read 

A ray sequence opened for reading.

Write 

A ray sequence opened for writing.

◆ ESpace

enum Rx::LFR::Net::ESpace
strong

Possible spaces used in the projection system.

Enumerator
Virtual 

The virtual space is a space inside the light field camera and is given in the light field camera's sensor frame.

VirtualUndistorted 

The undistorted virtual space is a space inside the light field camera and is given in the light field camera's sensor frame.

Object 

The object space is the space captured by the light field camera and is given in the global frame of the projection system.

Reference 

The reference space is defined by a reference plane and describes the 3D space in which measurements are taken.

View_VirtualUndistorted 

The undistorted virtual view is a orthographic projection of the virtual undistorted space. X and Y are given in pixels. Z is given in millimeters.

View_Object_Orthographic 

This view is a orthographic projection of the object space. X and Y are given in pixels. Z is given in millimeters.

◆ EStatusMsg

Values that represent EStatusMsg.

Enumerator
None 

Undefined.

Debug 

Debug message.

Info 

A message containing information.

QuickInfo 

A message containing brief information.

Error 

A message containing error information.

Assertion 

A message containing assertions.

Exception 

A message containing exception information.

Fatal 

A message containing fatal information.

Warning 

A message containing warnings.

Progress_Init 

The number of steps in the process is passed in the iValue parameter.

Progress_Value 

The new value of the progress is passed in the iValue parameter.

Progress_Step 

Increment the progress by the number passed in iValue.

Progress_Finished 

Process is finished.

Progress_DelayTick 

Progress step delayed. Delay time in seconds given by iValue.

Progress_DelayStop 

Progress step delay stopped.

◆ EStatusMsgGrp

Values that represent EStatusMsgGrp.

Enumerator
None 

Undefined.

Text 

Defines the Message group Text.

Progress 

Defines the Message group Progress –> Can be used to set a progress bar correctly.

◆ EStatusMsgSrc

Values that represent EStatusMsgSrc.

Enumerator
Unknown 

Undefined.

API 

Message originates from the API.

API_GrayCapture 

API Gray image capturing message.

Camera 

Message originates from camera.

CameraDriver 

Message originates from camera.

Compute 

Message originates from an algorithm.

App 

Message originates from an application.

MC_CalibrationProgress 

Message originates from the metric calibration.

MC_CreatingModelProgress 

Message originates from the metric calibration.

MC_Status 

Message originates from the metric calibration.

MC_AcceptedModels 

Message originates from the metric calibration.

GridCalib_Stage 

A stage of the grid calibration has been entered.

GridCalib_Iteration 

An iteration step of a grid calibration stage has been started.

GridCalib_RMSE 

The root mean square error of an grid calibration iteration has been calculated.

MasterCalib_Stage 

A stage of the master calibration has been entered.

MlaCalibrator 

An enum constant representing the MLA calibrator option.

PT_ImageProcessing 

.

PT_ParticleGrouping 
PT_Estimation3D 
PT_BackgroundImage 

Function Documentation

◆ _ImageCapturedHandlerNative()

private delegate void Rx::LFR::Net::_ImageCapturedHandlerNative ( const CRxImage xImage,
unsigned  uCamIdx,
void *  pvContext 
)

Native handler of image captured events.

Parameters
xImage[in] The captured image.
uCamIdx[in] The index of the camera in the camera server.
pvContext[in,out] The context registered with the callback.

◆ CamImageAvailableHandler()

public delegate void Rx::LFR::Net::CamImageAvailableHandler ( unsigned  uCamIdx)

Handler of image captured events.

Parameters
uCamIdxThe index of the camera in the camera server.

◆ ExceptionReportHandler()

public delegate void Rx::LFR::Net::ExceptionReportHandler ( Rx::Net::RxException^  xExc)

Particle tracking callbacks.

◆ FailReportHandler()

public delegate void Rx::LFR::Net::FailReportHandler ( Rx::Net::RxException^  xExc,
System::UInt64  nTaskUID 
)

◆ NativeExceptionHandler()

public delegate void Rx::LFR::Net::NativeExceptionHandler ( const Rx::CRxException xExc,
void *  pvContext 
)

◆ NativeFailReportHandler()

public delegate void Rx::LFR::Net::NativeFailReportHandler ( const Rx::CRxException xExc,
size_t  nTaskUID,
void *  pvContext 
)

◆ NativeProgressReportHandler()

public delegate void Rx::LFR::Net::NativeProgressReportHandler ( EParticleTrackingProgress  eProgressType,
int  iValue,
size_t  nTaskUID,
bool &  bCancelTask,
void *  pvContext 
)

◆ NativeStatusMessageHandler()

private delegate void Rx::LFR::Net::NativeStatusMessageHandler ( Rx::LFR::EStatusMsgSrc::ID  eSource,
Rx::LFR::EStatusMsg::ID  eMsg,
const char *  pcSourceName,
const char *  pcMessage,
int  iValue,
void *  pvContext 
)

◆ ProgressReportHandler()

public delegate void Rx::LFR::Net::ProgressReportHandler ( EParticleTrackingProgress  eProgressType,
System::Int32  iValue,
System::UInt64  nTaskUID,
CancelFlag xCancelFlag 
)

◆ StatusMessageHandler()

public delegate void Rx::LFR::Net::StatusMessageHandler ( Rx::LFR::Net::EStatusMsgSrc  eSource,
Rx::LFR::Net::EStatusMsg  eMsg,
System::String^  sSourceName,
System::String^  sMessage,
int  iValue 
)